android_kernel_xiaomi_sm8350/core/sme
Nachiket Kukade 4f68658ef8 qcacld-3.0: Hold APF set instruction context till completion
Once Driver receives APF sub-command QCA_WLAN_SET_PACKET_FILTER,
it posts the message to SME and returns the context. In case
where vdev restarts before sending the APF command to WMI,
driver will drop it since Firmware cannot accept the command
while vdev is down. Upper layer will have no knowledge of this
failure since there is no acknowledgment mechanism for a
successful APF command sent to the Firmware. Once the vdev is up
again, upper layer will send next APF instructions and driver
will allow then to the Firmware. This is problematic since
Firmware cannot operate with the partial APF instructions since
the initial part was dropped.

Hold the vendor command context till the command is successfully
sent to the Firmware. Propagate the errors to the upper layer.

Change-Id: If3cd6fbc85f83c0d78e735e96c00011cd2fd9347
CRs-Fixed: 2350640
2018-11-22 11:56:08 -08:00
..
inc qcacld-3.0: ADD MLME INI items of WMM Config 2018-11-22 07:53:08 -08:00
src qcacld-3.0: Hold APF set instruction context till completion 2018-11-22 11:56:08 -08:00