qcacmn: Add Spectral feature capabilities

Add the following Spectral scan capabilities at the pdev level.
 a) Normal Spectral scan capability
 b) Agile Spectral scan capability for 20/40/80 MHz
 c) Agile Spectral scan capability for 160 MHz
 d) Agile Spectral scan capability for 80+80 MHz

Also change the definition of existing Spectral scan capability
at psoc level.

CRs-Fixed: 2840144
Change-Id: I18be48ec4095fa29b62800a9df58b72295747547
This commit is contained in:
Edayilliam Jayadev
2020-12-17 08:55:58 +05:30
committed by snandini
parent b3e677f722
commit 8f57245a44
4 changed files with 13 additions and 4 deletions

View File

@@ -503,7 +503,8 @@ wlan_spectral_psoc_obj_create_handler(struct wlan_objmgr_psoc *psoc, void *arg)
}
if (cfg_get(psoc, CFG_SPECTRAL_DISABLE)) {
wlan_psoc_nif_feat_cap_set(psoc, WLAN_SOC_F_SPECTRAL_DISABLE);
wlan_psoc_nif_feat_cap_set(psoc,
WLAN_SOC_F_SPECTRAL_INI_DISABLE);
spectral_info("Spectral is disabled");
return QDF_STATUS_COMP_DISABLED;
}