diff options
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 447c02a5190e..0c1147de3ec7 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -207,6 +207,9 @@ enum nl80211_commands { | |||
207 | * @NL80211_ATTR_BSS_SHORT_SLOT_TIME: whether short slot time enabled | 207 | * @NL80211_ATTR_BSS_SHORT_SLOT_TIME: whether short slot time enabled |
208 | * (u8, 0 or 1) | 208 | * (u8, 0 or 1) |
209 | * | 209 | * |
210 | * @NL80211_ATTR_HT_CAPABILITY: HT Capability information element (from | ||
211 | * association request when used with NL80211_CMD_NEW_STATION) | ||
212 | * | ||
210 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 213 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
211 | * @__NL80211_ATTR_AFTER_LAST: internal use | 214 | * @__NL80211_ATTR_AFTER_LAST: internal use |
212 | */ | 215 | */ |
@@ -254,16 +257,25 @@ enum nl80211_attrs { | |||
254 | NL80211_ATTR_BSS_SHORT_PREAMBLE, | 257 | NL80211_ATTR_BSS_SHORT_PREAMBLE, |
255 | NL80211_ATTR_BSS_SHORT_SLOT_TIME, | 258 | NL80211_ATTR_BSS_SHORT_SLOT_TIME, |
256 | 259 | ||
260 | NL80211_ATTR_HT_CAPABILITY, | ||
261 | |||
257 | /* add attributes here, update the policy in nl80211.c */ | 262 | /* add attributes here, update the policy in nl80211.c */ |
258 | 263 | ||
259 | __NL80211_ATTR_AFTER_LAST, | 264 | __NL80211_ATTR_AFTER_LAST, |
260 | NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1 | 265 | NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1 |
261 | }; | 266 | }; |
262 | 267 | ||
268 | /* | ||
269 | * Allow user space programs to use #ifdef on new attributes by defining them | ||
270 | * here | ||
271 | */ | ||
272 | #define NL80211_ATTR_HT_CAPABILITY NL80211_ATTR_HT_CAPABILITY | ||
273 | |||
263 | #define NL80211_MAX_SUPP_RATES 32 | 274 | #define NL80211_MAX_SUPP_RATES 32 |
264 | #define NL80211_TKIP_DATA_OFFSET_ENCR_KEY 0 | 275 | #define NL80211_TKIP_DATA_OFFSET_ENCR_KEY 0 |
265 | #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16 | 276 | #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16 |
266 | #define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY 24 | 277 | #define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY 24 |
278 | #define NL80211_HT_CAPABILITY_LEN 26 | ||
267 | 279 | ||
268 | /** | 280 | /** |
269 | * enum nl80211_iftype - (virtual) interface types | 281 | * enum nl80211_iftype - (virtual) interface types |