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

@@ -1752,9 +1752,15 @@ QDF_STATUS (*extract_reg_ch_avoid_event)(wmi_unified_t wmi_handle,
uint32_t len);
#ifdef WLAN_SUPPORT_RF_CHARACTERIZATION
QDF_STATUS (*extract_num_rf_characterization_entries)(wmi_unified_t wmi_hdl,
uint8_t *evt_buf,
uint32_t *num_rf_characterization_entries);
QDF_STATUS (*extract_rf_characterization_entries)(wmi_unified_t wmi_handle,
uint8_t *evt_buf,
struct wlan_psoc_host_rf_characterization_entry *rf_characterization_entries);
uint32_t num_rf_characterization_entries,
struct wmi_host_rf_characterization_event_param *rf_characterization_entries);
#endif
QDF_STATUS (*extract_chainmask_tables)(wmi_unified_t wmi_handle,