beacon backoff configuration like the 802.11 standard describes
authorbr1 <br1@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 22 Jan 2008 07:04:39 +0000 (07:04 +0000)
committerbr1 <br1@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 22 Jan 2008 07:04:39 +0000 (07:04 +0000)
in "11.1.2.2 Beacon generation in an IBSS" the IEEE802.11 standard says, each
STA should...

"b) Calculate a random delay uniformly distributed in the range between zero
and twice aCWmin × aSlotTime,"

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3232 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath.c

index f00dbaa8d862d63cd459e976d289e8d91e0d636d..7a413afb7b12f0e9b7ad29c55f62d38401016fe6 100644 (file)
@@ -4328,8 +4328,8 @@ ath_beaconq_config(struct ath_softc *sc)
                 * Adhoc mode; important thing is to use 2x cwmin.
                 */
                qi.tqi_aifs = wmep->wmep_aifsn;
-               qi.tqi_cwmin = 2 * ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmin);
-               qi.tqi_cwmax = ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmax);
+               qi.tqi_cwmin = 0;
+               qi.tqi_cwmax = 2 * ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmin);
        }
 
        DPRINTF(sc, ATH_DEBUG_BEACON_PROC,