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
Shashikala Prabhu e3807d4e50 qcacmn: Fix the nol timeout panic
In macro TAILQ_FOREACH_SAFE, var and tvar point to current head and the
next element respectively. If we unlock the spinlock inside the for loop
and then lock it again, there is a chance (race) that the next element is
pointed to by another thread of execution and both of them may try to
remove the same element at the same time. This may lead to panic.

Instead of using TAILQ_FOREACH_SAFE macro remove the element from the list
one by one using a while loop from the head of the list. Do not lock the
entire while loop, instead lock only during the removal of element from the
list.

This is required because we want to wait for the dfs_remove_from_nol timer
to complete. But the wait should not be done from inside the lock because
the same lock is used by the dfs_remove_from_nol timer.

Change-Id: If820dbb1789b7fcfc33c133b3f90968377bfbf3c
CRs-Fixed: 2322831
2018-10-06 00:01:33 -07:00
cfg
dp
ftm
global_lmac_if
hal/wifi3.0
hif qcacmn: Update Interrupt name list 2018-10-05 17:39:43 -07:00
htc
init_deinit/dispatcher
os_if/linux
qal
qdf qcacmn: Changes for BSS Color Enahancement FR40903 2018-10-05 22:10:06 -07:00
scheduler
spectral
target_if qcacmn: Changes for BSS Color Enahancement FR40903 2018-10-05 22:10:06 -07:00
umac qcacmn: Fix the nol timeout panic 2018-10-06 00:01:33 -07:00
utils
wbuff
wlan_cfg
wmi qcacmn: changes for BSS Color Enahancement FR40903 2018-10-05 22:10:09 -07:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium