Procházet zdrojové kódy

qcacmn: Add support to process channel avoidance event

Add support to process channel avoidance event

Change-Id: I19ce742406a4778ac0f279faf0bf853bc9069eb0
CRs-Fixed: 2080241
Kiran Kumar Lokere před 8 roky
rodič
revize
82ec577686
2 změnil soubory, kde provedl 20 přidání a 0 odebrání
  1. 5 0
      wmi_unified_priv.h
  2. 15 0
      wmi_unified_reg_api.h

+ 5 - 0
wmi_unified_priv.h

@@ -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,
 		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,
 		uint8_t *evt_buf,
 		struct wlan_psoc_host_chainmask_table *chainmask_table);

+ 15 - 0
wmi_unified_reg_api.h

@@ -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,
 		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_ */