linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AP mode my ath9k broke between 3.3 and 3.4-rc2
@ 2012-04-24  7:11 Andrew Chant
  2012-04-24  7:44 ` Andrew Chant
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Chant @ 2012-04-24  7:11 UTC (permalink / raw)
  To: Johannes Berg, John W. Linville; +Cc: linux-wireless

Hello,
 my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
the 5GHz band between 3.3 and 3.4-rc2.
After 14 git bisects, I believe I have narrowed it down to the following patch:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33

mac80211: use common radiotap code for cooked monitors

Prior to this change, everything works.  After this change, an Intel
Corporation Centrino Advanced-N 6205 is able to see the AP using
"iwlist wlan0 scan", but the following shows up in dmesg when trying
to associate (on the intel side):

[ 7636.834579] wlan0: direct probe to 90:f6:52:0d:0a:5e timed out
[ 7644.201671] wlan0: direct probe to 90:f6:52:0d:0a:5e (try 1/3)
[ 7644.400767] wlan0: direct probe to 90:f6:52:0d:0a:5e (try 2/3)
[ 7644.600323] wlan0: direct probe to 90:f6:52:0d:0a:5e (try 3/3)

-Andrew

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-24  7:11 AP mode my ath9k broke between 3.3 and 3.4-rc2 Andrew Chant
@ 2012-04-24  7:44 ` Andrew Chant
  2012-04-24 10:00   ` Andreas Hartmann
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Chant @ 2012-04-24  7:44 UTC (permalink / raw)
  To: Johannes Berg, John W. Linville; +Cc: linux-wireless

3.4-rc4 doesn't work either.
If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
-Andrew

On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
> Hello,
>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
> the 5GHz band between 3.3 and 3.4-rc2.
> After 14 git bisects, I believe I have narrowed it down to the following patch:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>
> mac80211: use common radiotap code for cooked monitors
>
> Prior to this change, everything works.  After this change, an Intel
> Corporation Centrino Advanced-N 6205 is able to see the AP using
> "iwlist wlan0 scan", but the following shows up in dmesg when trying
> to associate (on the intel side):
>
> [ 7636.834579] wlan0: direct probe to 90:f6:52:0d:0a:5e timed out
> [ 7644.201671] wlan0: direct probe to 90:f6:52:0d:0a:5e (try 1/3)
> [ 7644.400767] wlan0: direct probe to 90:f6:52:0d:0a:5e (try 2/3)
> [ 7644.600323] wlan0: direct probe to 90:f6:52:0d:0a:5e (try 3/3)
>
> -Andrew

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-24  7:44 ` Andrew Chant
@ 2012-04-24 10:00   ` Andreas Hartmann
  2012-04-24 12:54     ` John W. Linville
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Hartmann @ 2012-04-24 10:00 UTC (permalink / raw)
  To: Andrew Chant; +Cc: Johannes Berg, John W. Linville, linux-wireless

Andrew Chant wrote:
> 3.4-rc4 doesn't work either.
> If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
> -Andrew
> 
> On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>> Hello,
>>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>> the 5GHz band between 3.3 and 3.4-rc2.
>> After 14 git bisects, I believe I have narrowed it down to the following patch:
>>
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>>
>> mac80211: use common radiotap code for cooked monitors

Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2

Removing "mac80211: use common radiotap code for cooked monitors" solves
the problem here, too.

Using rt2860 as AP seems not to be a problem.


Regards,
Andreas Hartmann

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-24 10:00   ` Andreas Hartmann
@ 2012-04-24 12:54     ` John W. Linville
  2012-04-25 17:42       ` Felix Fietkau
  0 siblings, 1 reply; 10+ messages in thread
From: John W. Linville @ 2012-04-24 12:54 UTC (permalink / raw)
  To: Andreas Hartmann; +Cc: Andrew Chant, Johannes Berg, linux-wireless

On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
> Andrew Chant wrote:
> > 3.4-rc4 doesn't work either.
> > If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
> > -Andrew
> > 
> > On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
> >> Hello,
> >>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
> >> the 5GHz band between 3.3 and 3.4-rc2.
> >> After 14 git bisects, I believe I have narrowed it down to the following patch:
> >>
> >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
> >>
> >> mac80211: use common radiotap code for cooked monitors
> 
> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
> 
> Removing "mac80211: use common radiotap code for cooked monitors" solves
> the problem here, too.
> 
> Using rt2860 as AP seems not to be a problem.

Sounds like we may need to revert it upstream.  Johannes, any comments?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-24 12:54     ` John W. Linville
@ 2012-04-25 17:42       ` Felix Fietkau
  2012-04-25 20:47         ` Andreas Hartmann
                           ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Felix Fietkau @ 2012-04-25 17:42 UTC (permalink / raw)
  To: John W. Linville
  Cc: Andreas Hartmann, Andrew Chant, Johannes Berg, linux-wireless

