Selaa lähdekoodia

qcacmn: Support Multi AST delete service bit info from FW

Add change to fetch and save the WMI service capability of FW to
support multi AST delete using service bit.

Change-Id: I038073085dca1370bafe691b6b0ba8c4476be7a2
CRs-Fixed: 3118892
Santosh Anbu 3 vuotta sitten
vanhempi
sitoutus
9a6e313fed

+ 6 - 0
target_if/init_deinit/src/init_event_handler.c

@@ -268,6 +268,12 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
 		cdp_soc_set_param(wlan_psoc_get_dp_handle(psoc),
 				  DP_SOC_PARAM_CMEM_FSE_SUPPORT, 1);
 
+	/* Send multi_peer_group support to DP layer */
+	if (wmi_service_enabled(wmi_handle,
+				wmi_service_multi_peer_group_cmd_support))
+		cdp_soc_set_param(wlan_psoc_get_dp_handle(psoc),
+				  DP_SOC_PARAM_MULTI_PEER_GRP_CMD_SUPPORT, 1);
+
 	if (wmi_service_enabled(wmi_handle, wmi_service_ext_msg)) {
 		target_if_debug("Wait for EXT message");
 	} else {

+ 1 - 0
wmi/inc/wmi_unified_param.h

@@ -5507,6 +5507,7 @@ typedef enum {
 	wmi_service_mlo_sta_nan_ndi_support,
 #endif
 	wmi_service_pdev_rate_config_support,
+	wmi_service_multi_peer_group_cmd_support,
 	wmi_services_max,
 } wmi_conv_service_ids;
 #define WMI_SERVICE_UNAVAILABLE 0xFFFF

+ 2 - 0
wmi/src/wmi_unified_tlv.c

@@ -18423,6 +18423,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
 #endif
 	wmi_service[wmi_service_pdev_rate_config_support] =
 			WMI_SERVICE_PDEV_RATE_CONFIG_SUPPORT;
+	wmi_service[wmi_service_multi_peer_group_cmd_support] =
+			WMI_SERVICE_MULTIPLE_PEER_GROUP_CMD_SUPPORT;
 }
 
 /**