aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorIdo Yariv <ido@wizery.com>2011-06-24 06:03:36 -0400
committerLuciano Coelho <coelho@ti.com>2011-07-05 14:33:44 -0400
commit787b2dc44aa1ae2524f022659c6c6b2d3c979e04 (patch)
treefa05e061059003a72a431ae56e541b49511aa3be /drivers/net/wireless/wl12xx/wl12xx.h
parent9e374a37b6fa2310b71d3c5657cd0c1e693120c6 (diff)
wl12xx: Increase low & high TX watermarks
The current TX watermark settings cause the driver to stop queues too frequently. Among other things, this can have a negative impact on WMM prioritization, since mac80211 sorts pending packets by their ACs. Fix this by increasing the high watermark to 256 packets. Increase the low watermark to 32 to minimize periods with queues being stopped. Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl12xx.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl12xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h
index c6bf4b4e15d8..000dfcd22556 100644
--- a/drivers/net/wireless/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/wl12xx/wl12xx.h
@@ -639,8 +639,8 @@ size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen);
639 639
640#define WL1271_DEFAULT_POWER_LEVEL 0 640#define WL1271_DEFAULT_POWER_LEVEL 0
641 641
642#define WL1271_TX_QUEUE_LOW_WATERMARK 10 642#define WL1271_TX_QUEUE_LOW_WATERMARK 32
643#define WL1271_TX_QUEUE_HIGH_WATERMARK 25 643#define WL1271_TX_QUEUE_HIGH_WATERMARK 256
644 644
645#define WL1271_DEFERRED_QUEUE_LIMIT 64 645#define WL1271_DEFERRED_QUEUE_LIMIT 64
646 646