[ns] Link adaptation in ns-2

ryan m smarts40 at gmail.com
Fri Dec 14 06:44:01 PST 2007


Here's a link to a mac implementation that will do that

http://www.dei.unipd.it/wdyn/?IDsezione=5090

take a look at the infrastruct_rate_adaptation.tcl file in the samples
directory, and this should give you a good start.

If you want to simulate a 802.11b network (which is what you want to
do sounds like it make sure to change
$per loadPERTable80211gTrivellato

so it loads the b table which is
per_table_80211b_intersil_HFA3861B.tcl in the src directory of the
dei80211mr distribution

also pay attention to
$bs_mac  basicMode_ Mode6Mb
$bs_mac  dataMode_ Mode6Mb

from the sounds of it you'll want to change this to

$bs_mac  basicMode_ Mode1Mb
$bs_mac  dataMode_ Mode11Mb

for doing a 802.11b network, the rates you can choose here in doing a
b network are listed in the per_table_80211b_intersil_HFA3861B.tcl
file I mentioned before.

good luck,
Ryan

On Dec 14, 2007 3:50 AM, Alex Chpenst <qnx at mail.ru> wrote:
>
> Hi!
>
> One very short question:
>
> Suppose a wireless scenario where a station moves away from the access point. In practice, the PHY transmission rate is dropping as the distance increases and signal strength decreases (e.g. from 11Mbps to 5.5Mbps, then to 2Mbps and then to 1Mbps).
>
> Is this link adaptation implemented in ns?
>
> Thanks for any answers or links!
>
> Alex.
>
>



More information about the Ns-users mailing list