qcacmn: Add support for RF characterization WMI event

Add support to read the RF characterization WMI event
and parse each individual TLV containing the channel's
center frequency, bandwidth and RF characterization
metric.

Also, remove the support for reading the RF
characterization metrics from the extended
service ready WMI event.

Change-Id: I560583f9304005282c09a27f47c8d5c2778b1645
CRs-Fixed: 2487415
This commit is contained in:
Aditya Sathish
2019-07-11 10:44:51 +05:30
committed by nshrivas
parent 1530697064
commit 7de5d4f264
10 changed files with 84 additions and 147 deletions

View File

@@ -4860,6 +4860,7 @@ typedef enum {
wmi_pdev_interop_issues_ap_event_id,
#endif
wmi_coex_report_antenna_isolation_event_id,
wmi_chan_rf_characterization_info_event_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -7167,6 +7168,18 @@ struct wmi_host_dcs_interference_param {
uint32_t pdev_id;
};
/**
* struct wmi_host_rf_characterization_event_param - rf characterization table
* @freq: center frequency of primary channel (in MHz)
* @bw: bandwidth of primary channel (in MHz)
* @chan_metric: primary channel-specific metric
*/
struct wmi_host_rf_characterization_event_param {
uint16_t freq;
wmi_host_channel_width bw;
uint8_t chan_metric;
};
/*
* struct wmi_host_fips_event_param: FIPS event param
* @pdev_id: pdev id