diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-11-27 01:45:00 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-05 02:43:33 -0500 |
commit | 0e81047996fdde7fc9e8a1c01d532df1f53586fa (patch) | |
tree | 5058e4ef6c04c1468de4f6c333ebbb59e702c6e0 /drivers/net/wireless/ti/wl12xx | |
parent | 9ebcb232158c737db21e22b7bfdc4fc6d661ea8c (diff) |
wlcore: improved Tx scheduling algorithm
Prioritize EDCA by choosing the AC before anything else. Use the
fast/slow link bitmap in FW to improve the scheduling algorithm for
the multi-link scenario.
Set packet thresholds to determine if a given link is high or low
priority according to its speed. A slow link will be given high priority
if the amount of packets queued for it in the FW is lower than the
slow-threshold. Similarly, a fast link will be given high priority if
the number of its packets queued in FW is smaller than the high-threshold.
The improved algorithm:
1. Choose optimal AC according to FW utilization
2. Traversing the VIFs in a round-robin fashion, try to choose a high
priority link. Links are traversed in a round-robin fashion inside a
VIF.
3. If no high priority links are found, choose the first non-empty
(low priority) link found in the round robin.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx')
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c index d22b52f90d42..64dffafa35fb 100644 --- a/drivers/net/wireless/ti/wl12xx/main.c +++ b/drivers/net/wireless/ti/wl12xx/main.c | |||
@@ -210,6 +210,8 @@ static struct wlcore_conf wl12xx_conf = { | |||
210 | .tmpl_short_retry_limit = 10, | 210 | .tmpl_short_retry_limit = 10, |
211 | .tmpl_long_retry_limit = 10, | 211 | .tmpl_long_retry_limit = 10, |
212 | .tx_watchdog_timeout = 5000, | 212 | .tx_watchdog_timeout = 5000, |
213 | .slow_link_thold = 3, | ||
214 | .fast_link_thold = 10, | ||
213 | }, | 215 | }, |
214 | .conn = { | 216 | .conn = { |
215 | .wake_up_event = CONF_WAKE_UP_EVENT_DTIM, | 217 | .wake_up_event = CONF_WAKE_UP_EVENT_DTIM, |