Skip to content

Commit dc1b3e9

Browse files
krish2718rlubos
authored andcommitted
[nrf fromtree] drivers: nrf_wifi: Fix the issue of delayed keepalive
Supplicant sends keepalive on timer expiry but due to driver + nRF70 delays it is delayed to the AP, meanwhile some APs disconnect due to lack of keepalive. Set the processing delay to 700ms (based on tests) to fix. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 7fe6930)
1 parent a1ba101 commit dc1b3e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/wifi/nrf_wifi/src/wpa_supp_if.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,6 +1807,11 @@ int nrf_wifi_supp_get_capa(void *if_priv, struct wpa_driver_capa *capa)
18071807
capa->extended_capa_mask = rpu_ctx_zep->extended_capa_mask;
18081808
capa->extended_capa_len = rpu_ctx_zep->extended_capa_len;
18091809
}
1810+
/* Based on testing, this works to fix the disconnection due to delayed
1811+
* keepalive to the AP
1812+
*/
1813+
capa->driver_tx_processing_delay_ms = 1000;
1814+
18101815
out:
18111816
k_mutex_unlock(&vif_ctx_zep->vif_lock);
18121817
return status;

0 commit comments

Comments
 (0)