aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2011-08-11 22:35:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-22 14:45:59 -0400
commit6709a6d96e0f9b05a07999f720a15389ad242a4a (patch)
tree236f73a734aef35b65a766506a26d774da600a05 /include/linux/ieee80211.h
parent082ebb0c258d28af7452b19df9ef8b7553f37690 (diff)
ieee80211: introduce Self Protected Action codes
802.11s introduces a new action frame category, add action codes as well as an entry in ieee80211_mgmt. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 5286de5fe989..0750987f2a1d 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -749,6 +749,10 @@ struct ieee80211_mgmt {
749 */ 749 */
750 u8 variable[0]; 750 u8 variable[0];
751 } __attribute__((packed)) plink_action; 751 } __attribute__((packed)) plink_action;
752 struct {
753 u8 action_code;
754 u8 variable[0];
755 } __attribute__((packed)) self_prot;
752 struct{ 756 struct{
753 u8 action_code; 757 u8 action_code;
754 u8 variable[0]; 758 u8 variable[0];
@@ -1311,6 +1315,16 @@ enum ieee80211_ht_actioncode {
1311 WLAN_HT_ACTION_ASEL_IDX_FEEDBACK = 7, 1315 WLAN_HT_ACTION_ASEL_IDX_FEEDBACK = 7,
1312}; 1316};
1313 1317
1318/* Self Protected Action codes */
1319enum ieee80211_self_protected_actioncode {
1320 WLAN_SP_RESERVED = 0,
1321 WLAN_SP_MESH_PEERING_OPEN = 1,
1322 WLAN_SP_MESH_PEERING_CONFIRM = 2,
1323 WLAN_SP_MESH_PEERING_CLOSE = 3,
1324 WLAN_SP_MGK_INFORM = 4,
1325 WLAN_SP_MGK_ACK = 5,
1326};
1327
1314/* Security key length */ 1328/* Security key length */
1315enum ieee80211_key_len { 1329enum ieee80211_key_len {
1316 WLAN_KEY_LEN_WEP40 = 5, 1330 WLAN_KEY_LEN_WEP40 = 5,