qcacmn: Add Agile Spectral frequency to Spectral SAMP message

Add Agile Spectral frequency to Spectral SAMP message and populate the
same. This coexists with the pre-existing operational frequency in
SAMP message for the sake of flexibility.

Change-Id: Iadb8efeaac924df5b0ac9a83f630206b2ef93052
CRs-Fixed: 2545763
This commit is contained in:
Krishna Rao
2019-10-15 16:57:02 +05:30
committed by nshrivas
parent be7b7b2562
commit 5304724e59
4 changed files with 13 additions and 0 deletions

View File

@@ -427,6 +427,9 @@ struct spectral_samp_data {
* @freq: Operating frequency in MHz
* @vhtop_ch_freq_seg1: VHT Segment 1 centre frequency in MHz
* @vhtop_ch_freq_seg2: VHT Segment 2 centre frequency in MHz
* @agile_freq: Center frequency in MHz of the entire span across which
* Agile Spectral is carried out. Applicable only for Agile
* Spectral samples.
* @freq_loading: How busy was the channel
* @dcs_enabled: Whether DCS is enabled
* @int_type: Interference type indicated by DCS
@@ -438,6 +441,7 @@ struct spectral_samp_msg {
uint16_t freq;
uint16_t vhtop_ch_freq_seg1;
uint16_t vhtop_ch_freq_seg2;
uint16_t agile_freq;
uint16_t freq_loading;
uint16_t dcs_enabled;
enum dcs_int_type int_type;