From 877b298b8352eba96f71359d1c5248f474405fcd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 20 Feb 2016 22:15:12 +0100 Subject: [PATCH] mt7603: insert seqno into txd Signed-off-by: Felix Fietkau --- mt7603_mac.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mt7603_mac.c b/mt7603_mac.c index 7223a911..38e77ea3 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -628,7 +628,10 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi, tx_count = rate->count; } - txwi[3] = cpu_to_le32(MT76_SET(MT_TXD3_REM_TX_COUNT, tx_count)); + txwi[3] = cpu_to_le32( + MT76_SET(MT_TXD3_REM_TX_COUNT, tx_count) | + MT76_SET(MT_TXD3_SEQ, le16_to_cpu(hdr->seq_ctrl)) + ); if (info->flags & IEEE80211_TX_CTL_LDPC) txwi[6] |= cpu_to_le32(MT_TXD6_LDPC);