netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhu Yi <yi.zhu@intel.com>
To: "John W.Linville" <linville@tuxdriver.com>, Jiri Benc <jbenc@suse.cz>
Cc: netdev@vger.kernel.org
Subject: [PATCH] d80211: Fix WMM ACI to UP mapping
Date: Fri, 02 Feb 2007 17:15:54 +0800	[thread overview]
Message-ID: <1170407754.6601.228.camel@debian.sh.intel.com> (raw)

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;
 		}


                 reply	other threads:[~2007-02-02  9:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1170407754.6601.228.camel@debian.sh.intel.com \
    --to=yi.zhu@intel.com \
    --cc=jbenc@suse.cz \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).