Jelajahi Sumber

qcacld-3.0: WMA has to del sta if auth frame is received while connecting

qcacld-2.0 to qcacld-3.0 propagation

It's a fix for sns issue. Set DUT as sap, ref client sends assoc req
to DUT and as part of this frame processing lim does ADD_STA and posts
eWNI_SME_ASSOC_IND to sme layer. Before SME layer sends eWNI_SME_ASSOC_CNF,
DUT receives auth frame which triggers deauth. In this case lim layer
will delete ref client's related info, but wma layer doesn't get any
notification.

To fix this lim has to notify wma to do DEL_STA for that peer.

Change-Id: Id4aae51aae3fb68e752d09793ad3bce17665fc2e
CRs-Fixed: 979687
Kai Liu 8 tahun lalu
induk
melakukan
ffd2bb7166
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      core/mac/src/pe/lim/lim_assoc_utils.c

+ 1 - 0
core/mac/src/pe/lim/lim_assoc_utils.c

@@ -585,6 +585,7 @@ lim_cleanup_rx_path(tpAniSirGlobal pMac, tpDphHashNode pStaDs,
 			 * Release our assigned AID back to the free pool
 			 */
 			if (LIM_IS_AP_ROLE(psessionEntry)) {
+				lim_del_sta(pMac, pStaDs, false, psessionEntry);
 				lim_release_peer_idx(pMac, pStaDs->assocId,
 						     psessionEntry);
 			}