diff options
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 210e2c325534..ce9af8918514 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -640,9 +640,9 @@ struct ieee80211_rann_ie { | |||
640 | u8 rann_hopcount; | 640 | u8 rann_hopcount; |
641 | u8 rann_ttl; | 641 | u8 rann_ttl; |
642 | u8 rann_addr[6]; | 642 | u8 rann_addr[6]; |
643 | u32 rann_seq; | 643 | __le32 rann_seq; |
644 | u32 rann_interval; | 644 | __le32 rann_interval; |
645 | u32 rann_metric; | 645 | __le32 rann_metric; |
646 | } __attribute__ ((packed)); | 646 | } __attribute__ ((packed)); |
647 | 647 | ||
648 | enum ieee80211_rann_flags { | 648 | enum ieee80211_rann_flags { |
@@ -1007,13 +1007,13 @@ enum ieee80211_min_mpdu_spacing { | |||
1007 | }; | 1007 | }; |
1008 | 1008 | ||
1009 | /** | 1009 | /** |
1010 | * struct ieee80211_ht_info - HT information | 1010 | * struct ieee80211_ht_operation - HT operation IE |
1011 | * | 1011 | * |
1012 | * This structure is the "HT information element" as | 1012 | * This structure is the "HT operation element" as |
1013 | * described in 802.11n D5.0 7.3.2.58 | 1013 | * described in 802.11n-2009 7.3.2.57 |
1014 | */ | 1014 | */ |
1015 | struct ieee80211_ht_info { | 1015 | struct ieee80211_ht_operation { |
1016 | u8 control_chan; | 1016 | u8 primary_chan; |
1017 | u8 ht_param; | 1017 | u8 ht_param; |
1018 | __le16 operation_mode; | 1018 | __le16 operation_mode; |
1019 | __le16 stbc_param; | 1019 | __le16 stbc_param; |
@@ -1027,8 +1027,6 @@ struct ieee80211_ht_info { | |||
1027 | #define IEEE80211_HT_PARAM_CHA_SEC_BELOW 0x03 | 1027 | #define IEEE80211_HT_PARAM_CHA_SEC_BELOW 0x03 |
1028 | #define IEEE80211_HT_PARAM_CHAN_WIDTH_ANY 0x04 | 1028 | #define IEEE80211_HT_PARAM_CHAN_WIDTH_ANY 0x04 |
1029 | #define IEEE80211_HT_PARAM_RIFS_MODE 0x08 | 1029 | #define IEEE80211_HT_PARAM_RIFS_MODE 0x08 |
1030 | #define IEEE80211_HT_PARAM_SPSMP_SUPPORT 0x10 | ||
1031 | #define IEEE80211_HT_PARAM_SERV_INTERVAL_GRAN 0xE0 | ||
1032 | 1030 | ||
1033 | /* for operation_mode */ | 1031 | /* for operation_mode */ |
1034 | #define IEEE80211_HT_OP_MODE_PROTECTION 0x0003 | 1032 | #define IEEE80211_HT_OP_MODE_PROTECTION 0x0003 |
@@ -1301,7 +1299,7 @@ enum ieee80211_eid { | |||
1301 | WLAN_EID_EXT_SUPP_RATES = 50, | 1299 | WLAN_EID_EXT_SUPP_RATES = 50, |
1302 | 1300 | ||
1303 | WLAN_EID_HT_CAPABILITY = 45, | 1301 | WLAN_EID_HT_CAPABILITY = 45, |
1304 | WLAN_EID_HT_INFORMATION = 61, | 1302 | WLAN_EID_HT_OPERATION = 61, |
1305 | 1303 | ||
1306 | WLAN_EID_RSN = 48, | 1304 | WLAN_EID_RSN = 48, |
1307 | WLAN_EID_MMIE = 76, | 1305 | WLAN_EID_MMIE = 76, |
@@ -1441,6 +1439,18 @@ enum ieee80211_tdls_actioncode { | |||
1441 | #define WLAN_TDLS_SNAP_RFTYPE 0x2 | 1439 | #define WLAN_TDLS_SNAP_RFTYPE 0x2 |
1442 | 1440 | ||
1443 | /** | 1441 | /** |
1442 | * enum - mesh synchronization method identifier | ||
1443 | * | ||
1444 | * @IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET: the default synchronization method | ||
1445 | * @IEEE80211_SYNC_METHOD_VENDOR: a vendor specific synchronization method | ||
1446 | * that will be specified in a vendor specific information element | ||
1447 | */ | ||
1448 | enum { | ||
1449 | IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET = 1, | ||
1450 | IEEE80211_SYNC_METHOD_VENDOR = 255, | ||
1451 | }; | ||
1452 | |||
1453 | /** | ||
1444 | * enum - mesh path selection protocol identifier | 1454 | * enum - mesh path selection protocol identifier |
1445 | * | 1455 | * |
1446 | * @IEEE80211_PATH_PROTOCOL_HWMP: the default path selection protocol | 1456 | * @IEEE80211_PATH_PROTOCOL_HWMP: the default path selection protocol |
@@ -1448,7 +1458,7 @@ enum ieee80211_tdls_actioncode { | |||
1448 | * be specified in a vendor specific information element | 1458 | * be specified in a vendor specific information element |
1449 | */ | 1459 | */ |
1450 | enum { | 1460 | enum { |
1451 | IEEE80211_PATH_PROTOCOL_HWMP = 0, | 1461 | IEEE80211_PATH_PROTOCOL_HWMP = 1, |
1452 | IEEE80211_PATH_PROTOCOL_VENDOR = 255, | 1462 | IEEE80211_PATH_PROTOCOL_VENDOR = 255, |
1453 | }; | 1463 | }; |
1454 | 1464 | ||
@@ -1460,7 +1470,7 @@ enum { | |||
1460 | * specified in a vendor specific information element | 1470 | * specified in a vendor specific information element |
1461 | */ | 1471 | */ |
1462 | enum { | 1472 | enum { |
1463 | IEEE80211_PATH_METRIC_AIRTIME = 0, | 1473 | IEEE80211_PATH_METRIC_AIRTIME = 1, |
1464 | IEEE80211_PATH_METRIC_VENDOR = 255, | 1474 | IEEE80211_PATH_METRIC_VENDOR = 255, |
1465 | }; | 1475 | }; |
1466 | 1476 | ||