From: Stanislaw Gruszka <sgruszka@redhat.com>
To: linux-wireless@vger.kernel.org
Cc: Reinette Chatre <reinette.chatre@intel.com>,
Johannes Berg <johannes@sipsolutions.net>,
"John W. Linville" <linville@tuxdriver.com>,
<wey-yi.w.guy@intel.com>, Stanislaw Gruszka <sgruszka@redhat.com>
Subject: [PATCH v2 3/3] mac80211: enable QoS explicitly in AP mode
Date: Mon, 29 Mar 2010 12:18:36 +0200 [thread overview]
Message-ID: <1269857916-4440-3-git-send-email-sgruszka@redhat.com> (raw)
In-Reply-To: <1269857916-4440-2-git-send-email-sgruszka@redhat.com>
Enable QoS explicitly, when user space AP program will setup a QoS
queues. Currently this is not needed as iwlwifi not work in AP mode
and no other driver implement enable/disable QoS.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
---
v1 -> v2:
- add this patch
net/mac80211/cfg.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index b7116ef..b88c7e4 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1136,6 +1136,10 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy,
return -EINVAL;
}
+ /* enable WMM or activate new settings */
+ local->hw.conf.flags |= IEEE80211_CONF_QOS;
+ drv_config(local, IEEE80211_CONF_CHANGE_QOS);
+
return 0;
}
--
1.6.2.5
next prev parent reply other threads:[~2010-03-29 11:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 10:18 [PATCH v2 1/3] mac80211: explicitly disable/enable QoS Stanislaw Gruszka
2010-03-29 10:18 ` [PATCH v2 2/3] iwlwifi: manage QoS by mac stack Stanislaw Gruszka
2010-03-29 10:18 ` Stanislaw Gruszka [this message]
2010-03-29 13:16 ` [PATCH v2 3/3] mac80211: enable QoS explicitly in AP mode Johannes Berg
2010-03-29 12:08 ` Stanislaw Gruszka
2010-03-29 14:12 ` Johannes Berg
2010-03-29 12:24 ` Stanislaw Gruszka
2010-03-29 14:23 ` Johannes Berg
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=1269857916-4440-3-git-send-email-sgruszka@redhat.com \
--to=sgruszka@redhat.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=reinette.chatre@intel.com \
--cc=wey-yi.w.guy@intel.com \
/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