aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-05-30 20:30:42 (GMT)
committerJouni Malinen <j@w1.fi>2020-06-02 14:56:45 (GMT)
commitb6dcbd01a604088f1152c62ae8a7965df859eaf4 (patch)
treee7d72ec94f53a6f3d8768109e0bc71f43d9108b2
parentaed01b82d31509119b584df6948264af8d82aa52 (diff)
downloadhostap-b6dcbd01a604088f1152c62ae8a7965df859eaf4.zip
hostap-b6dcbd01a604088f1152c62ae8a7965df859eaf4.tar.gz
hostap-b6dcbd01a604088f1152c62ae8a7965df859eaf4.tar.bz2
SAE-PK: Identifier definitions
Add the assigned identifiers for SAE-PK elements and fields. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/common/ieee802_11_common.c1
-rw-r--r--src/common/ieee802_11_defs.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/common/ieee802_11_common.c b/src/common/ieee802_11_common.c
index 46f4f4d..981652e 100644
--- a/src/common/ieee802_11_common.c
+++ b/src/common/ieee802_11_common.c
@@ -1667,6 +1667,7 @@ const char * status2str(u16 status)
S2S(UNKNOWN_AUTHENTICATION_SERVER)
S2S(UNKNOWN_PASSWORD_IDENTIFIER)
S2S(SAE_HASH_TO_ELEMENT)
+ S2S(SAE_PK)
}
return "UNKNOWN";
#undef S2S
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 0dd386f..3fc4200 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -205,6 +205,7 @@
#define WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER 113
#define WLAN_STATUS_UNKNOWN_PASSWORD_IDENTIFIER 123
#define WLAN_STATUS_SAE_HASH_TO_ELEMENT 126
+#define WLAN_STATUS_SAE_PK 127
/* Reason codes (IEEE Std 802.11-2016, 9.4.1.7, Table 9-45) */
#define WLAN_REASON_UNSPECIFIED 1
@@ -560,11 +561,13 @@
#define WLAN_EXT_CAPAB_SAE_PW_ID 81
#define WLAN_EXT_CAPAB_SAE_PW_ID_EXCLUSIVELY 82
#define WLAN_EXT_CAPAB_BEACON_PROTECTION 84
+#define WLAN_EXT_CAPAB_SAE_PK_EXCLUSIVELY 88
/* Extended RSN Capabilities */
/* bits 0-3: Field length (n-1) */
#define WLAN_RSNX_CAPAB_PROTECTED_TWT 4
#define WLAN_RSNX_CAPAB_SAE_H2E 5
+#define WLAN_RSNX_CAPAB_SAE_PK 6
/* Action frame categories (IEEE Std 802.11-2016, 9.4.1.11, Table 9-76) */
#define WLAN_ACTION_SPECTRUM_MGMT 0
@@ -1319,6 +1322,7 @@ struct ieee80211_ampe_ie {
#define MULTI_AP_OUI_TYPE 0x1B
#define DPP_CC_IE_VENDOR_TYPE 0x506f9a1e
#define DPP_CC_OUI_TYPE 0x1e
+#define SAE_PK_IE_VENDOR_TYPE 0x506f9a1f
#define MULTI_AP_SUB_ELEM_TYPE 0x06
#define MULTI_AP_TEAR_DOWN BIT(4)