]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
SAE-PK: Identifier definitions
authorJouni Malinen <jouni@codeaurora.org>
Sat, 30 May 2020 20:30:42 +0000 (23:30 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 2 Jun 2020 14:56:45 +0000 (17:56 +0300)
Add the assigned identifiers for SAE-PK elements and fields.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/ieee802_11_common.c
src/common/ieee802_11_defs.h

index 46f4f4d6f859e2053bbfcc6c5bae1eeb7a43bce7..981652e4713ebe34244b1c0b35c28094865ca87a 100644 (file)
@@ -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
index 0dd386f9e15d90ee969b365fcdb34c08444f346a..3fc4200a07080546be78973fb33a05b1caa8c493 100644 (file)
 #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
 #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)