esp_wifi: improve station SA query procedure handling

1. disable SA query timers when station disconnect and other SA query related improvements
2. send appropriate reason code in 4 way handshake failure
This commit is contained in:
Sarvesh Bodakhe 2023-03-20 14:50:59 +05:30
parent 29737e1bc8
commit 56dd04c7f6
3 changed files with 6 additions and 5 deletions

View File

@ -1982,7 +1982,7 @@ ieee80211_alloc_deauth = 0x40002124;
ieee80211_send_proberesp = 0x40002128;
ieee80211_getcapinfo = 0x40002130;
sta_rx_csa = 0x40002134;
sta_recv_sa_query_resp = 0x40002144;
/* sta_recv_sa_query_resp = 0x40002144; */
ieee80211_set_max_rate = 0x4000214c;
ic_set_sta = 0x40002150;
ieee80211_parse_wpa = 0x40002158;
@ -2009,13 +2009,13 @@ s_wifi_task_hdl = 0x3fcdfaec;
in_rssi_adjust = 0x3fcdfae8;
rssi_saved = 0x3fcdfae0;
rssi_index = 0x3fcdfadc;
s_sa_query_retries = 0x3fcdfad8;
s_sa_query_success = 0x3fcdfad5;
/* s_sa_query_retries = 0x3fcdfad8; */
/* s_sa_query_success = 0x3fcdfad5; */
g_sta_connected_flag = 0x3fcdfad4;
wpa_crypto_funcs_ptr = 0x3fcdfad0;
s_netstack_ref = 0x3fcdfacc;
sta_csa_timer_ptr = 0x3fcdfac8;
s_trans_id = 0x3fcdfac4;
/* s_trans_id = 0x3fcdfac4; */
/***************************************

View File

@ -129,6 +129,7 @@ typedef enum {
WIFI_REASON_AP_TSF_RESET = 206,
WIFI_REASON_ROAMING = 207,
WIFI_REASON_ASSOC_COMEBACK_TIME_TOO_LONG = 208,
WIFI_REASON_SA_QUERY_TIMEOUT = 209,
} wifi_err_reason_t;
typedef enum {

@ -1 +1 @@
Subproject commit bdaf43e3da5dcd2fd599c46dd79d509aabb245fb
Subproject commit f0118c20ca9a811062e2a0cbc21b7fb52137b628