From b9ff4e6de9845420a542c4e78a816162f530605b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 4 Mar 2016 00:00:42 +0100 Subject: [PATCH] mt7603: disable BA for packets using a CCK rate Signed-off-by: Felix Fietkau --- mt7603_mac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mt7603_mac.c b/mt7603_mac.c index 5531e7de..576e9a02 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -651,6 +651,9 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi, if (rate->flags & IEEE80211_TX_RC_SHORT_GI) txwi[6] |= cpu_to_le32(MT_TXD6_SGI); + if (!(rate->flags & IEEE80211_TX_RC_MCS)) + txwi[2] |= cpu_to_le32(MT_TXD2_BA_DISABLE); + tx_count = rate->count; }