[Click] nsclick patch: configuring wireless interface
Eddie Kohler
kohler at cs.ucla.edu
Wed Jun 28 13:15:40 EDT 2006
Thanks, applied!
E
Bart Braem wrote:
> Hello,
>
> Below you find a patch for the ns-2.29 patch. There seems to have been some
> change in the configuring of wireless nodes when adding interfaces, the
> topology is now required as an argument. With this patch you can use the demo
> nsclick tcl scripts again!
>
> Bart
>
> --- ns-2.29-patch.orig 2006-06-26 15:03:22.000000000 +0200
> +++ ns-2.29-patch 2006-06-26 15:03:47.000000000 +0200
> @@ -4403,7 +4403,7 @@
> + # "eth2" and so on.
> + #
> + $wireless_node_($i) add-interface $wireless_chan_ $prop_ $netll \
> -+ $wirelessmac $netifq 1 $wirelessphy $antenna
> ++ $wirelessmac $netifq 1 $wirelessphy $antenna $wtopo
> +
> + #
> + # Now configure the interface eth0
> @@ -4484,7 +4484,7 @@
> +$bridge_node_ add-wired-interface $wired_chan_ $netll $wiredmac \
> + $netifq 1 $wiredphy
> +$bridge_node_ add-interface $wireless_chan_ $prop_ $netll \
> -+ $wirelessmac $netifq 1 $wirelessphy $antenna
> ++ $wirelessmac $netifq 1 $wirelessphy $antenna $wtopo
> +
> +$bridge_node_ random-motion 0
> +$bridge_node_ topography $wtopo
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list