Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12bd8949 authored by Kalle Valo's avatar Kalle Valo Committed by John W. Linville
Browse files

wl1271: enable WMM



Everything is ready now and we can enable WMM in wl1271.

Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
Reviewed-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 7fc3a864
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
+0 −3
Original line number Diff line number Diff line
@@ -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;