mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 15:39:32 +02:00
mac80211: reduce tx queue length of wireless interfaces - improves latency under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28251 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9618831a64
commit
e9c2d71d92
@ -0,0 +1,10 @@
|
||||
--- a/net/mac80211/iface.c
|
||||
+++ b/net/mac80211/iface.c
|
||||
@@ -685,6 +685,7 @@ static const struct net_device_ops ieee8
|
||||
static void ieee80211_if_setup(struct net_device *dev)
|
||||
{
|
||||
ether_setup(dev);
|
||||
+ dev->tx_queue_len = 32;
|
||||
dev->priv_flags &= ~IFF_TX_SKB_SHARING;
|
||||
netdev_attach_ops(dev, &ieee80211_dataif_ops);
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
|
Loading…
Reference in New Issue
Block a user