qcacmn: WMI changes for Agile Spectral

1) Add Spectral scan mode and agile center frequency in WMI
   commands to indicate the current mode.
2) Obtain the Agile Spectral capability from the chain mask table.

CRs-Fixed: 2455967
Change-Id: I88ba6fc1ecf9b530a6b516d0c1e4ce88702c6d1f
This commit is contained in:
Edayilliam Jayadev
2019-10-23 16:16:18 +05:30
committed by nshrivas
parent 2032554096
commit 97b8676b4e
5 changed files with 92 additions and 49 deletions

View File

@@ -80,6 +80,8 @@ enum spectral_params {
SPECTRAL_PARAM_STOP,
SPECTRAL_PARAM_ENABLE,
SPECTRAL_PARAM_FREQUENCY,
SPECTRAL_PARAM_CHAN_FREQUENCY,
SPECTRAL_PARAM_CHAN_WIDTH,
SPECTRAL_PARAM_MAX,
};
@@ -224,7 +226,7 @@ struct spectral_config {
* @high_level_offset: high_level_offset
* @rssi_thr: rssi_thr
* @default_agc_max_gain: default_agc_max_gain
* @agile_spectral_cap: agile Spectral capability
* @agile_spectral_cap: agile Spectral capability for 20/40/80
* @agile_spectral_cap_160: agile Spectral capability for 160 MHz
* @agile_spectral_cap_80p80: agile Spectral capability for 80p80
*/