Are you setting it *before* creating the nodes?
If dataRate_ is not set when the nodes are created, they use bandwidth_ (defaults to 1Mb) instead.
- David Ross.
El hadi Cherkaoui wrote:
> hi all,
>
> i want to change via tcl the value of rate in Mac/802_11 ...
>
> For exemple when i set :
> Mac/802_11 set dataRate_ 1Mb
> the dataRate is really 1 Mb but after if i want to change the datarate to 2Mb
> Mac/802_11 set dataRate_ 2Mb
>
> the value of dataRate_ is still 1Mb
>
> What's wrong with this ?
> thanx
>
>
>
>
>
>