mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Update ht cap max amsdu size
When vht cap indicates the vht max MPDU size >= 7991 supported, ht cap A-MSDU length field should indicate 7935 octets supported according to 80211 specification. At present no WMI HT cap defined for ht cap A-MSDU length field from target. Fix the issue by override ht amsdu len to 1 if vht max mpdu len >= 7991 supported by target. Change-Id: I9d2b8c11e7a27e016f618c1a2c8a380d081a6ba7 CRs-Fixed: 2929148
This commit is contained in:
parent
f92ab9faff
commit
a634ee63a2
1 changed files with 2 additions and 1 deletions
|
|
@ -3286,7 +3286,8 @@ mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, struct wma_tgt_vht_cap *cfg)
|
|||
*/
|
||||
if (vht_cap_info->ampdu_len > cfg->vht_max_mpdu)
|
||||
vht_cap_info->ampdu_len = cfg->vht_max_mpdu;
|
||||
|
||||
if (vht_cap_info->ampdu_len >= 1)
|
||||
mlme_obj->cfg.ht_caps.ht_cap_info.maximal_amsdu_size = 1;
|
||||
value = (CFG_VHT_BASIC_MCS_SET_STADEF & VHT_MCS_1x1) |
|
||||
vht_cap_info->basic_mcs_set;
|
||||
if (vht_cap_info->enable2x2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue