diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-05-08 14:47:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-11 15:23:57 -0400 |
commit | 9ed6bcce77f75d98af6ee07069deac6041948bee (patch) | |
tree | 9fff3d257612ed049b28a80681fbd987f4de3ec4 /include/net/mac80211.h | |
parent | 5a9940118a616266183c53a9ee4352feadb9c2e8 (diff) |
mac80211: move HT operation mode BSS info
There really is no need to have a separate struct for a
single variable. The fact that it exists is due to the
code legacy, but we can remove that now. Very simple.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 38dc1cd10270..03591fcf519c 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -171,14 +171,6 @@ enum ieee80211_bss_change { | |||
171 | }; | 171 | }; |
172 | 172 | ||
173 | /** | 173 | /** |
174 | * struct ieee80211_bss_ht_conf - BSS's changing HT configuration | ||
175 | * @operation_mode: HT operation mode (like in &struct ieee80211_ht_info) | ||
176 | */ | ||
177 | struct ieee80211_bss_ht_conf { | ||
178 | u16 operation_mode; | ||
179 | }; | ||
180 | |||
181 | /** | ||
182 | * struct ieee80211_bss_conf - holds the BSS's changing parameters | 174 | * struct ieee80211_bss_conf - holds the BSS's changing parameters |
183 | * | 175 | * |
184 | * This structure keeps information about a BSS (and an association | 176 | * This structure keeps information about a BSS (and an association |
@@ -203,6 +195,8 @@ struct ieee80211_bss_ht_conf { | |||
203 | * the current band. | 195 | * the current band. |
204 | * @bssid: The BSSID for this BSS | 196 | * @bssid: The BSSID for this BSS |
205 | * @enable_beacon: whether beaconing should be enabled or not | 197 | * @enable_beacon: whether beaconing should be enabled or not |
198 | * @ht_operation_mode: HT operation mode (like in &struct ieee80211_ht_info). | ||
199 | * This field is only valid when the channel type is one of the HT types. | ||
206 | */ | 200 | */ |
207 | struct ieee80211_bss_conf { | 201 | struct ieee80211_bss_conf { |
208 | const u8 *bssid; | 202 | const u8 *bssid; |
@@ -219,7 +213,7 @@ struct ieee80211_bss_conf { | |||
219 | u16 assoc_capability; | 213 | u16 assoc_capability; |
220 | u64 timestamp; | 214 | u64 timestamp; |
221 | u32 basic_rates; | 215 | u32 basic_rates; |
222 | struct ieee80211_bss_ht_conf ht; | 216 | u16 ht_operation_mode; |
223 | }; | 217 | }; |
224 | 218 | ||
225 | /** | 219 | /** |