qcacmn: Add host-FW handshake for 320 MHz bang radar support

FW-Host Handshake for BANG_RADAR_320_SUPPORT
1. FW advertises its capability of processing BANG_RADAR_320_SUPPORT
id via wmi service bit 'wmi_service_bang_radar_320_support'.
2. If the host is capable of processing the "BANG_RADAR_320_SUPPORT"
event id, host sends the capability in WMI_INIT_CMDID setting a bit in
host_service_flags

Change-Id: Ia26a7b8e8ee78aceb801d0053770379bd6d5a9cb
CRs-Fixed: 3270525
This commit is contained in:
Jithender Miryala
2022-08-17 16:25:53 +05:30
committed by Madan Koyyalamudi
parent 5b61207f4c
commit 354a68e77c
3 changed files with 15 additions and 0 deletions

View File

@@ -466,6 +466,12 @@ static int init_deinit_service_ext2_ready_event_handler(ol_scn_t scn_handle,
WLAN_SOC_EXT_EVENT_SUPPORTED);
}
if (wmi_service_enabled(wmi_handle,
wmi_service_bang_radar_320_support)) {
info->wlan_res_cfg.is_host_dfs_320mhz_bangradar_supported =
true;
}
/* dbr_ring_caps could have already come as part of EXT event */
if (info->service_ext2_param.num_dbr_ring_caps) {
err_code = init_deinit_populate_dbr_ring_cap_ext2(psoc,