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>
This commit is contained in:

committed by
John W. Linville

parent
7ec3e514d9
commit
8089cc47ed
@@ -633,6 +633,7 @@ struct ath_wiphy {
|
||||
ATH_WIPHY_ACTIVE,
|
||||
ATH_WIPHY_PAUSING,
|
||||
ATH_WIPHY_PAUSED,
|
||||
ATH_WIPHY_SCAN,
|
||||
} state;
|
||||
int chan_idx;
|
||||
int chan_is_ht;
|
||||
@@ -716,5 +717,6 @@ void ath9k_wiphy_chan_work(struct work_struct *work);
|
||||
bool ath9k_wiphy_started(struct ath_softc *sc);
|
||||
void ath9k_wiphy_pause_all_forced(struct ath_softc *sc,
|
||||
struct ath_wiphy *selected);
|
||||
bool ath9k_wiphy_scanning(struct ath_softc *sc);
|
||||
|
||||
#endif /* ATH9K_H */
|
||||
|
Reference in New Issue
Block a user