From: br1 Date: Tue, 22 Jan 2008 07:04:39 +0000 (+0000) Subject: beacon backoff configuration like the 802.11 standard describes X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=c585507798db8549842b286b2731feabcfb67a5b;p=madwifi%2F.git beacon backoff configuration like the 802.11 standard describes 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 --- diff --git a/ath/if_ath.c b/ath/if_ath.c index f00dbaa..7a413af 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -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,