diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-02-22 01:38:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 15:03:02 -0500 |
commit | 06f7bc7db79fabe6b2ec16eff0f59e4acc21eb72 (patch) | |
tree | 98db914af4e42ec79c78cb631dbaa7cff531f179 /drivers/net/wireless/wl12xx/wl1271.h | |
parent | 15305498a443c181c8fb5deafb94eae585fe3ad5 (diff) |
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); | |||
491 | 491 | ||
492 | #define WL1271_DEFAULT_POWER_LEVEL 0 | 492 | #define WL1271_DEFAULT_POWER_LEVEL 0 |
493 | 493 | ||
494 | #define WL1271_TX_QUEUE_MAX_LENGTH 20 | 494 | #define WL1271_TX_QUEUE_LOW_WATERMARK 10 |
495 | #define WL1271_TX_QUEUE_HIGH_WATERMARK 25 | ||
495 | 496 | ||
496 | /* WL1271 needs a 200ms sleep after power on, and a 20ms sleep before power | 497 | /* WL1271 needs a 200ms sleep after power on, and a 20ms sleep before power |
497 | on in case is has been shut down shortly before */ | 498 | on in case is has been shut down shortly before */ |