On 2012-04-24 2:54 PM, John W. Linville wrote:
> On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
>> Andrew Chant wrote:
>> > 3.4-rc4 doesn't work either.
>> > If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
>> > -Andrew
>> > 
>> > On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>> >> Hello,
>> >>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>> >> the 5GHz band between 3.3 and 3.4-rc2.
>> >> After 14 git bisects, I believe I have narrowed it down to the following patch:
>> >>
>> >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>> >>
>> >> mac80211: use common radiotap code for cooked monitors
>> 
>> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
>> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
>> 
>> Removing "mac80211: use common radiotap code for cooked monitors" solves
>> the problem here, too.
>> 
>> Using rt2860 as AP seems not to be a problem.
> 
> Sounds like we may need to revert it upstream.  Johannes, any comments?
That's a known bug, which I submitted a fix for. When looking at the
3.4-rc4 log, I don't see my fix in there. It was submitted as
"[PATCH] mac80211: fix truncated packets in cooked monitor rx"

- Felix

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-25 17:42       ` Felix Fietkau
@ 2012-04-25 20:47         ` Andreas Hartmann
  2012-04-25 23:46         ` Bryan Phillippe
                           ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Andreas Hartmann @ 2012-04-25 20:47 UTC (permalink / raw)
  To: John W. Linville
  Cc: Felix Fietkau, Andrew Chant, Johannes Berg, linux-wireless,
	Helmut Schaa

Felix Fietkau wrote:
> On 2012-04-24 2:54 PM, John W. Linville wrote:
>> On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
>>> Andrew Chant wrote:
>>>> 3.4-rc4 doesn't work either.
>>>> If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
>>>> -Andrew
>>>>
>>>> On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>>>>> Hello,
>>>>>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>>>>> the 5GHz band between 3.3 and 3.4-rc2.
>>>>> After 14 git bisects, I believe I have narrowed it down to the following patch:
>>>>>
>>>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>>>>>
>>>>> mac80211: use common radiotap code for cooked monitors
>>>
>>> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
>>> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
>>>
>>> Removing "mac80211: use common radiotap code for cooked monitors" solves
>>> the problem here, too.
>>>
>>> Using rt2860 as AP seems not to be a problem.
>>
>> Sounds like we may need to revert it upstream.  Johannes, any comments?
> That's a known bug, which I submitted a fix for. When looking at the
> 3.4-rc4 log, I don't see my fix in there. It was submitted as
> "[PATCH] mac80211: fix truncated packets in cooked monitor rx"

Well, there is another patch missing, too:

"[PATCH] rt2x00: Don't let mac80211 send a BAR when an AMPDU subframe fails"

This patch should be applied, too, in order to get APs with Ralink PCI
chipsets working again.


Thank you,
kind regards,
Andreas

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-25 17:42       ` Felix Fietkau
  2012-04-25 20:47         ` Andreas Hartmann
@ 2012-04-25 23:46         ` Bryan Phillippe
  2012-05-16 22:55           ` Bryan Phillippe
  2012-04-26  3:33         ` Andrew Chant
  2012-04-26  6:36         ` Andreas Hartmann
  3 siblings, 1 reply; 10+ messages in thread
From: Bryan Phillippe @ 2012-04-25 23:46 UTC (permalink / raw)
  To: Felix Fietkau
  Cc: John W. Linville, Andreas Hartmann, Andrew Chant, Johannes Berg,
	<linux-wireless@vger.kernel.org>


On Apr 25, 2012, at 10:42 AM, Felix Fietkau wrote:

> On 2012-04-24 2:54 PM, John W. Linville wrote:
>> On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
>>> Andrew Chant wrote:
>>>> 3.4-rc4 doesn't work either.
>>>> If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
>>>> -Andrew
>>>> 
>>>> On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>>>>> Hello,
>>>>> my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>>>>> the 5GHz band between 3.3 and 3.4-rc2.
>>>>> After 14 git bisects, I believe I have narrowed it down to the following patch:
>>>>> 
>>>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>>>>> 
>>>>> mac80211: use common radiotap code for cooked monitors
>>> 
>>> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
>>> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
>>> 
>>> Removing "mac80211: use common radiotap code for cooked monitors" solves
>>> the problem here, too.
>>> 
>>> Using rt2860 as AP seems not to be a problem.
>> 
>> Sounds like we may need to revert it upstream.  Johannes, any comments?
> That's a known bug, which I submitted a fix for. When looking at the
> 3.4-rc4 log, I don't see my fix in there. It was submitted as
> "[PATCH] mac80211: fix truncated packets in cooked monitor rx"


Just as another data-point, I'm using ath9k for an AR9300 Rev:3 chipset
with compat-wireless-v3.4-rc3-1, and it doesn't work as an AP in any case:

Stock code:
  fails
Reverting [PATCH] mac80211: use common radiotap code for cooked monitors:
  fails
Leaving the above in place and applying Felix's radiotap patch:
  fails

I get a lot of these logs from hostapd:

1335397090.413064: Could not parse ProbeReq from 00:24:44:f5:e3:c2

I'm using hostapd 0.7.3.  If I rewind to an earlier "stable", it works -
at least the AP works; there is a bug in client mode when connecting to
a WEP AP, which is fixed in v3.4-rc3-1.

Should I try switching from "stable" to "next"?

--
-bp



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-25 17:42       ` Felix Fietkau
  2012-04-25 20:47         ` Andreas Hartmann
  2012-04-25 23:46         ` Bryan Phillippe
