[Ns-developers] 802.11 10Mhz Channel

Nicola Baldo nbaldo at cttc.es
Thu Jul 16 09:02:52 PDT 2009


Also CwMin should be set to 31 (instead of 15) when using 802.11b.
See IEEE Std. 802.11-2007, section 15.3.3 "DS PHY characteristics".

Nicola

Pei, Guangyu wrote:
> Hi,
> 
> I double-checked the standard. I believe the following settings are correct.
> 
> +WifiMac::Configure80211b (void)
> +{
> +  SetSifs(MicroSeconds(10));
> +  SetSlot(MicroSeconds(20));
> +  SetEifsNoDifs(MicroSeconds(10+304));
> +  SetPifs(MicroSeconds(10+20));
> +  SetCtsTimeout(MicroSeconds(10+304+20+GetDefaultMaxPropagationDelay().GetMicroSeconds ()*2));
> +  SetAckTimeout(MicroSeconds(10+304+20+GetDefaultMaxPropagationDelay().GetMicroSeconds ()*2)); 
> +} 
> 
> In particular, I believe 304 is the Ack Tx time = AckSize + PLCP Preamble + PCLP Header = 8*14 + 144 + 48 = 304 
> 
> Thanks,
> 
> Gary
> 
>> -----Original Message-----
>> From: Ramon Bauza [mailto:monbauza at gmail.com] 
>> Sent: Monday, July 13, 2009 3:22 AM
>> To: Mathieu Lacage
>> Cc: ns-developers at ISI.EDU
>> Subject: Re: [Ns-developers] 802.11 10Mhz Channel
>>
>> Hi,
>>
>> Thank you for your comments. Please find the new patch 
>> modified accordingly to your suggestions. Now, WifiMacHelpers 
>> remain the same way as in ns-3-dev.
>> I have also added the Configure80211b method to configure MAC 
>> parameters.
>> However, I would like someone to review the parameters, since 
>> I am not very familiar with the 802.11b specification.  As 
>> Std 802.11-2007 states (page 654), I have considered:
>>
>> - SlotTime = 20us
>> - SIFS = 10us
>>
>> Ramon.
>>


More information about the Ns-developers mailing list