]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Transition Disable KDE definitions
authorJouni Malinen <jouni@codeaurora.org>
Wed, 25 Mar 2020 22:06:50 +0000 (00:06 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Mar 2020 22:12:39 +0000 (00:12 +0200)
Define the OUI Type and bitmap values for Transition Disable KDE. These
will be shared by both the AP and STA implementations.

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

index 1a9a4105f168cabde3772963d9d408be67d30734..bcdf160b6d5bfde67396863ce1c9fab9bb35e988 100644 (file)
@@ -113,6 +113,7 @@ WPA_CIPHER_BIP_CMAC_256)
 
 #define WFA_KEY_DATA_IP_ADDR_REQ RSN_SELECTOR(0x50, 0x6f, 0x9a, 4)
 #define WFA_KEY_DATA_IP_ADDR_ALLOC RSN_SELECTOR(0x50, 0x6f, 0x9a, 5)
+#define WFA_KEY_DATA_TRANSITION_DISABLE RSN_SELECTOR(0x50, 0x6f, 0x9a, 0x20)
 
 #define WPA_OUI_TYPE RSN_SELECTOR(0x00, 0x50, 0xf2, 1)
 
@@ -344,6 +345,12 @@ struct rsn_rdie {
        le16 status_code;
 } STRUCT_PACKED;
 
+/* WFA Transition Disable KDE (using OUI_WFA) */
+/* Transition Disable Bitmap bits */
+#define TRANSITION_DISABLE_WPA3_PERSONAL BIT(0)
+#define TRANSITION_DISABLE_SAE_PK BIT(1)
+#define TRANSITION_DISABLE_WPA3_ENTERPRISE BIT(2)
+#define TRANSITION_DISABLE_ENHANCED_OPEN BIT(3)
 
 #ifdef _MSC_VER
 #pragma pack(pop)