@ 2012-04-26  3:33         ` Andrew Chant
  2012-04-26  6:36         ` Andreas Hartmann
  3 siblings, 0 replies; 10+ messages in thread
From: Andrew Chant @ 2012-04-26  3:33 UTC (permalink / raw)
  To: Felix Fietkau
  Cc: John W. Linville, Andreas Hartmann, Johannes Berg, linux-wireless

Felix's patch directly applied on top of 3.4.0-rc4 works in my case.

-Andrew

On Wed, Apr 25, 2012 at 10:42 AM, Felix Fietkau <nbd@openwrt.org> wrote:
> On 2012-04-24 2:54 PM, John W. Linville wrote:
>> On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
>>> Andrew Chant wrote:
>>> > 3.4-rc4 doesn't work either.
>>> > If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
>>> > -Andrew
>>> >
>>> > On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>>> >> Hello,
>>> >>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>>> >> the 5GHz band between 3.3 and 3.4-rc2.
>>> >> After 14 git bisects, I believe I have narrowed it down to the following patch:
>>> >>
>>> >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>>> >>
>>> >> mac80211: use common radiotap code for cooked monitors
>>>
>>> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
>>> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
>>>
>>> Removing "mac80211: use common radiotap code for cooked monitors" solves
>>> the problem here, too.
>>>
>>> Using rt2860 as AP seems not to be a problem.
>>
>> Sounds like we may need to revert it upstream.  Johannes, any comments?
> That's a known bug, which I submitted a fix for. When looking at the
> 3.4-rc4 log, I don't see my fix in there. It was submitted as
> "[PATCH] mac80211: fix truncated packets in cooked monitor rx"
>
> - Felix

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-25 17:42       ` Felix Fietkau
                           ` (2 preceding siblings ...)
  2012-04-26  3:33         ` Andrew Chant
@ 2012-04-26  6:36         ` Andreas Hartmann
  3 siblings, 0 replies; 10+ messages in thread
From: Andreas Hartmann @ 2012-04-26  6:36 UTC (permalink / raw)
  To: Felix Fietkau
  Cc: John W. Linville, Andrew Chant, Johannes Berg, linux-wireless

Felix Fietkau wrote:
> On 2012-04-24 2:54 PM, John W. Linville wrote:
>> On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
>>> Andrew Chant wrote:
>>>> 3.4-rc4 doesn't work either.
>>>> If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
>>>> -Andrew
>>>>
>>>> On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>>>>> Hello,
>>>>>  my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>>>>> the 5GHz band between 3.3 and 3.4-rc2.
>>>>> After 14 git bisects, I believe I have narrowed it down to the following patch:
>>>>>
>>>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>>>>>
>>>>> mac80211: use common radiotap code for cooked monitors
>>>
>>> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
>>> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
>>>
>>> Removing "mac80211: use common radiotap code for cooked monitors" solves
>>> the problem here, too.
>>>
>>> Using rt2860 as AP seems not to be a problem.
>>
>> Sounds like we may need to revert it upstream.  Johannes, any comments?
> That's a known bug, which I submitted a fix for. When looking at the
> 3.4-rc4 log, I don't see my fix in there. It was submitted as
> "[PATCH] mac80211: fix truncated packets in cooked monitor rx"

