Forráskód Böngészése

qcacmn: WMI support for Tx Mode Select

When MSCS feature is enabled, Host needs to send WMI command to
FW to enable tx mode selection

Change-Id: I84372f2e83f2faa6c90436d927410d1af636246e
Mainak Sen 4 éve
szülő
commit
e66ef5081e
2 módosított fájl, 15 hozzáadás és 0 törlés
  1. 10 0
      wmi/inc/wmi_unified_param.h
  2. 5 0
      wmi/inc/wmi_unified_priv.h

+ 10 - 0
wmi/inc/wmi_unified_param.h

@@ -8475,4 +8475,14 @@ struct wmi_raw_event_buffer {
 	void *evt_processed_buf;
 };
 
+/**
+ * struct wmi_pdev_enable_tx_mode_selection - fw tx mode selection
+ * @pdev_id: radio id
+ * @enable_tx_mode_selection: flag to enable tx mode selection
+ */
+struct wmi_pdev_enable_tx_mode_selection {
+	uint32_t pdev_id;
+	uint32_t enable_tx_mode_selection;
+};
+
 #endif /* _WMI_UNIFIED_PARAM_H_ */

+ 5 - 0
wmi/inc/wmi_unified_priv.h

@@ -2448,6 +2448,11 @@ QDF_STATUS (*send_vdev_tsf_tstamp_action_cmd)(wmi_unified_t wmi,
 QDF_STATUS (*extract_vdev_tsf_report_event)(wmi_unified_t wmi_handle,
 					    void *evt_buf,
 					    struct wmi_host_tsf_event *param);
+#ifdef WMI_AP_SUPPORT
+QDF_STATUS (*set_radio_tx_mode_select_cmd)(
+				wmi_unified_t wmi,
+				struct wmi_pdev_enable_tx_mode_selection *param);
+#endif
 };
 
 /* Forward declartion for psoc*/