qcacld-3.0: Fix force deauth sta cmd timeout issue
Analysis:
1. Host initiated deauth and queued WLAN_SER_CMD_FORCE_DEAUTH_STA.
2. During deleting the STA, updated
sta_ds->mlmStaContext.cleanupTrigger as
eLIM_HOST_DISASSOC(0), default is 0.
3. At same time, the assoc req was received for this STA on other
vdev, in lim_check_sta_in_pe_entries() driver update
sta_ds->mlmStaContext.cleanupTrigger to eLIM_DUPLICATE_ENTRY.
4. lim_prepare_and_send_del_sta_cnf-> lim_send_del_sta_cnf()
use sta_ds->mlmStaContext.cleanupTrigger to update
mlmDisassocCnf.disassocTrigger to eLIM_DUPLICATE_ENTRY
instead of eLIM_HOST_DISASSOC.
5. Thus in lim_send_sme_disassoc_ntf(),
eWNI_SME_DISCONNECT_DONE_IND was called instead of
eWNI_SME_DISASSOC_RSP.
6. Thus we tried to remove WmStatusChange instead of
WLAN_SER_CMD_FORCE_DEAUTH_STA.
Fix:
Reject assoc req instead of using eLIM_DUPLICATE_ENTRY logic if
STA is already being deleted.
Change-Id: Ibab73758fa4a31ac017c8472894cd07b77133250
CRs-Fixed: 2380012
1 file changed