mt76: throttle transmission of buffered multicast packets
Avoids drowning out regular transmissions Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
9fe3105465
commit
cbbfd73767
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue