Parameters for 802.11b on NS 2.33/802.11Ext

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

Parameters for 802.11b on NS 2.33/802.11Ext

by rvannier () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does anyone have good parameters to simulate a 802.11b interface card with the new 802.11Ext layer ?

I tried to use the parameters I used in NS-2.31, but the results now are very different (mainly because there is no more RXTresh_). With these parameters, nodes can communicate even at carrier sensing range (although the carrier sensing range should be 2 to 3 times the communication range). So I tried with the default Phy/WirelessPhyExt parameters and the results are similar (but for the communication range, since the transmission power changes)

These are the parameters I use. They were taken from the specifications of an Avaya card :

set val(chan)           Channel/WirelessChannel    ;#Channel Type
set val(prop)           Propagation/TwoRayGround   ;# radio-propagation model
set val(netif)          Phy/WirelessPhyExt            ;# network interface type
set val(mac)            Mac/802_11Ext                ;# MAC type
set val(ifq)            Queue/DropTail/PriQueue    ;# interface queue type
set val(ll)             LL                         ;# link layer type
set val(ant)            Antenna/OmniAntenna        ;# antenna model
set val(ifqlen)         50                         ;# max packet in ifq

 Phy/WirelessPhyExt set CSThresh_     6.309573444801943e-12
Phy/WirelessPhyExt set Pt_           0.031
Phy/WirelessPhyExt set freq_         2.457e9
Phy/WirelessPhyExt set L_            1.0
Phy/WirelessPhyExt set bandwidth_    11e6
Phy/WirelessPhyExt set trace_dist 400;
Phy/WirelessPhyExt set BasicModulationScheme_ 0        ;# BPSK

Mac/802_11Ext  set dataRate_ 11Mb
Mac/802_11Ext  set CWMin_                 31
Mac/802_11Ext  set CWMax_                 1023
Mac/802_11Ext  set SlotTime_              0.000020
Mac/802_11Ext  set SIFS_                  0.000010
Mac/802_11Ext  set PreambleLength_        144
Mac/802_11Ext  set PLCPHeaderLength_      48
Mac/802_11Ext  set PLCPDataRate_          1.0e6
Mac/802_11Ext  set RTSThreshold_          2000
Mac/802_11Ext  set ShortRetryLimit_       7
Mac/802_11Ext  set LongRetryLimit_        4


Thanks for your help !

Re: Parameters for 802.11b on NS 2.33/802.11Ext

by PeterCh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!
I have the same question,
maybe someone could help?

Thanks


rvannier wrote:
Does anyone have good parameters to simulate a 802.11b interface card with the new 802.11Ext layer ?

I tried to use the parameters I used in NS-2.31, but the results now are very different (mainly because there is no more RXTresh_). With these parameters, nodes can communicate even at carrier sensing range (although the carrier sensing range should be 2 to 3 times the communication range). So I tried with the default Phy/WirelessPhyExt parameters and the results are similar (but for the communication range, since the transmission power changes)

These are the parameters I use. They were taken from the specifications of an Avaya card :

set val(chan)           Channel/WirelessChannel    ;#Channel Type
set val(prop)           Propagation/TwoRayGround   ;# radio-propagation model
set val(netif)          Phy/WirelessPhyExt            ;# network interface type
set val(mac)            Mac/802_11Ext                ;# MAC type
set val(ifq)            Queue/DropTail/PriQueue    ;# interface queue type
set val(ll)             LL                         ;# link layer type
set val(ant)            Antenna/OmniAntenna        ;# antenna model
set val(ifqlen)         50                         ;# max packet in ifq

 Phy/WirelessPhyExt set CSThresh_     6.309573444801943e-12
Phy/WirelessPhyExt set Pt_           0.031
Phy/WirelessPhyExt set freq_         2.457e9
Phy/WirelessPhyExt set L_            1.0
Phy/WirelessPhyExt set bandwidth_    11e6
Phy/WirelessPhyExt set trace_dist 400;
Phy/WirelessPhyExt set BasicModulationScheme_ 0        ;# BPSK

