diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2010-03-18 06:26:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-23 16:50:21 -0400 |
commit | 12bd89499f22ec01bbff21fd04a347ee82726bf6 (patch) | |
tree | 571fcfdc665c1e6ec9feb5bc55abc769614bda17 | |
parent | 7fc3a8647d2eaa8bc2f7ac7e9baff55199da7be6 (diff) |
wl1271: enable WMM
Everything is ready now and we can enable WMM in wl1271.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_tx.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index abf9f22ee968..d21bfe29531d 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -2091,6 +2091,8 @@ int wl1271_init_ieee80211(struct wl1271 *wl) | |||
2091 | if (wl1271_11a_enabled()) | 2091 | if (wl1271_11a_enabled()) |
2092 | wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wl1271_band_5ghz; | 2092 | wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wl1271_band_5ghz; |
2093 | 2093 | ||
2094 | wl->hw->queues = 4; | ||
2095 | |||
2094 | SET_IEEE80211_DEV(wl->hw, wl1271_wl_to_dev(wl)); | 2096 | SET_IEEE80211_DEV(wl->hw, wl1271_wl_to_dev(wl)); |
2095 | 2097 | ||
2096 | return 0; | 2098 | return 0; |
diff --git a/drivers/net/wireless/wl12xx/wl1271_tx.h b/drivers/net/wireless/wl12xx/wl1271_tx.h index 8b9f6b4f5652..5e6c27a57415 100644 --- a/drivers/net/wireless/wl12xx/wl1271_tx.h +++ b/drivers/net/wireless/wl12xx/wl1271_tx.h | |||
@@ -125,9 +125,6 @@ struct wl1271_tx_hw_res_if { | |||
125 | 125 | ||
126 | static inline int wl1271_tx_get_queue(int queue) | 126 | static inline int wl1271_tx_get_queue(int queue) |
127 | { | 127 | { |
128 | /* FIXME: use best effort until WMM is enabled */ | ||
129 | return CONF_TX_AC_BE; | ||
130 | |||
131 | switch (queue) { | 128 | switch (queue) { |
132 | case 0: | 129 | case 0: |
133 | return CONF_TX_AC_VO; | 130 | return CONF_TX_AC_VO; |