diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-06 17:57:57 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-11 12:45:01 -0500 |
commit | f1e3e0515646dd0f4c783c1c39839d2706501344 (patch) | |
tree | 99705c7a8991863624415ac96fdf27f773fbc224 /include/net/mac80211.h | |
parent | 09b85568c142fc1c776dea86a24fcb05f0eeb48b (diff) |
mac80211: remove IEEE80211_HW_SCAN_WHILE_IDLE
There are only a few drivers that use HW scan, and
all of those don't need a non-idle transition before
starting the scan -- some don't even care about idle
at all. Remove the flag and code associated with it.
The only driver that really actually needed this is
wl1251 and it can just do it itself in the hw_scan
callback -- implement that.
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 8d25769b3259..86ad2c341525 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1363,10 +1363,6 @@ struct ieee80211_tx_control { | |||
1363 | * setup strictly in HW. mac80211 should not attempt to do this in | 1363 | * setup strictly in HW. mac80211 should not attempt to do this in |
1364 | * software. | 1364 | * software. |
1365 | * | 1365 | * |
1366 | * @IEEE80211_HW_SCAN_WHILE_IDLE: The device can do hw scan while | ||
1367 | * being idle (i.e. mac80211 doesn't have to go idle-off during the | ||
1368 | * the scan). | ||
1369 | * | ||
1370 | * @IEEE80211_HW_WANT_MONITOR_VIF: The driver would like to be informed of | 1366 | * @IEEE80211_HW_WANT_MONITOR_VIF: The driver would like to be informed of |
1371 | * a virtual monitor interface when monitor interfaces are the only | 1367 | * a virtual monitor interface when monitor interfaces are the only |
1372 | * active interfaces. | 1368 | * active interfaces. |
@@ -1408,7 +1404,6 @@ enum ieee80211_hw_flags { | |||
1408 | IEEE80211_HW_SUPPORTS_PER_STA_GTK = 1<<21, | 1404 | IEEE80211_HW_SUPPORTS_PER_STA_GTK = 1<<21, |
1409 | IEEE80211_HW_AP_LINK_PS = 1<<22, | 1405 | IEEE80211_HW_AP_LINK_PS = 1<<22, |
1410 | IEEE80211_HW_TX_AMPDU_SETUP_IN_HW = 1<<23, | 1406 | IEEE80211_HW_TX_AMPDU_SETUP_IN_HW = 1<<23, |
1411 | IEEE80211_HW_SCAN_WHILE_IDLE = 1<<24, | ||
1412 | IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 1<<25, | 1407 | IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 1<<25, |
1413 | IEEE80211_HW_TIMING_BEACON_ONLY = 1<<26, | 1408 | IEEE80211_HW_TIMING_BEACON_ONLY = 1<<26, |
1414 | }; | 1409 | }; |