[ns] 802_11 Bandwidth issue

Matthias Wellens mwe at mobnets.rwth-aachen.de
Fri Feb 27 00:01:14 PST 2004



Hi,

>Hello all,
>   I think it would really be useful for someone to
>address the question of how to change the bandwidth of
>wireless simulation in ns-2. This question has
>appeared numerous times (I also asked the same
>question a few days ago). The answers offered do not
>seem to work for some. Is that a version issue? Is it
>that the offered suggestions like that of Mr. Saikat
>(below) apply to only certain versions of ns? I
>request someone (perhaps the ns-2 developers) to
>address this problem.
>Thanks
>Mohammed, Ahamed.
>  

This question is definitely depending on which version you use.

In ns2.26 and I suppose also in ns2.27 (I don't know the new version in 
detail) the following lines work:
Mac/802_11 set basicRate_ 1Mb
Mac/802_11 set dataRate_  11Mb

This new mechanism substitutes the former used variables bandwidth at 
PHY and MAC-layer.
These old variables were used in older versions of ns2. I'm not sure in 
which version the new mechanism was introduced.
However, an always working answer to the bandwidth/datarate question is 
not possible, but for more exact descriptions you should check the 
mailinglist archives. I'm sure that there was a similar discussion some 
months ago. There are numerous questions like yours so that it will take 
a bit of time to check all these postings, but there are definitely some 
answers, too.

Hope this helps at least a bit,
Matthias

-- 
Matthias Wellens
Research Student
Department of Wireless Networks
Aachen University
Germany

Email:   mwe at mobnets.rwth-aachen.de
Address: Kackertstrasse 9
          D-52072 Aachen
          Germany





-- 
Matthias Wellens
Research Student
Department of Wireless Networks
Aachen University
Germany

Email:   mwe at mobnets.rwth-aachen.de
Address: Kackertstrasse 9
          D-52072 Aachen
          Germany





More information about the Ns-users mailing list