From 56640c8b82a5818697d450ba03f0e64b76649919 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 25 Feb 2016 21:32:46 +0100 Subject: [PATCH] mt7603: use maximum tx count for beacons Signed-off-by: Felix Fietkau --- mt7603_mac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mt7603_mac.c b/mt7603_mac.c index 24ba0152..3750afb8 100644 --- a/mt7603_mac.c +++ b/mt7603_mac.c @@ -630,6 +630,10 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi, tx_count = rate->count; } + /* use maximum tx count for beacons */ + if (q->hw_idx == MT_TX_HW_QUEUE_BCN) + tx_count = 0x1f; + 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))