]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mt76: mt7915: increase tx retry count
authorFelix Fietkau <nbd@nbd.name>
Sat, 8 Aug 2020 19:36:53 +0000 (21:36 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:14 +0000 (18:10 +0200)
Set it to 15 to match reference driver

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c

index 64089a8a01c939e1bcfc2f8b9e472ec6011e0b25..06371d69461829cd17fafe388adad0aa0e9d7fdf 100644 (file)
@@ -571,7 +571,7 @@ void mt7915_mac_write_txwi(struct mt7915_dev *dev, __le32 *txwi,
        bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY;
        u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0;
        __le16 fc = hdr->frame_control;
-       u16 tx_count = 4, seqno = 0;
+       u16 tx_count = 15, seqno = 0;
        u32 val;
 
        if (vif) {