From: wwguy <wey-yi.w.guy@intel.com>
To: Andrej Gelenberg <andrej.gelenberg@udo.edu>
Cc: Udo Steinberg <udo@hypervisor.org>,
Intel Linux Wireless <ilw@linux.intel.com>,
"John W. Linville" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: iwlagn regression in v3.1.5
Date: Tue, 13 Dec 2011 12:15:27 -0800 [thread overview]
Message-ID: <1323807327.7144.6.camel@wwguy-ubuntu> (raw)
In-Reply-To: <4EE636B9.1020305@udo.edu>
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
Hi Andrej,
Could you try this patch and see any differences.
please still use the same debug flag I ask you last time.
Thanks
Wey
n Mon, 2011-12-12 at 09:15 -0800, Andrej Gelenberg wrote:
> Hi,
>
> there are broken wlan log and working wlan log and an diff of them.
>
> Regards,
> Andrej Gelenberg
>
> On 12/12/2011 02:35 AM, wwguy wrote:
> > Hi Andjej,
> >
> >
> > Could you please load the module with debug=0x1082 and send me the log.
> >
> > $sudo modprobe iwlagn debug=0x1082
> >
> > Thanks
> > Wey
[-- Attachment #2: 0001-iwlwifi-allow-to-switch-to-HT40-if-not-associated-ye.patch --]
[-- Type: text/x-patch, Size: 1094 bytes --]
>From 92e10223b4acf832121f0aa5b4a8d35ebb176f9e Mon Sep 17 00:00:00 2001
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date: Tue, 13 Dec 2011 12:13:05 -0800
Subject: [PATCH 1/1] iwlwifi: allow to switch to HT40 if not associated yet
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
index 36932aa..23548ac 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
@@ -610,8 +610,9 @@ int iwlagn_mac_config(struct ieee80211_hw *hw, u32 changed)
if (ctx->ht.enabled) {
/* if HT40 is used, it should not change
* after associated except channel switch */
- if (iwl_is_associated_ctx(ctx) &&
- !ctx->ht.is_40mhz)
+ if ((iwl_is_associated_ctx(ctx) &&
+ !ctx->ht.is_40mhz) ||
+ !iwl_is_associated_ctx(ctx))
iwlagn_config_ht40(conf, ctx);
} else
ctx->ht.is_40mhz = false;
--
1.7.0.4
next prev parent reply other threads:[~2011-12-13 20:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-11 13:24 iwlagn regression in v3.1.5 Andrej Gelenberg
2011-12-11 16:33 ` Andrej Gelenberg
2011-12-11 16:41 ` Udo Steinberg
2011-12-11 16:58 ` Andrej Gelenberg
[not found] ` <4EE4E152.2070204-KJIyc1CJxjQ@public.gmane.org>
2011-12-11 18:23 ` wwguy
2011-12-11 19:05 ` Andrej Gelenberg
2011-12-11 19:20 ` Andrej Gelenberg
[not found] ` <4EE50266.4050208-KJIyc1CJxjQ@public.gmane.org>
2011-12-12 1:35 ` wwguy
2011-12-12 17:15 ` Andrej Gelenberg
2011-12-13 20:15 ` wwguy [this message]
2011-12-13 21:08 ` Andrej Gelenberg
2011-12-13 22:04 ` Udo Steinberg
2011-12-13 23:20 ` wwguy
2011-12-15 22:12 ` Arkadiusz Miśkiewicz
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=1323807327.7144.6.camel@wwguy-ubuntu \
--to=wey-yi.w.guy@intel.com \
--cc=andrej.gelenberg@udo.edu \
--cc=ilw@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
--cc=udo@hypervisor.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).