All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergio Correia <lists@uece.net>
To: Mohammed Shafi <shafi.wireless@gmail.com>
Cc: Michael Leun <lkml20120218@newton.leun.net>,
	Ben Greear <greearb@candelatech.com>,
	casteyde.christian@free.fr,
	Kelly Anderson <kelly@silka.with-linux.com>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@venema.h4ckr.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Felix Fietkau <nbd@openwrt.org>,
	linux-wireless Mailing List <linux-wireless@vger.kernel.org>
Subject: Re: 3.4-rc ath9k regression (Re: [ath9k-devel] 3.3.1 ath9k regression)
Date: Mon, 9 Apr 2012 04:45:19 -0400	[thread overview]
Message-ID: <CAJyhjX0jCjRyorUYEf=FXzo=AfjMy3anONSdnZctFWfQ0J1NUQ@mail.gmail.com> (raw)
In-Reply-To: <CAD2nsn3-C8ZLmUpTDeA6HuPr-+=V5KkPJb6h5e7ZJsGi4v9p0g@mail.gmail.com>

Hello Mohammed,

On Mon, Apr 9, 2012 at 2:28 AM, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
> On Mon, Apr 9, 2012 at 4:38 AM, Michael Leun
> <lkml20120218@newton.leun.net> wrote:
>> After an suspend to disk / resume cycle (in kernel suspend to disk,
>> openSuSE) with 3.4-rc2 my ath9k wireless does not ping
>> anymore.
>>
>> Output of iwconfig wlan0 looks just as usual (associated to AP).
>>
>> iwconfig wlan0 essid <myssid> fixes this (causes an
>> deauthenticate/authenticate with AP) - then connectivity is there again.
>>
>> Guess what: "Of course" does not happen when reverting
>> c1afdaff90538ef085b756454f12b29575411214 ath9k: fix going to full-sleep
>> on PS idle.
>>
>> So, in my opinion it should be seriously considered to revert that patch
>> until it is fully understood what is going on and why.
>
> please try with the attached patch to see if it helps.
>

with your patch applied on a 3.3 kernel, nothing seems to change here
(AR9285 PCI express): if the card goes through the suspend/resume
cycle, or if I disable/re-enabled the wireless networking on the
network manager, I get the following messages:

[   62.931045] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   65.770425] wlan0: authenticate with 00:26:44:68:e0:6f (try 1)
[   65.967949] wlan0: authenticate with 00:26:44:68:e0:6f (try 2)
[   66.167722] wlan0: authenticate with 00:26:44:68:e0:6f (try 3)
[   66.367504] wlan0: authentication with 00:26:44:68:e0:6f timed out

if I unload/reload the ath9k module, it works again, though:

[   88.657560] ath9k: Driver unloaded
[   88.714713] ath: EEPROM regdomain: 0x60
[   88.714715] ath: EEPROM indicates we should expect a direct regpair map
[   88.714718] ath: Country alpha2 being used: 00
[   88.714720] ath: Regpair used: 0x60
[   88.716415] ieee80211 phy1: Selected rate control algorithm
'ath9k_rate_control'
[   88.716933] Registered led device: ath9k-phy1
[   88.716948] ieee80211 phy1: Atheros AR9285 Rev:2
mem=0xffffc90005960000, irq=17
[   88.735253] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   91.568727] wlan0: authenticate with 00:26:44:68:e0:6f (try 1)
[   91.572181] wlan0: authenticated
[   91.593796] wlan0: associate with 00:26:44:68:e0:6f (try 1)
[   91.598115] wlan0: RX AssocResp from 00:26:44:68:e0:6f (capab=0x411
status=0 aid=2)
[   91.598119] wlan0: associated
[   91.598122] wlan0: moving STA 00:26:44:68:e0:6f to state 1
[   91.598124] wlan0: moving STA 00:26:44:68:e0:6f to state 2
[   91.598775] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   91.611432] wlan0: moving STA 00:26:44:68:e0:6f to state 3

thanks,
sergio

>>
>> It may look theoretically correct (I've no knowledge that would enable
>> me assess that), but it seems to have caused 3 more or less different
>> problems to various people.
>>
>> --
>> MfG,
>>
>> Michael Leun
>>
>
>
>
> --
> thanks,
> shafi

