qcacmn: Add WMI support for DCS AWGN interference detection

Add support for storing AWGN interference information for
dynamic channel selection

CRs-Fixed: 2903860
Change-Id: I5d0b6cc0a55303cfb27a02b99aba066557ad9c7d
This commit is contained in:
Aditya Sathish
2021-03-24 08:27:50 +05:30
committed by snandini
parent 3555f99129
commit b14ef93b0c
2 changed files with 21 additions and 0 deletions

View File

@@ -6445,6 +6445,22 @@ typedef struct {
uint32_t channel;
} wmi_host_ath_dcs_cw_int;
/**
* struct wmi_host_dcs_awgn_info:
* @channel_width : Channel width of interference
* @center_freq : Center frequency of primary channel
* @center_freq0 : Center frequency of segment 1
* @center_freq1 : Center frequency of segment 2
* @chan_bw_intf_bitmap: Per-20MHz interference bitmap
*/
struct wmi_host_dcs_awgn_info {
wmi_host_channel_width channel_width;
uint32_t center_freq;
uint32_t center_freq0;
uint32_t center_freq1;
uint32_t chan_bw_intf_bitmap;
};
#define WMI_MAX_POWER_DBG_ARGS 8
/**

View File

@@ -1645,6 +1645,11 @@ QDF_STATUS (*extract_dcs_cw_int)(wmi_unified_t wmi_handle, void *evt_buf,
QDF_STATUS (*extract_dcs_im_tgt_stats)(wmi_unified_t wmi_handle, void *evt_buf,
wmi_host_dcs_im_tgt_stats_t *wlan_stat);
QDF_STATUS (*extract_dcs_awgn_info)(
wmi_unified_t wmi_handle,
void *evt_buf,
struct wmi_host_dcs_awgn_info *awgn_info);
#endif
QDF_STATUS (*extract_fips_event_data)(wmi_unified_t wmi_handle,