qcacmn: Add ema_init_config to target_resource_config

Add new field ema_init_config to signal the configured value of
beacon size while using MBSSID feature in 6Ghz.

The current allowed range is 1500-3500 bytes.

CRs-fixed: 3004041
Change-Id: Id8cc1b7e4602b2e52b8eb215337070c6e3c26089
This commit is contained in:
Gyanranjan Hazarika
2021-07-20 16:37:46 -07:00
committed by Madan Koyyalamudi
parent b8483edd35
commit 6f86a02b32
2 changed files with 2 additions and 0 deletions

View File

@@ -5538,6 +5538,7 @@ typedef struct {
bool sae_eapol_offload; bool sae_eapol_offload;
bool dynamic_pcie_gen_speed_change; bool dynamic_pcie_gen_speed_change;
bool twt_ack_support_cap; bool twt_ack_support_cap;
uint32_t ema_init_config;
} target_resource_config; } target_resource_config;
/** /**

View File

@@ -7426,6 +7426,7 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
resource_cfg->ema_max_vap_cnt = tgt_res_cfg->ema_max_vap_cnt; resource_cfg->ema_max_vap_cnt = tgt_res_cfg->ema_max_vap_cnt;
resource_cfg->ema_max_profile_period = resource_cfg->ema_max_profile_period =
tgt_res_cfg->ema_max_profile_period; tgt_res_cfg->ema_max_profile_period;
resource_cfg->ema_init_config = tgt_res_cfg->ema_init_config;
if (tgt_res_cfg->max_ndp_sessions) if (tgt_res_cfg->max_ndp_sessions)
resource_cfg->max_ndp_sessions = resource_cfg->max_ndp_sessions =