qcacmn: CFR WMI implementation

CFR config is passed on to FW through WMI
CFR feature code is moved into feature specific WMI file.

Change-Id: I00b57ea2ef4ec5520eb565910ac2c0a6478170e3
CRs-Fixed: 2582846
このコミットが含まれているのは:
Adwait Nayak
2019-10-14 16:41:14 +05:30
committed by nshrivas
コミット e2ee56e574
10個のファイルの変更477行の追加199行の削除

ファイルの表示

@@ -65,6 +65,10 @@
#include <wlan_interop_issues_ap_public_structs.h>
#endif
#ifdef WLAN_CFR_ENABLE
#include <wmi_unified_cfr_param.h>
#endif
#define WMI_UNIFIED_MAX_EVENT 0x100
#ifdef WMI_EXT_DBG
@@ -2022,9 +2026,6 @@ QDF_STATUS (*extract_dfs_status_from_fw)(wmi_unified_t wmi_handle,
uint32_t *dfs_status_check);
#endif
QDF_STATUS
(*extract_cfr_peer_tx_event_param)(wmi_unified_t wmi_handle, void *evt_buf,
wmi_cfr_peer_tx_event_param * peer_tx_event);
#ifdef OBSS_PD
QDF_STATUS (*send_obss_spatial_reuse_set)(wmi_unified_t wmi_handle,
@@ -2046,9 +2047,18 @@ QDF_STATUS (*send_peer_del_all_wds_entries_cmd)(wmi_unified_t wmi_handle,
struct peer_del_all_wds_entries_params *param);
#ifdef WLAN_CFR_ENABLE
QDF_STATUS
(*extract_cfr_peer_tx_event_param)(wmi_unified_t wmi_handle, void *evt_buf,
wmi_cfr_peer_tx_event_param *peer_tx_event);
QDF_STATUS (*send_peer_cfr_capture_cmd)(wmi_unified_t wmi_handle,
struct peer_cfr_params *param);
#ifdef WLAN_ENH_CFR_ENABLE
QDF_STATUS (*send_cfr_rcc_cmd)(wmi_unified_t wmi_handle,
struct cfr_rcc_param *cfg);
#endif
#endif
#ifdef WMI_AP_SUPPORT
QDF_STATUS (*send_vdev_pcp_tid_map_cmd)(wmi_unified_t wmi_handle,
struct vap_pcp_tid_map_params *param);
@@ -2627,4 +2637,12 @@ static inline QDF_STATUS wmi_ext_dbgfs_deinit(struct wmi_unified *wmi_handle)
}
#endif /*WMI_EXT_DBG */
#ifdef WLAN_CFR_ENABLE
void wmi_cfr_attach_tlv(struct wmi_unified *wmi_handle);
#else
static inline void wmi_cfr_attach_tlv(struct wmi_unified *wmi_handle)
{
}
#endif
#endif