qcacmn: Add support to process channel avoidance event

Add support to process channel avoidance event

Change-Id: I19ce742406a4778ac0f279faf0bf853bc9069eb0
CRs-Fixed: 2080241
This commit is contained in:
Kiran Kumar Lokere
2017-06-30 19:13:02 -07:00
committed by snandini
parent 20b086b6cd
commit 82ec577686
2 changed files with 20 additions and 0 deletions

View File

@@ -1332,6 +1332,11 @@ QDF_STATUS (*extract_reg_11d_new_country_event)(wmi_unified_t wmi_handle,
struct reg_11d_new_country *reg_11d_country, struct reg_11d_new_country *reg_11d_country,
uint32_t len); uint32_t len);
QDF_STATUS (*extract_reg_ch_avoid_event)(wmi_unified_t wmi_handle,
uint8_t *evt_buf,
struct ch_avoid_ind_type *ch_avoid_event,
uint32_t len);
QDF_STATUS (*extract_chainmask_tables)(wmi_unified_t wmi_handle, QDF_STATUS (*extract_chainmask_tables)(wmi_unified_t wmi_handle,
uint8_t *evt_buf, uint8_t *evt_buf,
struct wlan_psoc_host_chainmask_table *chainmask_table); struct wlan_psoc_host_chainmask_table *chainmask_table);

View File

@@ -82,4 +82,19 @@ QDF_STATUS wmi_extract_reg_11d_new_cc_event(void *wmi_hdl,
*/ */
QDF_STATUS wmi_unified_set_user_country_code_cmd_send(void *wmi_hdl, QDF_STATUS wmi_unified_set_user_country_code_cmd_send(void *wmi_hdl,
uint8_t pdev_id, struct cc_regdmn_s *rd); uint8_t pdev_id, struct cc_regdmn_s *rd);
/**
* wmi_extract_reg_ch_avoid_event() - process freq avoid event
* @wmi_hdl: wmi handle.
* @evt_buf: event buffer
* @ch_avoid_ind: buffer pointer to save the event processed data
* @len: lenght of buffer
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_extract_reg_ch_avoid_event(void *wmi_hdl,
uint8_t *evt_buf,
struct ch_avoid_ind_type *ch_avoid_ind,
uint32_t len);
#endif /* _WMI_UNIFIED_REG_API_H_ */ #endif /* _WMI_UNIFIED_REG_API_H_ */