Change the value of dataRate_ in Mac/802_11

View: New views
2 Messages — Rating Filter:   Alert me  

Change the value of dataRate_ in Mac/802_11

by El hadi Cherkaoui :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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




     

Parent Message unknown Re: Change the value of dataRate_ in Mac/802_11

by David Ross-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
>
>
>
>
>      
>