]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
MBO: Move the WNM-Notification subtype definitions to common location
authorJouni Malinen <jouni@codeaurora.org>
Thu, 31 Jan 2019 10:57:04 +0000 (12:57 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 6 Feb 2019 17:10:17 +0000 (19:10 +0200)
Do not use a separate enum for MBO WNM-Notification Request frame
subtype values since these share the same number space with the Hotspot
2.0 ones.

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

index 5652a865f9a03441faea50c57786199b0e532055..b285d13a7d9b21aa71e107a4198e8fdd906391db 100644 (file)
@@ -1444,6 +1444,8 @@ enum wmm_ac {
 /* WNM-Notification WFA vendors specific subtypes */
 #define HS20_WNM_SUB_REM_NEEDED 0
 #define HS20_WNM_DEAUTH_IMMINENT_NOTICE 1
+#define WFA_WNM_NOTIF_SUBELEM_NON_PREF_CHAN_REPORT 2
+#define WFA_WNM_NOTIF_SUBELEM_CELL_DATA_CAPA 3
 #define HS20_WNM_T_C_ACCEPTANCE 4
 
 #define HS20_DEAUTH_REASON_CODE_BSS 0
@@ -1533,12 +1535,6 @@ enum mbo_transition_reject_reason {
        MBO_TRANSITION_REJECT_REASON_SERVICES = 6,
 };
 
-/* MBO v0.0_r19, 4.4: WNM-Notification vendor subelements */
-enum wfa_wnm_notif_subelem_id {
-       WFA_WNM_NOTIF_SUBELEM_NON_PREF_CHAN_REPORT = 2,
-       WFA_WNM_NOTIF_SUBELEM_CELL_DATA_CAPA = 3,
-};
-
 /* MBO v0.0_r27, 4.3: MBO ANQP-elements */
 #define MBO_ANQP_OUI_TYPE 0x12
 #define MBO_ANQP_SUBTYPE_QUERY_LIST 1