diff options
author | Juuso Oikarinen | 2010-02-22 07:38:33 +0100 |
---|---|---|
committer | John W. Linville | 2010-03-09 21:03:02 +0100 |
commit | 06f7bc7db79fabe6b2ec16eff0f59e4acc21eb72 (patch) | |
tree | 98db914af4e42ec79c78cb631dbaa7cff531f179 /drivers/net/wireless/wl12xx/wl1271.h | |
parent | wl1271: Fix ad-hoc mode neighborhood detection (diff) | |
download | kernel-qcow2-linux-06f7bc7db79fabe6b2ec16eff0f59e4acc21eb72.tar.gz kernel-qcow2-linux-06f7bc7db79fabe6b2ec16eff0f59e4acc21eb72.tar.xz kernel-qcow2-linux-06f7bc7db79fabe6b2ec16eff0f59e4acc21eb72.zip |
wl1271: Fix queue stopping/waking for TX path
The queue stopping/waking functionality was broken in a way that could
cause huge latencies in TX transfers and even cause the TX to stall in the
right circumstances. Correct these problems.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h index cc974eae009e..7f03f899b2b0 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl1271.h @@ -491,7 +491,8 @@ int wl1271_plt_stop(struct wl1271 *wl); #define WL1271_DEFAULT_POWER_LEVEL 0 -#define WL1271_TX_QUEUE_MAX_LENGTH 20 +#define WL1271_TX_QUEUE_LOW_WATERMARK 10 +#define WL1271_TX_QUEUE_HIGH_WATERMARK 25 /* WL1271 needs a 200ms sleep after power on, and a 20ms sleep before power on in case is has been shut down shortly before */ |