aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/ath9k.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-03 12:23:38 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-03-05 14:39:47 -0500
commit8089cc47ed45df8f5a44f92f53140e6fd0958409 (patch)
treefca7ceab8f501e906d84e56a4560dd764b841637 /drivers/net/wireless/ath9k/ath9k.h
parent7ec3e514d9361596cbd8aa71ce41d6e5b0220103 (diff)
ath9k: Special processing for channel changes during scan
Allow mac80211-controlled channel changes on an active wiphy and especially during a scan. We need this as long as the scan is controlled by mac80211. Moving this control into the driver could allow some optimizations on scanning while using multiple virtual interfaces, but for now, try to work as well as possible with the current scan mechanism. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath9k/ath9k.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h
index 4fc054e4354f..983f53daa1cc 100644
--- a/drivers/net/wireless/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath9k/ath9k.h
@@ -633,6 +633,7 @@ struct ath_wiphy {
633 ATH_WIPHY_ACTIVE, 633 ATH_WIPHY_ACTIVE,
634 ATH_WIPHY_PAUSING, 634 ATH_WIPHY_PAUSING,
635 ATH_WIPHY_PAUSED, 635 ATH_WIPHY_PAUSED,
636 ATH_WIPHY_SCAN,
636 } state; 637 } state;
637 int chan_idx; 638 int chan_idx;
638 int chan_is_ht; 639 int chan_is_ht;
@@ -716,5 +717,6 @@ void ath9k_wiphy_chan_work(struct work_struct *work);
716bool ath9k_wiphy_started(struct ath_softc *sc); 717bool ath9k_wiphy_started(struct ath_softc *sc);
717void ath9k_wiphy_pause_all_forced(struct ath_softc *sc, 718void ath9k_wiphy_pause_all_forced(struct ath_softc *sc,
718 struct ath_wiphy *selected); 719 struct ath_wiphy *selected);
720bool ath9k_wiphy_scanning(struct ath_softc *sc);
719 721
720#endif /* ATH9K_H */ 722#endif /* ATH9K_H */