Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Vignesh Viswanathan 4e65e8eab6 qcacld-3.0: Acquire SME lock before csr_roam_offload_scan from SME
In a scenario where the below two HDD commands are executed at the
same time from different threads
1. Disconnect which does an RSO Stop and free the pCurRoamProfile
2. Set Blacklist BSSID which does and RSO Update and accessed
the pCurRoamProfile
pCurRoamProfile is accessed in the function csr_roam_offload_scan
after is freed from the other context.
The Disconnect command from HDD is protected under the global SME lock,
however, the set blacklist BSSID path is not protected under SME lock.
There are multiple instances where csr_roam_offload_scan is called
without the SME lock which could lead to similar issues.

Acquire SME lock before csr_roam_offload_scan from callers in
SME/HDD which can be from other threads.

Change-Id: I9666bab0001b56ec01dcf1df0becb36344fb6f9a
CRs-Fixed: 2226423
2018-05-14 20:15:42 -07:00
components qcacld-3.0: Use new API for fetching wmi_handle 2018-05-11 22:40:02 -07:00
core qcacld-3.0: Acquire SME lock before csr_roam_offload_scan from SME 2018-05-14 20:15:42 -07:00
uapi/linux qcacld-3.0: uapi: Remove legacy markings 2018-04-24 14:48:24 -07:00
Android.mk
Kbuild qcacld-3.0: Use new API for fetching wmi_handle 2018-05-11 22:40:02 -07:00
Kconfig qcacld-3.0: Remove obsolete CONFIG_PRIMA_WLAN_11AC_HIGH_TP 2018-04-11 03:37:50 -07:00
Makefile qcacld-3.0: Allow out-of-tree build with relative path in M 2018-02-09 11:33:09 -08:00
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium