qcacmn: fill htt peer data version as part of init cmd

With latest architecture there are different HTT peer
data versions supported by the firmware, supported htt peer
version will be sent in the service ready and need to feedback
to the firmware in the init command.

Change-Id: Icd0470843198387cd7e0192cbe3821d45ef0534e
CRs-Fixed: 3008706
This commit is contained in:
Arun Kumar Khandavalli
2021-07-20 20:12:01 +05:30
committed by Madan Koyyalamudi
parent 8cdc1875ae
commit 09cd3e0dd9
5 changed files with 30 additions and 1 deletions

View File

@@ -7595,6 +7595,9 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
if (tgt_res_cfg->twt_ack_support_cap)
WMI_RSRC_CFG_HOST_SERVICE_FLAG_STA_TWT_SYNC_EVT_SUPPORT_SET(
resource_cfg->host_service_flags, 1);
WMI_TARGET_CAP_FLAGS_RX_PEER_METADATA_VERSION_SET(resource_cfg->flags2,
tgt_res_cfg->target_cap_flags);
}
/* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd
@@ -11418,7 +11421,8 @@ extract_service_ready_ext2_tlv(wmi_unified_t wmi_handle, uint8_t *event,
ev->max_user_per_ppdu_mumimo);
param->max_users_ul_mumimo = WMI_MAX_USER_PER_PPDU_UL_MUMIMO_GET(
ev->max_user_per_ppdu_mumimo);
param->target_cap_flags = ev->target_cap_flags;
wmi_debug("htt peer data :%d", ev->target_cap_flags);
return QDF_STATUS_SUCCESS;
}