From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:63984 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753463Ab0DONow (ORCPT ); Thu, 15 Apr 2010 09:44:52 -0400 From: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Cc: Reinette Chatre , Johannes Berg , "John W. Linville" , , Stanislaw Gruszka Subject: [PATCH v2 resend 3/3] mac80211: enable QoS explicitly in AP mode Date: Thu, 15 Apr 2010 15:43:02 +0200 Message-Id: <1271338982-3157-3-git-send-email-sgruszka@redhat.com> In-Reply-To: <1271338982-3157-2-git-send-email-sgruszka@redhat.com> References: <1271338982-3157-1-git-send-email-sgruszka@redhat.com> <1271338982-3157-2-git-send-email-sgruszka@redhat.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 --- 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