linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eddie Chapman <eddie@ehuk.net>
To: stable@vger.kernel.org
Cc: johannes.berg@intel.com, florian@reitmeir.org,
	linux-wireless@vger.kernel.org
Subject: Re: Linux 3.6.5
Date: Mon, 05 Nov 2012 11:04:24 +0000	[thread overview]
Message-ID: <50979D38.6010002@ehuk.net> (raw)
In-Reply-To: <20121105081757.GA3730@kroah.com>

On 05/11/12 08:17, Greg KH wrote:
> On Sat, Nov 03, 2012 at 07:52:20PM +0000, Eddie Chapman wrote:
>> On 3.6.5 my rt2800usb adapter's speeds (measured downloading a file
>> on the my LAN with wget) dropped down to around 900 Kbyte/s from the
>> usual approx. 4 Mbyte/s.  Also some packet loss and latency spikes.
>> Nothing unusual reported in dmesg.
>>
>> Rebooting back into 3.6.4 with identical .config and the problem goes away.
>>
>> So I reversed the following 4 patches introduced in 3.6.5:
>>
>> Felix Fietkau:
>>          mac80211: use ieee80211_free_txskb in a few more places
>>
>> Johannes Berg:
>>          mac80211: connect with HT20 if HT40 is not permitted
>>
>> Stanislaw Gruszka:
>>          mac80211: check if key has TKIP type before updating IV
>>          cfg80211/mac80211: avoid state mishmash on deauth
>>
>> rebuilt 3.6.5, rebooted into it, and speeds back to normal.
>>
>> Sorry can't be more specific, didn't have enough time to revert each
>> one individually to find out which one caused the regression.
>> Though if anyone would really like me to find out let me know.
>
> I would, if you could narrow this down to one patch, that would be
> great.
>
> Also, copying the wireless developers on the email about this, would be
> best, there's nothing that the stable tree developers can do about this
> on their own.
>
> And, can you also test 3.7-rc4, to ensure that the problem isn't there
> as well?
>
> thanks,
>
> greg k-h

Thanks Greg.

I've narrowed it down to this patch which introduces the problem:

Johannes Berg:
mac80211: connect with HT20 if HT40 is not permitted
commit: 3a40414f826a8f1096d9b94c4a53ef91b25ba28d

The other 3 patches above give me no problems at all, so I am now 
running my 3.6.5 with those 3 back in, and just the HT20/HT40 patch 
removed, and throughput is perfect. As soon as I introduce the patch 
HT20/HT40 throughput drops right down to a fifth of what it was.

So I've copied into this message the original people from the HT20/HT40 
patch as well as linux-wireless.

This is my original message in full sent to stable list for the benefit 
of the new recipients:
http://www.mail-archive.com/stable@vger.kernel.org/msg22645.html

If I can do anything else to help figure out why this patch causes 
problems for my device, please let me know.

thanks,
Eddie

       reply	other threads:[~2012-11-05 11:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20121031173811.GA12970@kroah.com>
     [not found] ` <509575F4.5020109@ehuk.net>
     [not found]   ` <20121105081757.GA3730@kroah.com>
2012-11-05 11:04     ` Eddie Chapman [this message]
2012-11-05 12:01       ` Linux 3.6.5 Johannes Berg
2012-11-05 22:08         ` Eddie Chapman
2012-11-06  7:57           ` Johannes Berg
2012-11-06 15:34             ` Eddie Chapman
2012-11-06 15:54               ` Johannes Berg
2012-11-06 16:23                 ` Eddie Chapman
2012-11-06 16:39                 ` Johannes Berg
2012-11-06 16:47                   ` Johannes Berg
2012-11-06 16:50                   ` Eddie Chapman
2012-11-06 16:55                     ` Johannes Berg
2012-11-06 16:57                       ` Johannes Berg
2012-11-06 17:07                         ` Eddie Chapman
2012-11-06 17:16                           ` Johannes Berg
2012-11-06 18:59                 ` Eddie Chapman
2012-11-06 19:20                   ` Johannes Berg
2012-11-06 19:35                     ` Eddie Chapman
2012-11-06 20:31                       ` Johannes Berg
2012-11-06 20:38                         ` Eddie Chapman
2012-11-07  7:36                         ` Greg KH
2012-11-07  7:53                           ` Johannes Berg
2012-11-07  8:09                             ` Greg KH

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=50979D38.6010002@ehuk.net \
    --to=eddie@ehuk.net \
    --cc=florian@reitmeir.org \
    --cc=johannes.berg@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=stable@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).