WARNING: multiple messages have this Message-ID (diff)
From: Sergio Correia <lists@uece.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] 3.4-rc ath9k regression (Re: 3.3.1 ath9k regression)
Date: Mon, 9 Apr 2012 04:45:19 -0400	[thread overview]
Message-ID: <CAJyhjX0jCjRyorUYEf=FXzo=AfjMy3anONSdnZctFWfQ0J1NUQ@mail.gmail.com> (raw)
In-Reply-To: <CAD2nsn3-C8ZLmUpTDeA6HuPr-+=V5KkPJb6h5e7ZJsGi4v9p0g@mail.gmail.com>

Hello Mohammed,

On Mon, Apr 9, 2012 at 2:28 AM, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
> On Mon, Apr 9, 2012 at 4:38 AM, Michael Leun
> <lkml20120218@newton.leun.net> wrote:
>> After an suspend to disk / resume cycle (in kernel suspend to disk,
>> openSuSE) with 3.4-rc2 my ath9k wireless does not ping
>> anymore.
>>
>> Output of iwconfig wlan0 looks just as usual (associated to AP).
>>
>> iwconfig wlan0 essid <myssid> fixes this (causes an
>> deauthenticate/authenticate with AP) - then connectivity is there again.
>>
>> Guess what: "Of course" does not happen when reverting
>> c1afdaff90538ef085b756454f12b29575411214 ath9k: fix going to full-sleep
>> on PS idle.
>>
>> So, in my opinion it should be seriously considered to revert that patch
>> until it is fully understood what is going on and why.
>
> please try with the attached patch to see if it helps.
>

with your patch applied on a 3.3 kernel, nothing seems to change here
(AR9285 PCI express): if the card goes through the suspend/resume
cycle, or if I disable/re-enabled the wireless networking on the
network manager, I get the following messages:

[   62.931045] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   65.770425] wlan0: authenticate with 00:26:44:68:e0:6f (try 1)
[   65.967949] wlan0: authenticate with 00:26:44:68:e0:6f (try 2)
[   66.167722] wlan0: authenticate with 00:26:44:68:e0:6f (try 3)
[   66.367504] wlan0: authentication with 00:26:44:68:e0:6f timed out

if I unload/reload the ath9k module, it works again, though:

[   88.657560] ath9k: Driver unloaded
[   88.714713] ath: EEPROM regdomain: 0x60
[   88.714715] ath: EEPROM indicates we should expect a direct regpair map
[   88.714718] ath: Country alpha2 being used: 00
[   88.714720] ath: Regpair used: 0x60
[   88.716415] ieee80211 phy1: Selected rate control algorithm
'ath9k_rate_control'
[   88.716933] Registered led device: ath9k-phy1
[   88.716948] ieee80211 phy1: Atheros AR9285 Rev:2
mem=0xffffc90005960000, irq=17
[   88.735253] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   91.568727] wlan0: authenticate with 00:26:44:68:e0:6f (try 1)
[   91.572181] wlan0: authenticated
[   91.593796] wlan0: associate with 00:26:44:68:e0:6f (try 1)
[   91.598115] wlan0: RX AssocResp from 00:26:44:68:e0:6f (capab=0x411
status=0 aid=2)
[   91.598119] wlan0: associated
[   91.598122] wlan0: moving STA 00:26:44:68:e0:6f to state 1
[   91.598124] wlan0: moving STA 00:26:44:68:e0:6f to state 2
[   91.598775] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   91.611432] wlan0: moving STA 00:26:44:68:e0:6f to state 3

thanks,
sergio

