aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h28
1 files changed, 3 insertions, 25 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 38dc1cd10270..d10ed1776fcd 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -73,22 +73,6 @@
73 */ 73 */
74 74
75/** 75/**
76 * struct ieee80211_ht_bss_info - describing BSS's HT characteristics
77 *
78 * This structure describes most essential parameters needed
79 * to describe 802.11n HT characteristics in a BSS.
80 *
81 * @primary_channel: channel number of primery channel
82 * @bss_cap: 802.11n's general BSS capabilities (e.g. channel width)
83 * @bss_op_mode: 802.11n's BSS operation modes (e.g. HT protection)
84 */
85struct ieee80211_ht_bss_info {
86 u8 primary_channel;
87 u8 bss_cap; /* use IEEE80211_HT_IE_CHA_ */
88 u8 bss_op_mode; /* use IEEE80211_HT_IE_ */
89};
90
91/**
92 * enum ieee80211_max_queues - maximum number of queues 76 * enum ieee80211_max_queues - maximum number of queues
93 * 77 *
94 * @IEEE80211_MAX_QUEUES: Maximum number of regular device queues. 78 * @IEEE80211_MAX_QUEUES: Maximum number of regular device queues.
@@ -171,14 +155,6 @@ enum ieee80211_bss_change {
171}; 155};
172 156
173/** 157/**
174 * struct ieee80211_bss_ht_conf - BSS's changing HT configuration
175 * @operation_mode: HT operation mode (like in &struct ieee80211_ht_info)
176 */
177struct ieee80211_bss_ht_conf {
178 u16 operation_mode;
179};
180
181/**
182 * struct ieee80211_bss_conf - holds the BSS's changing parameters 158 * struct ieee80211_bss_conf - holds the BSS's changing parameters
183 * 159 *
184 * This structure keeps information about a BSS (and an association 160 * This structure keeps information about a BSS (and an association
@@ -203,6 +179,8 @@ struct ieee80211_bss_ht_conf {
203 * the current band. 179 * the current band.
204 * @bssid: The BSSID for this BSS 180 * @bssid: The BSSID for this BSS
205 * @enable_beacon: whether beaconing should be enabled or not 181 * @enable_beacon: whether beaconing should be enabled or not
182 * @ht_operation_mode: HT operation mode (like in &struct ieee80211_ht_info).
183 * This field is only valid when the channel type is one of the HT types.
206 */ 184 */
207struct ieee80211_bss_conf { 185struct ieee80211_bss_conf {
208 const u8 *bssid; 186 const u8 *bssid;
@@ -219,7 +197,7 @@ struct ieee80211_bss_conf {
219 u16 assoc_capability; 197 u16 assoc_capability;
220 u64 timestamp; 198 u64 timestamp;
221 u32 basic_rates; 199 u32 basic_rates;
222 struct ieee80211_bss_ht_conf ht; 200 u16 ht_operation_mode;
223}; 201};
224 202
225/** 203/**