Commit cbbfd737 authored by Felix Fietkau's avatar Felix Fietkau

mt76: throttle transmission of buffered multicast packets

Avoids drowning out regular transmissions
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 9fe31054
......@@ -121,9 +121,10 @@ static void mt76x02_pre_tbtt_tasklet(unsigned long arg)
ieee80211_iterate_active_interfaces_atomic(mt76_hw(dev),
IEEE80211_IFACE_ITER_RESUME_ALL,
mt76x02_add_buffered_bc, &data);
} while (nframes != skb_queue_len(&data.q));
} while (nframes != skb_queue_len(&data.q) &&
skb_queue_len(&data.q) < 8);
if (!nframes)
if (!skb_queue_len(&data.q))
return;
for (i = 0; i < ARRAY_SIZE(data.tail); i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment