Browse Source

qcacmn: Add support for sending TWT enable command

Add WMI support for building and sending the
WMI_TWT_ENABLE_CMDID to the firmware.

Change-Id: Ifbda4d1668e2bcb2e33d044269908e8d4c8333a5
CRs-Fixed: 2244214
Varun Reddy Yeturu 7 years ago
parent
commit
febcf8c412
2 changed files with 10 additions and 0 deletions
  1. 1 0
      wmi_unified_param.h
  2. 9 0
      wmi_unified_twt_api.h

+ 1 - 0
wmi_unified_param.h

@@ -5523,6 +5523,7 @@ typedef enum {
 #if defined(WLAN_DFS_PARTIAL_OFFLOAD) && defined(HOST_DFS_SPOOF_TEST)
 #if defined(WLAN_DFS_PARTIAL_OFFLOAD) && defined(HOST_DFS_SPOOF_TEST)
 	wmi_host_dfs_status_check_event_id,
 	wmi_host_dfs_status_check_event_id,
 #endif
 #endif
+	wmi_twt_enable_complete_event_id,
 
 
 	wmi_events_max,
 	wmi_events_max,
 } wmi_conv_event_id;
 } wmi_conv_event_id;

+ 9 - 0
wmi_unified_twt_api.h

@@ -164,4 +164,13 @@ QDF_STATUS wmi_extract_twt_resume_dialog_comp_event(void *wmi_hdl,
 		uint8_t *evt_buf,
 		uint8_t *evt_buf,
 		struct wmi_twt_resume_dialog_complete_event_param *params);
 		struct wmi_twt_resume_dialog_complete_event_param *params);
 
 
+#ifdef WLAN_SUPPORT_TWT
+void wmi_twt_attach_tlv(struct wmi_unified *wmi_handle);
+#else
+static void wmi_twt_attach_tlv(struct wmi_unified *wmi_handle)
+{
+	return;
+}
+#endif
+
 #endif /* _WMI_UNIFIED_TWT_API_H_ */
 #endif /* _WMI_UNIFIED_TWT_API_H_ */