android_kernel_xiaomi_sm8350/core
Arunk Khandavalli 932a9e161a qcacld-3.0: synchronize interface change timer with driver shutdown
As part of the last interface down, driver starts the interface
change timer to close the modules of 15seconds, if there is no
request to use the interfaces from upper layer during this time
the timer expiers and closes modules. There can be SSR/PDR triggered in the
different context which during shutdown tries to call the
respective module notifiers which can be purged/freed
in the timer context.

Synchronize the interface change timer callback with the shutdown
using the interface change timer lock. Following steps are taken
to make sure one thread is completed before other thread starts
execution:
	* Set the respective flag of recovery inprogress or fw_down
          so that access to firmware is blocked.
	* Take the interface change lock, so if the timer callback
	  is running it will complete the closing the modulkes,
	  or if the uevent gets the lock it completes the calling
	  notifiers and purges the same.
	* Release the interface change lock.

Change-Id: I1d7f62cd0ce7268cc9a5bda2a72dae384b70a6e2
CRs-Fixed: 2100846
2017-10-04 08:41:26 -07:00
..
bmi qcacld-3.0: Add auto BDF Selection 2017-09-29 01:39:53 -07:00
cds qcacld-3.0: synchronize interface change timer with driver shutdown 2017-10-04 08:41:26 -07:00
dp qcacld-3.0: Add net buff pop fail counter 2017-10-03 07:46:18 -07:00
hdd qcacld-3.0: synchronize interface change timer with driver shutdown 2017-10-04 08:41:26 -07:00
mac Release 5.2.0.46X 2017-10-03 22:00:50 -07:00
pld qcacld-3.0: Enable SDIO based WLAN self-recovery 2017-09-29 05:40:09 -07:00
sap qcacld-3.0: Rename pSapCtx to sap_ctx 2017-09-28 21:59:32 -07:00
sme qcacld-3.0: Implementation to change BmissFinalBcnt dynamically 2017-10-04 08:41:24 -07:00
wma qcacld-3.0: Implementation to change BmissFinalBcnt dynamically 2017-10-04 08:41:24 -07:00