netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] d80211: Fix WMM ACI to UP mapping
@ 2007-02-02  9:15 Zhu Yi
  0 siblings, 0 replies; only message in thread
From: Zhu Yi @ 2007-02-02  9:15 UTC (permalink / raw)
  To: John W.Linville, Jiri Benc; +Cc: netdev

Fix WMM ACI to UP mapping according to IEEE 802.1d spec. Table 7-2.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>

diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c
index 393a294..fabdef5 100644
--- a/net/d80211/ieee80211_sta.c
+++ b/net/d80211/ieee80211_sta.c
@@ -289,7 +289,7 @@ static void ieee80211_sta_wmm_params(struct
net_device *dev,
 		case 1:
 			queue = IEEE80211_TX_QUEUE_DATA3;
 			if (acm) {
-				local->wmm_acm |= BIT(1) | BIT(2);
+				local->wmm_acm |= BIT(0) | BIT(3);
 			}
 			break;
 		case 2:
@@ -308,7 +308,7 @@ static void ieee80211_sta_wmm_params(struct
net_device *dev,
 		default:
 			queue = IEEE80211_TX_QUEUE_DATA2;
 			if (acm) {
-				local->wmm_acm |= BIT(0) | BIT(3);
+				local->wmm_acm |= BIT(1) | BIT(2);
 			}
 			break;
 		}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-02  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02  9:15 [PATCH] d80211: Fix WMM ACI to UP mapping Zhu Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).