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 resend 3/3] mac80211: enable QoS explicitly in AP mode
Date: Thu, 15 Apr 2010 15:43:02 +0200 [thread overview]
Message-ID: <1271338982-3157-3-git-send-email-sgruszka@redhat.com> (raw)
In-Reply-To: <1271338982-3157-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-04-15 13:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-15 13:43 [PATCH v2 resend 1/3] mac80211: explicitly disable/enable QoS Stanislaw Gruszka
2010-04-15 13:43 ` [PATCH v2 resend 2/3] iwlwifi: manage QoS by mac stack Stanislaw Gruszka
2010-04-15 13:43 ` Stanislaw Gruszka [this message]
2010-04-15 13:53 ` [PATCH v2 resend 1/3] mac80211: explicitly disable/enable QoS John W. Linville
2010-04-17 9:04 ` Johannes Berg
2010-04-19 9:24 ` [PATCH] mac80211: document IEEE80211_CONF_CHANGE_QoS Stanislaw Gruszka
2010-04-19 15:57 ` Pavel Roskin
2010-04-20 6:16 ` [PATCH v2] mac80211: document IEEE80211_CONF_CHANGE_QOS Stanislaw Gruszka
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=1271338982-3157-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;
as well as URLs for NNTP newsgroup(s).