diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 634c08de6acb..35643c55827a 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -646,10 +646,12 @@ struct ieee80211_if_init_conf { | |||
646 | * @IEEE80211_IFCC_BSSID: The BSSID changed. | 646 | * @IEEE80211_IFCC_BSSID: The BSSID changed. |
647 | * @IEEE80211_IFCC_BEACON: The beacon for this interface changed | 647 | * @IEEE80211_IFCC_BEACON: The beacon for this interface changed |
648 | * (currently AP and MESH only), use ieee80211_beacon_get(). | 648 | * (currently AP and MESH only), use ieee80211_beacon_get(). |
649 | * @IEEE80211_IFCC_BEACON_ENABLED: The enable_beacon value changed. | ||
649 | */ | 650 | */ |
650 | enum ieee80211_if_conf_change { | 651 | enum ieee80211_if_conf_change { |
651 | IEEE80211_IFCC_BSSID = BIT(0), | 652 | IEEE80211_IFCC_BSSID = BIT(0), |
652 | IEEE80211_IFCC_BEACON = BIT(1), | 653 | IEEE80211_IFCC_BEACON = BIT(1), |
654 | IEEE80211_IFCC_BEACON_ENABLED = BIT(2), | ||
653 | }; | 655 | }; |
654 | 656 | ||
655 | /** | 657 | /** |
@@ -657,6 +659,8 @@ enum ieee80211_if_conf_change { | |||
657 | * | 659 | * |
658 | * @changed: parameters that have changed, see &enum ieee80211_if_conf_change. | 660 | * @changed: parameters that have changed, see &enum ieee80211_if_conf_change. |
659 | * @bssid: BSSID of the network we are associated to/creating. | 661 | * @bssid: BSSID of the network we are associated to/creating. |
662 | * @enable_beacon: Indicates whether beacons can be sent. | ||
663 | * This is valid only for AP/IBSS/MESH modes. | ||
660 | * | 664 | * |
661 | * This structure is passed to the config_interface() callback of | 665 | * This structure is passed to the config_interface() callback of |
662 | * &struct ieee80211_hw. | 666 | * &struct ieee80211_hw. |
@@ -664,6 +668,7 @@ enum ieee80211_if_conf_change { | |||
664 | struct ieee80211_if_conf { | 668 | struct ieee80211_if_conf { |
665 | u32 changed; | 669 | u32 changed; |
666 | const u8 *bssid; | 670 | const u8 *bssid; |
671 | bool enable_beacon; | ||
667 | }; | 672 | }; |
668 | 673 | ||
669 | /** | 674 | /** |