WNM: Define BSS transition management reason values

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2023-11-05 19:37:58 +02:00
parent 7ee7b046a9
commit a83d3132e8

View file

@ -1899,6 +1899,33 @@ enum bss_trans_mgmt_status_code {
WNM_BSS_TM_REJECT_LEAVING_ESS = 8
};
/* BSS transition management reasons
* IEEE Std 802.11-2020, Table 9-198 (Transition and Transition Query reasons)
*/
enum bss_trans_mgmt_reason {
WNM_TRANSITION_REASON_UNSPECIFIED = 0,
WNM_TRANSITION_REASON_EXCESSIVE_FRAME_LOSS = 1,
WNM_TRANSITION_REASON_EXCESSIVE_DELAY = 2,
WNM_TRANSITION_REASON_INSUFFICIENT_QOS = 3,
WNM_TRANSITION_REASON_FIRST_ESS_ASSOC = 4,
WNM_TRANSITION_REASON_LOAD_BALANCING = 5,
WNM_TRANSITION_REASON_BETTER_AP_FOUND = 6,
WNM_TRANSITION_REASON_DEAUTH_FROM_PREV_AP = 7,
WNM_TRANSITION_REASON_AP_FAILED_EAP = 8,
WNM_TRANSITION_REASON_AP_FAILED_4WAY_HS = 9,
WNM_TRANSITION_REASON_RX_TOO_MANY_REPLAYS = 10,
WNM_TRANSITION_REASON_RX_TOO_MANY_MIC_FAILURES = 11,
WNM_TRANSITION_REASON_EXCEEDED_MAX_RETRANS = 12,
WNM_TRANSITION_REASON_RX_TOO_MANY_BC_DISASSOC = 13,
WNM_TRANSITION_REASON_RX_TOO_MANY_BC_DEAUTH = 14,
WNM_TRANSITION_REASON_PREV_TRANSITION_FAILED = 15,
WNM_TRANSITION_REASON_LOW_RSSI = 16,
WNM_TRANSITION_REASON_ROAM_FROM_NON_802_11 = 17,
WNM_TRANSITION_REASON_TRANSITION_DUE_TO_BTM_REQ = 18,
WNM_TRANSITION_REASON_PREF_TRANSITION_CANDIDATE_LIST = 19,
WNM_TRANSITION_REASON_LEAVING_ESS = 20,
};
/*
* IEEE P802.11-REVmc/D5.0 Table 9-150 - Optional subelement IDs for
* neighbor report