]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
wl1271: enable WMM
authorKalle Valo <kalle.valo@nokia.com>
Thu, 18 Mar 2010 10:26:33 +0000 (12:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Mar 2010 20:50:21 +0000 (16:50 -0400)
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>
drivers/net/wireless/wl12xx/wl1271_main.c
drivers/net/wireless/wl12xx/wl1271_tx.h

index abf9f22ee96862fa1f7277842fde8d2ce852461b..d21bfe29531dd55eb005accc06dff6e440152598 100644 (file)
@@ -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;
index 8b9f6b4f5652c6d861345d7056e50185e5d64f44..5e6c27a57415ba33e83d4a0030b45f1aedf3d8e5 100644 (file)
@@ -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;