ソースを参照

qcacld-3.0: Prevent SAE preauth failure timeout at firmware

In lim_handle_sae_auth_timeout, MLME_IS_ROAMING_IN_PROG is
to check current roaming state and send preauth status as failure if
Auth response was not received from the AP. This check fails if FW doesn't
send roam start notification (in wow mode or during emergency deauth
roaming trigger).

Replaced MLME_IS_ROAMING_IN_PROG check with wlan_cm_is_vdev_connecting
in order to check connection manager state instead of FW state.

Change-Id: I5f469538a081de258b766bee8e0c8623d426bc7d
CRs-Fixed: 3179514
VIJAY RAJ 3 年 前
コミット
d7ff4a75a1
1 ファイル変更1 行追加2 行削除
  1. 1 2
      core/mac/src/pe/lim/lim_process_mlm_req_messages.c

+ 1 - 2
core/mac/src/pe/lim/lim_process_mlm_req_messages.c

@@ -1703,8 +1703,7 @@ static void lim_handle_sae_auth_timeout(struct mac_context *mac_ctx,
 	}
 	}
 
 
 	if (!sae_retry->sae_auth_max_retry) {
 	if (!sae_retry->sae_auth_max_retry) {
-		if (MLME_IS_ROAMING_IN_PROG(mac_ctx->psoc,
-					    session_entry->vdev_id)) {
+		if (!wlan_cm_is_vdev_connecting(session_entry->vdev)) {
 			mac_hdr = (tpSirMacMgmtHdr)sae_retry->sae_auth.ptr;
 			mac_hdr = (tpSirMacMgmtHdr)sae_retry->sae_auth.ptr;
 			lim_send_pre_auth_failure(session_entry->vdev_id,
 			lim_send_pre_auth_failure(session_entry->vdev_id,
 						  mac_hdr->bssId);
 						  mac_hdr->bssId);