diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index e69e6c66dd16..0dae6b382940 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -252,27 +252,6 @@ struct beacon_parameters { | |||
252 | }; | 252 | }; |
253 | 253 | ||
254 | /** | 254 | /** |
255 | * enum station_flags - station flags | ||
256 | * | ||
257 | * Station capability flags. Note that these must be the bits | ||
258 | * according to the nl80211 flags. | ||
259 | * | ||
260 | * @STATION_FLAG_CHANGED: station flags were changed | ||
261 | * @STATION_FLAG_AUTHORIZED: station is authorized to send frames (802.1X) | ||
262 | * @STATION_FLAG_SHORT_PREAMBLE: station is capable of receiving frames | ||
263 | * with short preambles | ||
264 | * @STATION_FLAG_WME: station is WME/QoS capable | ||
265 | * @STATION_FLAG_MFP: station uses management frame protection | ||
266 | */ | ||
267 | enum station_flags { | ||
268 | STATION_FLAG_CHANGED = 1<<0, | ||
269 | STATION_FLAG_AUTHORIZED = 1<<NL80211_STA_FLAG_AUTHORIZED, | ||
270 | STATION_FLAG_SHORT_PREAMBLE = 1<<NL80211_STA_FLAG_SHORT_PREAMBLE, | ||
271 | STATION_FLAG_WME = 1<<NL80211_STA_FLAG_WME, | ||
272 | STATION_FLAG_MFP = 1<<NL80211_STA_FLAG_MFP, | ||
273 | }; | ||
274 | |||
275 | /** | ||
276 | * enum plink_action - actions to perform in mesh peers | 255 | * enum plink_action - actions to perform in mesh peers |
277 | * | 256 | * |
278 | * @PLINK_ACTION_INVALID: action 0 is reserved | 257 | * @PLINK_ACTION_INVALID: action 0 is reserved |
@@ -294,14 +273,17 @@ enum plink_actions { | |||
294 | * @supported_rates: supported rates in IEEE 802.11 format | 273 | * @supported_rates: supported rates in IEEE 802.11 format |
295 | * (or NULL for no change) | 274 | * (or NULL for no change) |
296 | * @supported_rates_len: number of supported rates | 275 | * @supported_rates_len: number of supported rates |
297 | * @station_flags: station flags (see &enum station_flags) | 276 | * @sta_flags_mask: station flags that changed |
277 | * (bitmask of BIT(NL80211_STA_FLAG_...)) | ||
278 | * @sta_flags_set: station flags values | ||
279 | * (bitmask of BIT(NL80211_STA_FLAG_...)) | ||
298 | * @listen_interval: listen interval or -1 for no change | 280 | * @listen_interval: listen interval or -1 for no change |
299 | * @aid: AID or zero for no change | 281 | * @aid: AID or zero for no change |
300 | */ | 282 | */ |
301 | struct station_parameters { | 283 | struct station_parameters { |
302 | u8 *supported_rates; | 284 | u8 *supported_rates; |
303 | struct net_device *vlan; | 285 | struct net_device *vlan; |
304 | u32 station_flags; | 286 | u32 sta_flags_mask, sta_flags_set; |
305 | int listen_interval; | 287 | int listen_interval; |
306 | u16 aid; | 288 | u16 aid; |
307 | u8 supported_rates_len; | 289 | u8 supported_rates_len; |