From 702f557c754cc7b2af3d9c0c2ec4bd3a1b6d9869 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 20 Jan 2019 14:41:37 +0100 Subject: [PATCH] mt7603: use maximum tx count for buffered multicast packets Should improve stability Signed-off-by: Felix Fietkau --- mt7603/mac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mt7603/mac.c b/mt7603/mac.c index 65a95e0c..b6a86fd0 100644 --- a/mt7603/mac.c +++ b/mt7603/mac.c @@ -912,8 +912,8 @@ 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) + /* use maximum tx count for beacons and buffered multicast */ + if (q >= &dev->mt76.q_tx[MT_TXQ_BEACON]) tx_count = 0x1f; val = FIELD_PREP(MT_TXD3_REM_TX_COUNT, tx_count) |