projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe3105
)
mt76: throttle transmission of buffered multicast packets
author
Felix Fietkau
<nbd@nbd.name>
Thu, 29 Nov 2018 12:13:54 +0000
(13:13 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 11 Jan 2019 14:10:14 +0000
(15:10 +0100)
Avoids drowning out regular transmissions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c
b/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c
index
6631541
..
6974acc
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c
@@
-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++) {