Mac/802_11Ext  set dataRate_ 11Mb
Mac/802_11Ext  set CWMin_                 31
Mac/802_11Ext  set CWMax_                 1023
Mac/802_11Ext  set SlotTime_              0.000020
Mac/802_11Ext  set SIFS_                  0.000010
Mac/802_11Ext  set PreambleLength_        144
Mac/802_11Ext  set PLCPHeaderLength_      48
Mac/802_11Ext  set PLCPDataRate_          1.0e6
Mac/802_11Ext  set RTSThreshold_          2000
Mac/802_11Ext  set ShortRetryLimit_       7
Mac/802_11Ext  set LongRetryLimit_        4


Thanks for your help !

Parent Message unknown Re: Parameters for 802.11b on NS 2.33/802.11Ext

by Mohammad Haseeb Zafar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


 
Forwarded to the authors of new 802.11Ext. Please reply on the ns user mailing list.
________________________________

From: ns-users-bounces@... on behalf of PeterCh
Sent: Wed 26/11/2008 12:17 PM
To: ns-users@...
Subject: Re: [ns] Parameters for 802.11b on NS 2.33/802.11Ext





Hello!
I have the same question,
maybe someone could help?

Thanks



rvannier wrote:

>
> Does anyone have good parameters to simulate a 802.11b interface card with
> the new 802.11Ext layer ?
>
> I tried to use the parameters I used in NS-2.31, but the results now are
> very different (mainly because there is no more RXTresh_). With these
> parameters, nodes can communicate even at carrier sensing range (although
> the carrier sensing range should be 2 to 3 times the communication range).
> So I tried with the default Phy/WirelessPhyExt parameters and the results
> are similar (but for the communication range, since the transmission power
> changes)
>
> These are the parameters I use. They were taken from the specifications of
> an Avaya card :
>
> set val(chan)           Channel/WirelessChannel    ;#Channel Type
> set val(prop)           Propagation/TwoRayGround   ;# radio-propagation
> model
> set val(netif)          Phy/WirelessPhyExt            ;# network interface
> type
> set val(mac)            Mac/802_11Ext                ;# MAC type
> set val(ifq)            Queue/DropTail/PriQueue    ;# interface queue type
> set val(ll)             LL                         ;# link layer type
> set val(ant)            Antenna/OmniAntenna        ;# antenna model
> set val(ifqlen)         50                         ;# max packet in ifq
>
>  Phy/WirelessPhyExt set CSThresh_     6.309573444801943e-12
> Phy/WirelessPhyExt set Pt_           0.031
> Phy/WirelessPhyExt set freq_         2.457e9
> Phy/WirelessPhyExt set L_            1.0
> Phy/WirelessPhyExt set bandwidth_    11e6
> Phy/WirelessPhyExt set trace_dist     400;
> Phy/WirelessPhyExt set BasicModulationScheme_ 0        ;# BPSK
>
> Mac/802_11Ext  set dataRate_ 11Mb
> Mac/802_11Ext  set CWMin_                 31
> Mac/802_11Ext  set CWMax_                 1023
> Mac/802_11Ext  set SlotTime_              0.000020
> Mac/802_11Ext  set SIFS_                  0.000010
> Mac/802_11Ext  set PreambleLength_        144
> Mac/802_11Ext  set PLCPHeaderLength_      48
> Mac/802_11Ext  set PLCPDataRate_          1.0e6
> Mac/802_11Ext  set RTSThreshold_          2000
> Mac/802_11Ext  set ShortRetryLimit_       7
> Mac/802_11Ext  set LongRetryLimit_        4
>
>
> Thanks for your help !
>

--
View this message in context: http://www.nabble.com/Parameters-for-802.11b-on-NS-2.33-802.11Ext-tp18010313p20699501.html
Sent from the ns-users mailing list archive at Nabble.com.