This patch fixes the problem here with ar9285 / AP.


Kind regards,
Andreas

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AP mode my ath9k broke between 3.3 and 3.4-rc2
  2012-04-25 23:46         ` Bryan Phillippe
@ 2012-05-16 22:55           ` Bryan Phillippe
  0 siblings, 0 replies; 10+ messages in thread
From: Bryan Phillippe @ 2012-05-16 22:55 UTC (permalink / raw)
  To: linux-wireless


It seems like 3.4-rc3-1 is still the latest package available for download on the website, even though
it's not usable as an AP.  Is there an ETA for an update that works as an AP?

Thanks,
--
-bp


On Apr 25, 2012, at 4:46 PM, Bryan Phillippe wrote:

> 
> On Apr 25, 2012, at 10:42 AM, Felix Fietkau wrote:
> 
>> On 2012-04-24 2:54 PM, John W. Linville wrote:
>>> On Tue, Apr 24, 2012 at 12:00:11PM +0200, Andreas Hartmann wrote:
>>>> Andrew Chant wrote:
>>>>> 3.4-rc4 doesn't work either.
>>>>> If I revert the patch on 3.4-rc4, the Intel card is able to associate again.
>>>>> -Andrew
>>>>> 
>>>>> On Tue, Apr 24, 2012 at 12:11 AM, Andrew Chant <andrew.chant@gmail.com> wrote:
>>>>>> Hello,
>>>>>> my Atheros AR9300 PCIe card (168c:0030) stopped working as an AP on
>>>>>> the 5GHz band between 3.3 and 3.4-rc2.
>>>>>> After 14 git bisects, I believe I have narrowed it down to the following patch:
>>>>>> 
>>>>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=293702a3fb75832613e2af097bdc3ac8ef775b33
>>>>>> 
>>>>>> mac80211: use common radiotap code for cooked monitors
>>>> 
>>>> Same problem here with ar9285 / 2.4GHz / eap-tls / 802.11n / hostapd
>>>> 0.7.3 / compat-wireless-3.4-rc3-1.tar.bz2
>>>> 
>>>> Removing "mac80211: use common radiotap code for cooked monitors" solves
>>>> the problem here, too.
>>>> 
>>>> Using rt2860 as AP seems not to be a problem.
>>> 
>>> Sounds like we may need to revert it upstream.  Johannes, any comments?
>> That's a known bug, which I submitted a fix for. When looking at the
>> 3.4-rc4 log, I don't see my fix in there. It was submitted as
>> "[PATCH] mac80211: fix truncated packets in cooked monitor rx"
> 
> 
> Just as another data-point, I'm using ath9k for an AR9300 Rev:3 chipset
> with compat-wireless-v3.4-rc3-1, and it doesn't work as an AP in any case:
> 
> Stock code:
>  fails
> Reverting [PATCH] mac80211: use common radiotap code for cooked monitors:
>  fails
> Leaving the above in place and applying Felix's radiotap patch:
>  fails
> 
> I get a lot of these logs from hostapd:
> 
> 1335397090.413064: Could not parse ProbeReq from 00:24:44:f5:e3:c2
> 
> I'm using hostapd 0.7.3.  If I rewind to an earlier "stable", it works -
> at least the AP works; there is a bug in client mode when connecting to
> a WEP AP, which is fixed in v3.4-rc3-1.
> 
> Should I try switching from "stable" to "next"?
> 
> --
> -bp
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-05-16 23:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24  7:11 AP mode my ath9k broke between 3.3 and 3.4-rc2 Andrew Chant
2012-04-24  7:44 ` Andrew Chant
2012-04-24 10:00   ` Andreas Hartmann
2012-04-24 12:54     ` John W. Linville
2012-04-25 17:42       ` Felix Fietkau
2012-04-25 20:47         ` Andreas Hartmann
2012-04-25 23:46         ` Bryan Phillippe
2012-05-16 22:55           ` Bryan Phillippe
2012-04-26  3:33         ` Andrew Chant
2012-04-26  6:36         ` Andreas Hartmann

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).