summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1251_init.c
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-11-30 09:18:19 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 00:55:55 +0100
commit86dff7a7955f1e14c1f2c142312462fae70ea7e4 (patch)
tree04b4401a2c8467dcbf00e219c2b222ff45cf20b8 /drivers/net/wireless/wl12xx/wl1251_init.c
parentwl1251: use __dev_alloc_skb() on RX (diff)
downloadlinux-86dff7a7955f1e14c1f2c142312462fae70ea7e4.tar.xz
linux-86dff7a7955f1e14c1f2c142312462fae70ea7e4.zip
wl1251: implement acx_ac_cfg to configure hardware queues
Needed for WMM. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Reviewed-by: Janne Ylalehto <janne.ylalehto@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_init.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_init.c b/drivers/net/wireless/wl12xx/wl1251_init.c
index 5cb573383eeb..5aad56ea7153 100644
--- a/drivers/net/wireless/wl12xx/wl1251_init.c
+++ b/drivers/net/wireless/wl12xx/wl1251_init.c
@@ -294,6 +294,11 @@ static int wl1251_hw_init_tx_queue_config(struct wl1251 *wl)
goto out;
}
+ wl1251_acx_ac_cfg(wl, AC_BE, CWMIN_BE, CWMAX_BE, AIFS_DIFS, TXOP_BE);
+ wl1251_acx_ac_cfg(wl, AC_BK, CWMIN_BK, CWMAX_BK, AIFS_DIFS, TXOP_BK);
+ wl1251_acx_ac_cfg(wl, AC_VI, CWMIN_VI, CWMAX_VI, AIFS_DIFS, TXOP_VI);
+ wl1251_acx_ac_cfg(wl, AC_VO, CWMIN_VO, CWMAX_VO, AIFS_DIFS, TXOP_VO);
+
out:
kfree(config);
return ret;