소스 검색

qcacld-3.0: Drop assoc req if sap is not in WLAN_VDEV_SS_UP_ACTIVE

Assoc req can only be handled when the sap is in WLAN_VDEV_S_UP state
and WLAN_VDEV_SS_UP_ACTIVE substate.
Assoc req can't be handled in WLAN_VDEV_SS_MLO_SYNC_WAIT substate.

Change-Id: If7a7db06df04dfe54e1a7b9abefaba2372d40516
CRs-Fixed: 2866182
bings 4 년 전
부모
커밋
6bc03e27ae
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/mac/src/pe/lim/lim_process_assoc_req_frame.c

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

@@ -2301,7 +2301,8 @@ void lim_process_assoc_req_frame(struct mac_context *mac_ctx, uint8_t *rx_pkt_in
 		return;
 	}
 
-	if (wlan_vdev_mlme_get_state(vdev) != WLAN_VDEV_S_UP) {
+	if (wlan_vdev_mlme_get_state(vdev) != WLAN_VDEV_S_UP ||
+	    wlan_vdev_mlme_get_substate(vdev) != WLAN_VDEV_SS_UP_ACTIVE) {
 		pe_err("SAP is not up, drop ASSOC REQ on sessionid: %d",
 		       session->peSessionId);