ath9k: Ensure a fair beacon distribution in IBSS mode.
authorVivek Natarajan <vnatarajan@atheros.com>
Wed, 25 Nov 2009 06:31:54 +0000 (12:01 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Nov 2009 20:04:52 +0000 (15:04 -0500)
commit94db29368a658b13a088db87c7b0bf59b1a7492d
tree5d6a5a2f8d4d31c0ed29d0f464200587b4a05253
parentf4709fdf683e1ed37b321c258b614ebe39752bf3
ath9k: Ensure a fair beacon distribution in IBSS mode.

Update the beacon queue parameters with best effort queue parameters for
IBSS mode. This reduces the number of beacons generated by ath9k and
ensures a fair beacon distribution when there are multiple IBSS stations.
Also CWmin is quadrupled to achieve the expected percentage of
distribution.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/main.c