>>
>> It may look theoretically correct (I've no knowledge that would enable
>> me assess that), but it seems to have caused 3 more or less different
>> problems to various people.
>>
>> --
>> MfG,
>>
>> Michael Leun
>>
>
>
>
> --
> thanks,
> shafi

  reply	other threads:[~2012-04-09  8:45 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03  5:46 3.3.1 ath9k regression Kelly Anderson
2012-04-03  6:01 ` Ben Greear
2012-04-03  6:01   ` [ath9k-devel] " Ben Greear
2012-04-03  6:26   ` Mohammed Shafi
2012-04-03  6:26     ` Mohammed Shafi
2012-04-03  6:49     ` Kelly Anderson
2012-04-03  6:49       ` Kelly Anderson
2012-04-03  7:16       ` Mohammed Shafi
2012-04-03  7:16         ` Mohammed Shafi
2012-04-03  7:46         ` Kelly Anderson
2012-04-03  7:46           ` Kelly Anderson
2012-04-03  7:52           ` Mohammed Shafi
2012-04-03  7:52             ` Mohammed Shafi
2012-04-03  8:04             ` Mohammed Shafi
2012-04-03  8:04               ` Mohammed Shafi
2012-04-03  8:38               ` Kelly Anderson
2012-04-03  8:38                 ` Kelly Anderson
2012-04-03 18:03                 ` Michael Leun
2012-04-03 18:03                   ` Michael Leun
2012-04-04  7:29                   ` Mohammed Shafi
2012-04-04  7:29                     ` Mohammed Shafi
2012-04-04 15:03                     ` Mohammed Shafi
2012-04-04 15:03                       ` Mohammed Shafi
2012-04-04 21:51                       ` Michael Leun
2012-04-04 21:51                         ` Michael Leun
2012-04-05  6:16                         ` Mohammed Shafi
2012-04-05  6:16                           ` Mohammed Shafi
2012-04-05 13:53                           ` Michael Leun
2012-04-05 13:53                             ` Michael Leun
2012-04-05 18:25                         ` Ben Greear
2012-04-05 18:25                           ` Ben Greear
2012-04-06  5:11                           ` Mohammed Shafi
2012-04-06  5:11                             ` Mohammed Shafi
2012-04-06 20:31                             ` Ben Greear
2012-04-06 20:31                               ` Ben Greear
2012-04-08 23:08                               ` 3.4-rc ath9k regression (Re: [ath9k-devel] 3.3.1 ath9k regression) Michael Leun
2012-04-08 23:08                                 ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Michael Leun
2012-04-09  6:28                                 ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Mohammed Shafi
2012-04-09  6:28                                   ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Mohammed Shafi
2012-04-09  8:45                                   ` Sergio Correia [this message]
2012-04-09  8:45                                     ` Sergio Correia
2012-04-09 10:25                                   ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Michael Leun
2012-04-09 10:25                                     ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Michael Leun
2012-04-09 14:03                                     ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Michael Leun
2012-04-09 14:03                                       ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Michael Leun
2012-04-09 14:22                                       ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Mohammed Shafi
2012-04-09 14:22                                         ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Mohammed Shafi
2012-04-09 15:29                                         ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Michael Leun
2012-04-09 15:29                                           ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Michael Leun
2012-04-10  5:48                                           ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Mohammed Shafi
2012-04-10  5:48                                             ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Mohammed Shafi
2012-04-10  5:55                                             ` Peter Stuge
2012-04-10 10:05                                             ` Mohammed Shafi
2012-04-10 10:05                                               ` Mohammed Shafi
2012-04-12 13:46                                           ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Felix Fietkau
2012-04-12 13:46                                             ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Felix Fietkau
2012-04-12 13:58                                             ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Felipe Contreras
2012-04-12 13:58                                               ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Felipe Contreras
2012-04-12 15:35                                               ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Michael Leun
2012-04-12 15:35                                                 ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Michael Leun
2012-04-12 18:11                                                 ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Felix Fietkau
2012-04-12 18:11                                                   ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Felix Fietkau
2012-04-12 19:28                                                   ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Sergio Correia
2012-04-12 19:28                                                     ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Sergio Correia
2012-04-14 21:15                                                     ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Felipe Contreras
2012-04-14 21:15                                                       ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Felipe Contreras
2012-04-12 22:01                                                   ` 3.4-rc ath9k regression (Re: [ath9k-devel] " Michael Leun
2012-04-12 22:01                                                     ` [ath9k-devel] 3.4-rc ath9k regression (Re: " Michael Leun
2012-04-09 19:12                                 ` Sujith Manoharan
2012-04-09 19:12                                   ` Sujith Manoharan
2012-04-09 21:21                                   ` Michael Leun
2012-04-09 21:21                                     ` Michael Leun
2012-04-09  6:52                               ` [ath9k-devel] 3.3.1 ath9k regression Mohammed Shafi
2012-04-09  6:52                                 ` Mohammed Shafi
2012-04-04 10:40 ` Mantas M.

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='CAJyhjX0jCjRyorUYEf=FXzo=AfjMy3anONSdnZctFWfQ0J1NUQ@mail.gmail.com' \
    --to=lists@uece.net \
    --cc=ath9k-devel@venema.h4ckr.net \
    --cc=casteyde.christian@free.fr \
    --cc=greearb@candelatech.com \
    --cc=kelly@silka.with-linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lkml20120218@newton.leun.net \
    --cc=nbd@openwrt.org \
    --cc=shafi.wireless@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.