diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-17 08:34:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-17 08:34:42 +0000 |
commit | f01fca29d7fbb6f1d2c1f150046cfb428b100dbd (patch) | |
tree | c1720d7edf24a7f709d3d0a0f15d6799bc069eb9 | |
parent | 1abaf2bb2521dbbf7bfa351a4d1f92d831c5d79e (diff) | |
download | master-187ad058-f01fca29d7fbb6f1d2c1f150046cfb428b100dbd.tar.gz master-187ad058-f01fca29d7fbb6f1d2c1f150046cfb428b100dbd.tar.bz2 master-187ad058-f01fca29d7fbb6f1d2c1f150046cfb428b100dbd.zip |
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
-rw-r--r-- | package/mac80211/patches/522-mac80211_reduce_txqueuelen.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/522-mac80211_reduce_txqueuelen.patch b/package/mac80211/patches/522-mac80211_reduce_txqueuelen.patch new file mode 100644 index 0000000000..948d2043fc --- /dev/null +++ b/package/mac80211/patches/522-mac80211_reduce_txqueuelen.patch @@ -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)) |