Parcourir la source

qcacld-3.0: Send dfs offload enable command based on service bit

Send dfs offload enable command to firmware if phyerror offload
service bit is enabled.

Change-Id: If84164ae6dec8585e5895ee526750df5b15c201f
CRs-Fixed: 2264638
Arif Hussain il y a 6 ans
Parent
commit
db6e4e96b4
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      core/wma/src/wma_main.c

+ 3 - 0
core/wma/src/wma_main.c

@@ -5841,6 +5841,9 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
 	wma_handle->is_dfs_offloaded =
 		wmi_service_enabled(wmi_handle,
 			wmi_service_dfs_phyerr_offload);
+	if (wma_handle->is_dfs_offloaded)
+		wmi_unified_dfs_phyerr_offload_en_cmd(wmi_handle, 0);
+
 	wma_handle->nan_datapath_enabled =
 		wmi_service_enabled(wma_handle->wmi_handle,
 			wmi_service_nan_data);