]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitb238e90e99fe51aed14d20eae8a6a1c04ce4ca30
treeb9cd8add0647c0ce98959710d682191300a71a9b
parent5379c8a26686e12058e23322615df68f9123bccd
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