qcacld-3.0: Abort only host scans on roam start

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.

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

Change-Id: Ie8b005285973461f654329e1b2dc1a45205331f5
CRs-Fixed: 2644323
This commit is contained in:
Pragaspathi Thilagaraj
2020-03-18 12:23:46 +05:30
committed by nshrivas
vanhempi ea4abd6819
commit 7e28d569ca
5 muutettua tiedostoa jossa 57 lisäystä ja 1 poistoa

Näytä tiedosto

@@ -804,6 +804,15 @@ QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_get_bigtk_support(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_get_host_scan_abort_support() - Get support for stop all host
* scans service capability.
* @psoc: PSOC object pointer
*
* Return: True if capability is supported, else False
*/
bool wlan_mlme_get_host_scan_abort_support(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
* info for SAP

Näytä tiedosto

@@ -952,6 +952,8 @@ struct wlan_mlme_chain_cfg {
* struct mlme_tgt_caps - mlme related capability coming from target (FW)
* @data_stall_recovery_fw_support: does target supports data stall recovery.
* @bigtk_support: does the target support bigtk capability or not.
* @stop_all_host_scan_support: Target capability that indicates if the target
* supports stop all host scan request type.
*
* Add all the mlme-tgt related capablities here, and the public API would fill
* the related capability in the required mlme cfg structure.
@@ -959,6 +961,7 @@ struct wlan_mlme_chain_cfg {
struct mlme_tgt_caps {
bool data_stall_recovery_fw_support;
bool bigtk_support;
bool stop_all_host_scan_support;
};
/**
@@ -1137,6 +1140,8 @@ struct wlan_mlme_chainmask {
* @enable_peer_unmap_conf_support: Indicate whether to send conf for peer unmap
* @dfs_chan_ageout_time: Set DFS Channel ageout time
* @bigtk_support: Whether BIGTK is supported or not
* @stop_all_host_scan_support: Target capability that indicates if the target
* supports stop all host scan request type.
*/
struct wlan_mlme_generic {
enum band_info band_capability;
@@ -1174,6 +1179,7 @@ struct wlan_mlme_generic {
bool enable_peer_unmap_conf_support;
uint8_t dfs_chan_ageout_time;
bool bigtk_support;
bool stop_all_host_scan_support;
};
/*