No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sourav Mohapatra 5e4000bde8 qcacld-3.0: Remove validate_context check from wlan_resume
Presently, there is a very narrow race condition that causes
scheduler_thread to remain in a suspended state for undefined period of
time. The race condition occuers between idle_psoc_timeout and
wlan_hdd_cfg80211_resume_wlan.

As a part of idle_psoc_timeout, the driver calls hdd_wlan_stop_modules
that sets the flag "stop_module_in_progress" and checks if driver is in
suspended state. If yes, it resets the flag and returns. But in the case
of a race condition, before this reset and return is carried out,
wlan_hdd_cfg80211_resume_wlan is invoked. The validate_context inside
the resume function fails due to the above mentioned flag being set. As
a result, resume fails and the driver stays in suspended state. This
causes the driver to enter a infinite loop of stop_modules not being
successful.

To close this small window of contention, remove the validate_context
check. hdd_ctx is always guranteed to be valid and also DSC takes
care of synchronizing the operation, thus the check is redundant.

Change-Id: I723f78e4c33bdc531776c46eff2428dbd869493f
CRs-Fixed: 2616177
2020-02-10 02:31:49 -08:00
components qcacld-3.0: Cleanup for function wlan_reg_is_dfs_ch() 2020-02-08 02:07:03 -08:00
configs qcacld-3.0: add support to customize dscp-to-up map table 2020-02-06 22:44:57 -08:00
core qcacld-3.0: Remove validate_context check from wlan_resume 2020-02-10 02:31:49 -08:00
os_if qcacld-3.0: Reduce excessive logging in P2P module 2020-02-07 14:13:03 -08:00
uapi/linux
Android.mk
Kbuild qcacld-3.0: add support to customize dscp-to-up map table 2020-02-06 22:44:57 -08:00
Kconfig
Makefile
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium