Browse Source

qcacld-3.0: Get maximum A-MPDU length exponent extension per band

Maximum A-MPDU length exponent extension is supported by band. It may
be supported only in 5 GHz.

Get maximum A-MPDU length exponent extension based on band.

Change-Id: I08f44f3ada014b7a3058adbfa32dd79a71f4d028
CRs-Fixed: 3413673
Bing Sun 2 years ago
parent
commit
46429af3ab
1 changed files with 4 additions and 0 deletions
  1. 4 0
      core/mac/src/pe/lim/lim_utils.c

+ 4 - 0
core/mac/src/pe/lim/lim_utils.c

@@ -7366,6 +7366,8 @@ lim_revise_req_he_cap_per_band(struct mlme_legacy_priv *mlme_priv,
 			mac->he_cap_2g.tx_he_mcs_map_lt_80;
 		he_config->rx_he_mcs_map_lt_80 =
 			mac->he_cap_2g.rx_he_mcs_map_lt_80;
+		he_config->max_ampdu_len_exp_ext =
+			mac->he_cap_2g.max_ampdu_len_exp_ext;
 		he_config->ul_2x996_tone_ru_supp = 0;
 		he_config->num_sounding_gt_80 = 0;
 		he_config->bfee_sts_gt_80 = 0;
@@ -7383,6 +7385,8 @@ lim_revise_req_he_cap_per_band(struct mlme_legacy_priv *mlme_priv,
 
 		he_config->num_sounding_lt_80 =
 			mac->he_cap_5g.num_sounding_lt_80;
+		he_config->max_ampdu_len_exp_ext =
+			mac->he_cap_5g.max_ampdu_len_exp_ext;
 		if (he_config->chan_width_2 ||
 		    he_config->chan_width_3) {
 			he_config->bfee_sts_gt_80 =