mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: connac: fix uninitialized HT A-MPDU setting field in STA_REC_PHY
The MT7921 firmware needs this to enable tx A-MPDU properly Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -721,6 +721,10 @@ void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
|
||||
phy->phy_type = mt76_connac_get_phy_mode_v2(mphy, vif, band, sta);
|
||||
phy->basic_rate = cpu_to_le16((u16)vif->bss_conf.basic_rates);
|
||||
phy->rcpi = rcpi;
|
||||
phy->ampdu = FIELD_PREP(IEEE80211_HT_AMPDU_PARM_FACTOR,
|
||||
sta->ht_cap.ampdu_factor) |
|
||||
FIELD_PREP(IEEE80211_HT_AMPDU_PARM_DENSITY,
|
||||
sta->ht_cap.ampdu_density);
|
||||
|
||||
tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_RA, sizeof(*ra_info));
|
||||
ra_info = (struct sta_rec_ra_info *)tlv;
|
||||
|
||||
Reference in New Issue
Block a user