31d139ec0a6dc7f2737eeab86aceca6b2324eb95

Issue: Host is sending VDEV_INSTALL_KEY command without validating vdev state. If there is channel change request, in function lim_change_channel on WLAN_VDEV_SM_EV_CSA_COMPLETE, WLAN_VDEV_SM_EV_RESTART_REQ i.e vdev restart request is triggred to fw and if there is any ongoing sta connection parallely, then it may send vdev install without validating vdev state. If firmware receives VDEV_INSTALL_KEY, it stops critical channel request. Firmware sends VDEV_START_RESPONSE/VDEV_RESTART_RESPONSE once it gets channel grant. If host sends VDEV_INSTALL_KEY to fw before it gets channel grant then fw stops channel request and does not send VDEV_RESTART_RESPONSE. Fix: Valdiate vdev state before sending VDEV_INSTALL_KEY command. In function wlan_hdd_add_key_sap validate the state of vdev and send command only if vdev is in between restarting state. Change-Id: I427ab9bfab499818290dc36b6b4b3a4974b7d3a2 CRs-Fixed: 2605369
This is CNSS WLAN Host Driver for products starting from iHelium
Descrizione
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%