android_kernel_xiaomi_sm8350/core
Pragaspathi Thilagaraj 0d1159e96d qcacld-3.0: Add vdev_active validation for wmi commands
When the host sends a wmi command with invalid vdev id, firmware
crashes. So to avoid this check the vdev_active flag for the
vdev before sending the wmi command.

This changeset validates the vdev_active check for the following
commands:
WMI_VDEV_CREATE_CMDID
WMI_VDEV_DELETE_CMDID
WMI_VDEV_START_REQUEST_CMDID
WMI_VDEV_RESTART_REQUEST_CMDID
WMI_VDEV_UP_CMDID
WMI_VDEV_STOP_CMDID
WMI_VDEV_DOWN_CMDID
WMI_VDEV_SET_PARAM_CMDID
WMI_VDEV_WMM_ADDTS_CMDID
WMI_VDEV_WMM_DELTS_CMDID

This change also removes the flag is_vdev_valid which seems to
duplicate the vdev_active flag.

Change-Id: If9d4a2b24f8141c26a73f3a012fa99d38b3221bc
CRs Fixed: 2312360
2018-09-11 18:27:15 -07:00
..
bmi qcacld-3.0: Fix an OOB issue in bmi_sign_stream_start() 2018-08-17 04:40:05 -07:00
cds qcacld-3.0: Remove legacy ini for chainmask configs 2018-09-11 12:01:28 -07:00
dp qcacld-3.0: Fix LFR3 assert for wrong peer ref count debug id 2018-09-11 14:57:14 -07:00
hdd qcacld-3.0: Add support to configure the HE OM control support 2018-09-11 16:42:01 -07:00
mac Release 5.2.0.96I 2018-09-11 16:42:06 -07:00
pld qcacld-3.0: Add shutdown/reinit support for PLD_CNSS_USB 2018-07-19 08:32:41 -07:00
sap qcacld-3.0: allow STA SAP SCC on DFS 2018-09-11 08:44:08 -07:00
sme qcacld-3.0: Add support to configure the HE OM control support 2018-09-11 16:42:01 -07:00
wma qcacld-3.0: Add vdev_active validation for wmi commands 2018-09-11 18:27:15 -07:00