Skip to content

Commit

Permalink
wl1271: enable WMM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kalle Valo authored and John W. Linville committed Mar 23, 2010
1 parent 7fc3a86 commit 12bd894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,8 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
if (wl1271_11a_enabled())
wl->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wl1271_band_5ghz;

wl->hw->queues = 4;

SET_IEEE80211_DEV(wl->hw, wl1271_wl_to_dev(wl));

return 0;
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/wireless/wl12xx/wl1271_tx.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ struct wl1271_tx_hw_res_if {

static inline int wl1271_tx_get_queue(int queue)
{
/* FIXME: use best effort until WMM is enabled */
return CONF_TX_AC_BE;

switch (queue) {
case 0:
return CONF_TX_AC_VO;
Expand Down

0 comments on commit 12bd894

Please sign in to comment.