ath5k: configure backoff for IBSS beacon queue
authorBruno Randolf <bruno@thinktube.com>
Sat, 19 Jan 2008 09:18:41 +0000 (18:18 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:53 +0000 (15:10 -0800)
commit6d91e1d80822da1c3e790bfbe8df432360fd7f68
treecabcf6c28d7e25a45d68419d65a2e748973a62f7
parent036cd1ec038f7e3a36740beaf2aa4a0d2e8ed2c1
ath5k: configure backoff for IBSS beacon queue

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,".

configure cwmin and cwmax of the beacon queue in IBSS mode according to this.
unfortunately beacon backoff does not work reliably yet, so i suspect we have a
problem somewhere else, since the same settings (and similar beacon timer
configuration) work for madwifi.

drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Bruno Randolf <bruno@thinktube.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c