qcacld-3.0: Fix regression issue for htMaxRxAMpduFactor set in vht

5G HE80 mode tput will fail due to
"Change-Id: I8e2833a48ca5de0301634a88eb1a66002b4c9c20".

Fix is to set htMaxRxAMpduFactor with maxAMPDULenExp from
vht capability When STA capability is vht capability.

Change-Id: I6b3c2de0c772688e2b736a07528665e1f23eed94
CRs-Fixed: 2553371
This commit is contained in:
hqu 2019-11-08 17:54:21 +08:00 • committed by nshrivas
commit ac3362db81

View file

@ -1630,6 +1630,8 @@ static bool lim_update_sta_ds(struct mac_context *mac_ctx, tpSirMacMgmtHdr hdr,
if (sta_ds->mlmStaContext.vhtCapability &&
IS_DOT11_MODE_VHT(session->dot11mode)) {
sta_ds->htMaxRxAMpduFactor =
vht_caps->maxAMPDULenExp;
sta_ds->vhtLdpcCapable =
(uint8_t)vht_caps->ldpcCodingCap;
if (session->vht_config.su_beam_formee &&