]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: configure beacons based on hw opmode
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 4 Apr 2011 17:26:19 +0000 (22:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:49:40 +0000 (15:49 -0400)
commit0ca53e4cc58624a53d3100e19c929f7585f8c52a
tree35f19c1d608a4abff349f68529f8e8ce817837cc
parent415e8eb5c069a72af044432fb3cc06c68d99c68b
ath9k: configure beacons based on hw opmode

Current ath9k code does not handle beacon timers on opmode
specific. One such example is that a STA beacon config overwrites
already configured AP vif's beacon timers during scan.

On multi station vif case, configure beacon timers beased
on primary vif selected. This also helps while moving back
to single STA vif from multi STA vifs, where the power save
is enabled and hw has to be reconfigured with proper
beacon and bssid/aid. Otherwise connection poll will be triggered
so frequently due to beacon loss.

Signed-off-by: Rajkumar Manoharan <rmanoharan@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
drivers/net/wireless/ath/ath9k/recv.c