diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-08-28 17:01:52 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:48:41 -0400 |
commit | 0ef6e49b75d0d64d5deab890c72d19fe86488f73 (patch) | |
tree | bc6c02c04ddbcbe9c52a5d3aa517e5adbeb20bb8 /include/net/mac80211.h | |
parent | 4dfd1d2f6aeeac67d17d6c22052ae3a86db85c0b (diff) |
[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: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 233444b46d9a..e635ca41a0df 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -463,14 +463,13 @@ struct ieee80211_hw { | |||
463 | 463 | ||
464 | /* TODO: frame_type 802.11/802.3, sw_encryption requirements */ | 464 | /* TODO: frame_type 802.11/802.3, sw_encryption requirements */ |
465 | 465 | ||
466 | /* Some wireless LAN chipsets generate beacons in the hardware/firmware | 466 | /* hole at 0 */ |
467 | * and others rely on host generated beacons. This option is used to | 467 | |
468 | * configure the upper layer IEEE 802.11 module to generate beacons. | 468 | /* |
469 | * The low-level driver can use ieee80211_beacon_get() to fetch the | 469 | * The device only needs to be supplied with a beacon template. |
470 | * next beacon frame. */ | 470 | * If you need the host to generate each beacon then don't use |
471 | #define IEEE80211_HW_HOST_GEN_BEACON (1<<0) | 471 | * this flag and use ieee80211_beacon_get(). |
472 | 472 | */ | |
473 | /* The device needs to be supplied with a beacon template only. */ | ||
474 | #define IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE (1<<1) | 473 | #define IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE (1<<1) |
475 | 474 | ||
476 | /* Some devices handle decryption internally and do not | 475 | /* Some devices handle decryption internally and do not |