qcacmn: Abort only host scans on roam start notification

The roam sequence in LFR-3.0 is roam scan start notification
from firmware followed by roam start indication and then
roam synch,roam synch frame events. Roam start is sent
after candidate selection and host driver will disable
queues when roam start is received.
But for emergency roam trigger, firmware sends roam start
indication directly without notifying roam scan start to disable
data path queues immediately after deauth received from the AP.
So roam start is received before roam scan is started at firmware
and before candidate selection is done.

After roam start notification, host sends scan abort for all scan
on vdev by setting scan command request type to
WMI_SCN_STOP_VAP_ALL. This results in roam scan getting aborted at
firmare in emergency deauth roaming case and roaming fails.

Introduce new vdev id value based on which the scan module will
abort only host triggered scans setting the flag
WMI_SCN_STOP_HOST_VAP_ALL in the scan request.

Change-Id: I3a162c55d4a008ff986fd957bed395b39c060bb5
CRs-Fixed: 2636410
This commit is contained in:
Pragaspathi Thilagaraj
2020-03-18 13:05:51 +05:30
committed by nshrivas
parent 868ce7c912
commit 0150333a89
8 changed files with 22 additions and 6 deletions

View File

@@ -5124,6 +5124,7 @@ typedef enum {
wmi_roam_scan_chan_list_to_host_support,
wmi_beacon_protection_support,
wmi_service_sta_nan_ndi_four_port,
wmi_service_host_scan_stop_vdev_all,
wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF