Bug 641 - CwMin setting for 802.11b
CwMin setting for 802.11b
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
ns-3-dev
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-17 04:58 UTC by Nicola Baldo
Modified: 2009-08-14 06:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Baldo 2009-07-17 04:58:20 UTC
Nicola wrote:
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". 


Basim wrote:
It seems to me that CwMin parameter is controlled by DcaTxop. Each MAC
handles its own DcaTxop.  Should we add a virtual function SetCwMin may
be added in WifiMac class? For non-QoS MACs, it seems that each mac has
only one DcaTxop and it is straightforward to add one. For QoS  MAC, it
seems that only beacon Dca needs to be set. Does this sound ok?


Gary wrote:
Here is what I see in DcaTxop:
[...] 
The default value of 15 was set at line 105. Why do you think that CwWin has nothing to do with DcaTxop?
 

Mathieu wrote:
1) you can't add a SetCwMin method on WifiMac because there can be more
than one DcaTxop per WifiMac and they should not have the same CwMin.

2) The DcaTxop parameters are initialized in the associated helpers in
src/helper. See QosWifiMacHelper::Default for example.

I don't have any bright idea right now of how this should be dealt with
and what we could do to make this both 'automatic' and flexible to do
something different. Ideas welcome.
Comment 1 Mathieu Lacage 2009-08-14 06:21:51 UTC
changeset 15221757964f