Kernel Tree For Xiaomi 11 Lite NE 5G
When deauth is received from AP, while processing of deauth frame, WM status change command is queued in SME command pending list with priority set as true in which DEL_BSS and DEL_STA happens leading to VDEV_STOP AND VDEV_DOWN correspondingly. When disconnect is issued from upper layer, ROAM command with reason eCsrForcedDisassoc gets queued in SME command pending list with priority set as true which performs DEL_BSS nad DEL_STA and then eSmeCommandDelStaSession SME command is queued with priority set as false which performs DEL_SELF_STA. If disconnect is issued from upper layer and deauth is received from AP at the same time, it might happen that ROAM SME command and eSmeCommandDelStaSession SME command gets queued in SME command pending list but WM status change command gets queued on top of these as priority is set to true before the former commands can be processed. While processiing of WM status change command, eWNI_SME_DEAUTH_CNF msg gets queued in SME message queue which queues WMA_DELETE_BSS_REQ in WMA msg queue. If WM staus change command is released just after eWNI_SME_DEAUTH_CNF is posted, it might happen that Roam and eSmeCommandDelStaSession SME commands from SME command pending list gets processed first which will queue WMA_DEL_STA_SELF_REQ in WMA msg queue before eWNI_SME_DEAUTH_CNF gets processed and queue WMA_DELETE_BSS_REQ in WMA msg queue. This leads to processing of WMA_DEL_STA_SELF_REQ before WMA_DELETE_BSS_REQ causing assert as this is unexpected behaviour. Release WM status change command only after eWNI_SME_DISCONNECT_DONE_IND which happens after WMA_DELETE_BSS_REQ and WMA_DELETE_STA_REQ gets processed so that ROAM and eSmeCommandDelStaSession SME commands gets to process only after processing of DEL_BSS and DEL_STA and so WMA_DEL_STA_SELF_REQ will always be processed after WMA_DELETE_BSS_REQ avoidong system assert. Change-Id: Iec0176fecf218e07f31b258c0dc52aefb480defe CRs-Fixed: 2211622 |
||
---|---|---|
components | ||
core | ||
uapi/linux | ||
Android.mk | ||
Kbuild | ||
Kconfig | ||
Makefile | ||
README.txt |
This is CNSS WLAN Host Driver for products starting from iHelium