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

qcacmn: Add bearer switch WMI interface changes

When there are more than one audio transport mediums
are available, there is a possibility to switch the
audio transport medium from one medium to another
medium.
To provide this support to switch the audio transport
medium, and to indicate the status of the bearer
switch to fw, add WMI interface changes.

Change-Id: Ic9a2406e3be339b644ff8918a2a0f95705b0620b
CRs-Fixed: 3653960
Ashish Kumar Dhanotiya 1 éve
szülő
commit
fc3c65c255
3 módosított fájl, 27 hozzáadás és 0 törlés
  1. 5 0
      wmi/inc/wmi_unified_param.h
  2. 17 0
      wmi/inc/wmi_unified_priv.h
  3. 5 0
      wmi/src/wmi_unified_tlv.c

+ 5 - 0
wmi/inc/wmi_unified_param.h

@@ -5373,6 +5373,11 @@ typedef enum {
 	wmi_pdev_enhanced_aoa_phasedelta_eventid,
 #endif
 	wmi_peer_oper_mode_change_event_id,
+
+#ifdef WLAN_FEATURE_LL_LT_SAP
+	wmi_audio_transport_switch_type_event_id,
+#endif
+
 	wmi_events_max,
 } wmi_conv_event_id;
 

+ 17 - 0
wmi/inc/wmi_unified_priv.h

@@ -117,6 +117,10 @@
 #include "wmi_unified_mlme_api.h"
 #endif
 
+#ifdef WLAN_FEATURE_LL_LT_SAP
+#include "wlan_ll_sap_public_structs.h"
+#endif
+
 #define WMI_UNIFIED_MAX_EVENT 0x100
 
 #ifdef WMI_EXT_DBG
@@ -3437,6 +3441,19 @@ QDF_STATUS (*extract_aoa_caps_service_ready_ext2)
 QDF_STATUS (*send_csa_event_status_ind)(
 		wmi_unified_t wmi_handle,
 		struct csa_event_status_ind params);
+
+#ifdef WLAN_FEATURE_LL_LT_SAP
+QDF_STATUS (*send_audio_transport_switch_resp)(
+		wmi_unified_t wmi_hdl,
+		enum bearer_switch_req_type req_type,
+		enum bearer_switch_status status);
+
+QDF_STATUS (*extract_audio_transport_switch_req_event)(
+					wmi_unified_t wmi_hdl,
+					uint8_t *event, uint32_t data_len,
+					enum bearer_switch_req_type *req_type);
+
+#endif /* WLAN_FEATURE_LL_LT_SAP */
 #endif /* QCA_TARGET_IF_MLME */
 };
 

+ 5 - 0
wmi/src/wmi_unified_tlv.c

@@ -22309,6 +22309,11 @@ static void populate_tlv_events_id(WMI_EVT_ID *event_ids)
 	event_ids[wmi_pdev_enhanced_aoa_phasedelta_eventid] =
 			WMI_PDEV_ENHANCED_AOA_PHASEDELTA_EVENTID;
 #endif
+#ifdef WLAN_FEATURE_LL_LT_SAP
+	event_ids[wmi_audio_transport_switch_type_event_id] =
+			WMI_AUDIO_TRANSPORT_SWITCH_TYPE_EVENTID;
+#endif
+
 }
 
 #ifdef WLAN_FEATURE_LINK_LAYER_STATS