Эх сурвалжийг харах

qcacmn: Read csa_beacon_template service

check csa_beacon_template service and set
WLAN_SOC_CEXT_CSA_OFFLOAD/25th bit of
soc_fw_ext_caps in psoc if service is
supported by fw.

Change-Id: I8dca74c805cc8696f261e0f791818bca579c80c8
CRs-Fixed: 2826451
sheenam monga 4 жил өмнө
parent
commit
0d42f3216a

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

@@ -171,6 +171,10 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
 		wlan_psoc_nif_fw_ext_cap_set(psoc,
 					     WLAN_SOC_CEXT_SCAN_PER_CH_CONFIG);
 
+	if (wmi_service_enabled(wmi_handle, wmi_service_csa_beacon_template))
+		wlan_psoc_nif_fw_ext_cap_set(psoc,
+					     WLAN_SOC_CEXT_CSA_TX_OFFLOAD);
+
 	/* override derived value, if it exceeds max peer count */
 	if ((wlan_psoc_get_max_peer_count(psoc) >
 		tgt_hdl->info.wlan_res_cfg.num_active_peers) &&

+ 2 - 0
umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h

@@ -144,6 +144,8 @@
 #define WLAN_SOC_CEXT_MBSS_PARAM_IN_START   0x00800000
 /* Per channel scan config flags support */
 #define WLAN_SOC_CEXT_SCAN_PER_CH_CONFIG    0x01000000
+	/* CAPABILITY: csa offload in case of AP */
+#define WLAN_SOC_CEXT_CSA_TX_OFFLOAD      0x02000000
 
 /* feature_flags */
 	/* CONF: ATH FF enabled */