浏览代码

qcacmn: Add P2P_P2P_CONCURRENCY_SUPPORT wmi service support

Add P2P_P2P_CONCURRENCY_SUPPORT service capablity to
validate whether fw can support p2p concurrency
support or not. when firmware advertises this flag it
can support MCC,SCC, DBS for p2p-GO/GC + p2p-GO/GC.

Change-Id: Ifec4bf984595b06374be9024601733c8537a9c3e
CRs-Fixed: 2984165
sheenam monga 4 年之前
父节点
当前提交
b8483edd35
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 3 0
      wmi/inc/wmi_unified_param.h
  2. 4 0
      wmi/src/wmi_unified_tlv.c

+ 3 - 0
wmi/inc/wmi_unified_param.h

@@ -5275,6 +5275,9 @@ typedef enum {
 	wmi_service_rtt_ap_initiator_staggered_mode_supported,
 	wmi_service_rtt_ap_initiator_bursted_mode_supported,
 	wmi_service_aoa_for_rcc_supported,
+#ifdef WLAN_FEATURE_P2P_P2P_STA
+	wmi_service_p2p_p2p_cc_support,
+#endif
 	wmi_services_max,
 } wmi_conv_service_ids;
 #define WMI_SERVICE_UNAVAILABLE 0xFFFF

+ 4 - 0
wmi/src/wmi_unified_tlv.c

@@ -16502,6 +16502,10 @@ static void populate_tlv_service(uint32_t *wmi_service)
 	wmi_service[wmi_service_aoa_for_rcc_supported] =
 			WMI_SERVICE_AOA_FOR_RCC_SUPPORTED;
 #endif
+#ifdef WLAN_FEATURE_P2P_P2P_STA
+	wmi_service[wmi_service_p2p_p2p_cc_support] =
+			WMI_SERVICE_P2P_P2P_CONCURRENCY_SUPPORT;
+#endif
 }
 
 /**