ath9k: enable CSA functionality in ath9k
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Wed, 14 Aug 2013 06:01:38 +0000 (08:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Aug 2013 18:17:50 +0000 (14:17 -0400)
commitd074e8d547853cc8b40cf93a460e8fbf9eaa3d00
tree9b7285946795fb7ed20336770453ec7b16822db9
parent4d70f2fbe12118c5526a1d761f8ef562cecbbc2c
ath9k: enable CSA functionality in ath9k

CSA is only enabled for one interface, but the same limitation applies
for mac80211 too. It checks whether the beacon has been sent (different
approaches for non-EDMA-enabled and EDMA-enabled devices), and completes
the channel switch after that.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
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/init.c
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c