Commit 0ef6e49b authored by Johannes Berg's avatar Johannes Berg Committed by David S. Miller

[MAC80211]: remove IEEE80211_HW_HOST_GEN_BEACON flag

The flag is never checked because drivers can simply call
ieee80211_beacon_get() regardless of setting this flag.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Acked-by: default avatarMichael Wu <flamingice@sourmilk.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4dfd1d2f
...@@ -463,14 +463,13 @@ struct ieee80211_hw { ...@@ -463,14 +463,13 @@ struct ieee80211_hw {
/* TODO: frame_type 802.11/802.3, sw_encryption requirements */ /* TODO: frame_type 802.11/802.3, sw_encryption requirements */
/* Some wireless LAN chipsets generate beacons in the hardware/firmware /* hole at 0 */
* and others rely on host generated beacons. This option is used to
* configure the upper layer IEEE 802.11 module to generate beacons. /*
* The low-level driver can use ieee80211_beacon_get() to fetch the * The device only needs to be supplied with a beacon template.
* next beacon frame. */ * If you need the host to generate each beacon then don't use
#define IEEE80211_HW_HOST_GEN_BEACON (1<<0) * this flag and use ieee80211_beacon_get().
*/
/* The device needs to be supplied with a beacon template only. */
#define IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE (1<<1) #define IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE (1<<1)
/* Some devices handle decryption internally and do not /* Some devices handle decryption internally and do not
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment