Commit da2fb4e9 authored by Kalle Valo's avatar Kalle Valo Committed by John W. Linville

wl1251: enable WMM

Everything is ready now and we can enable WMM in mac80211.
Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 46cb35f5
...@@ -1388,6 +1388,8 @@ int wl1251_init_ieee80211(struct wl1251 *wl) ...@@ -1388,6 +1388,8 @@ int wl1251_init_ieee80211(struct wl1251 *wl)
wl->hw->wiphy->max_scan_ssids = 1; wl->hw->wiphy->max_scan_ssids = 1;
wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz; wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz;
wl->hw->queues = 4;
ret = wl1251_register_hw(wl); ret = wl1251_register_hw(wl);
if (ret) if (ret)
goto out; goto out;
......
...@@ -212,9 +212,6 @@ struct tx_result { ...@@ -212,9 +212,6 @@ struct tx_result {
static inline int wl1251_tx_get_queue(int queue) static inline int wl1251_tx_get_queue(int queue)
{ {
/* FIXME: use best effort until WMM is enabled */
return QOS_AC_BE;
switch (queue) { switch (queue) {
case 0: case 0:
return QOS_AC_VO; return QOS_AC_VO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment