android_kernel_xiaomi_sm8350/core/wma
Selvaraj, Sridhar 171e225474 qcacld-3.0: Check if vdev is created before LL stats query
qcacld-2.0 to qcacld-3.0 propagation

As part of "change iface" in HDD, host does close session (VDEV DELETE) and
as part of "start ap", host invokes open session(VDEV CREATE).
Link Layer(LL) stats query is received in host driver in a corner/race
condition between the events "change iface" and "start ap" which leads
to an exception issue in firmware since FW receives REQUEST_LINK_STATS WMI
for a deleted VDEV.

This fix adds a boolean variable vdev_active to vdev structure(wma_txrx_node),
which is set to true once vdev is created. vdev_active is checked for TRUE
before sending LL stats query to FW with WMI command.

Git-commit: cf7bf99eb9a71b1043cd230aee704c44c62c98ff
Change-Id: Ifcc986c3352e4e66da35b8d6c489d98dbe61401d
CRs-Fixed: 987734
(cherry picked from commit b82c03d8686a57b120f991ffbb9b9801c908aac8)
2016-09-11 17:03:09 -07:00
..
inc qcacld-3.0: Check if vdev is created before LL stats query 2016-09-11 17:03:09 -07:00
src qcacld-3.0: Check if vdev is created before LL stats query 2016-09-11 17:03:09 -07:00