mt7603: set BA disable flag for no-AMPDU frames

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-20 21:41:53 +01:00
parent 84031b4c4c
commit 3445cd4362
+3
View File
@@ -601,6 +601,9 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi,
MT76_SET(MT_TXD2_MULTICAST, is_multicast_ether_addr(hdr->addr1))
);
if (!(info->flags & IEEE80211_TX_CTL_AMPDU))
txwi[2] |= cpu_to_le32(MT_TXD2_BA_DISABLE);
txwi[4] = 0;
txwi[5] = cpu_to_le32(
MT_TXD5_TX_STATUS_HOST | MT_TXD5_SW_POWER_MGMT |