qcacld-3.0: Add vendor attribute to optimize roam full scan

User can include/exclude the frequencies in roam full scan that
were already scanned by the previous partial scan, using the new
vendor attribute introduced as part of roam vendor command.
Host sends the configured value to firmware.
As per current implementation of roam scan, if there are no APs
found during partial scan, immediately a full scan will be
initiated as a fallback. This includes all channels that were
already scanned as part of partial scan.
This attribute controls the optimization, to exclude all channels
which are already scanned as part of partial scan.

Change-Id: Icd6381b4daadcfe32dabda131ae92e2e32f07f1d
CRs-Fixed: 3343657
This commit is contained in:
Srikanth Marepalli
2022-11-29 12:00:01 +05:30
committed by Madan Koyyalamudi
parent b67fccc360
commit 15bbff508e
12 changed files with 275 additions and 0 deletions

View File

@@ -1907,6 +1907,8 @@ struct fw_scan_channels {
* @beaconloss_timeout_onsleep: time in sec to configure FW BMISS event
* during sleep.
* @roam_ho_delay_config: Roam HO delay value
* @exclude_rm_partial_scan_freq: Exclude the channels in roam full scan that
* are already scanned as part of partial scan.
*/
struct wlan_mlme_lfr_cfg {
bool mawc_roam_enabled;
@@ -2030,6 +2032,7 @@ struct wlan_mlme_lfr_cfg {
uint8_t beaconloss_timeout_onwakeup;
uint8_t beaconloss_timeout_onsleep;
uint16_t roam_ho_delay_config;
uint8_t exclude_rm_partial_scan_freq;
};
/**