]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Handle TSF properly for AP mode
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 3 Mar 2009 04:46:56 +0000 (10:16 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:42 +0000 (14:39 -0500)
commit7bdbbcc07603a94281e59e0754973fcb15c2faaf
treeb9cd8add0647c0ce98959710d682191300a71a9b
parentcec06c812df5966a730a406fbf1be4525d172094
ath9k: Handle TSF properly for AP mode

The TSF has to be reset only once, upon bringing
the interface up in AP mode. For any beacon reconfigure calls
after that, resetting the TSF results in incorrect beacon generation.
The only exception is a change in the beacon interval,
which is indicated to the driver by mac80211 through
IEEE80211_CONF_CHANGE_BEACON_INTERVAL, handle this properly.

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