All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
@ 2013-06-01 16:55 Mark E. Lee
  0 siblings, 0 replies; 13+ messages in thread
From: Mark E. Lee @ 2013-06-01 16:55 UTC (permalink / raw)
  To: ath9k-devel

output of lsusb : Bus 006 Device 003: ID 0cf3:7015 Atheros
Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010
+AR9287]

Wireless N USb adapter has a "version 2.0" label though.

I have attached my dmesg.
-- 
Mark E. Lee <mark@markelee.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: text/x-log
Size: 105976 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130601/9dc4a287/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130601/9dc4a287/attachment-0001.pgp 

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
@ 2013-06-01 17:00 Mark E. Lee
  2013-06-01 17:22 ` Oleksij Rempel
  0 siblings, 1 reply; 13+ messages in thread
From: Mark E. Lee @ 2013-06-01 17:00 UTC (permalink / raw)
  To: ath9k-devel

output of lsusb : Bus 006 Device 003: ID 0cf3:7015 Atheros
Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010
+AR9287]

Wireless N USb adapter has a "version 2.0" label though.

I have attached my dmesg.

-- 
Mark E. Lee <mark@markelee.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: text/x-log
Size: 105976 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130601/80b61932/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130601/80b61932/attachment-0001.pgp 

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-01 17:00 Mark E. Lee
@ 2013-06-01 17:22 ` Oleksij Rempel
  0 siblings, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2013-06-01 17:22 UTC (permalink / raw)
  To: ath9k-devel

Am 01.06.2013 19:00, schrieb Mark E. Lee:
> output of lsusb : Bus 006 Device 003: ID 0cf3:7015 Atheros
> Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010
> +AR9287]
>
> Wireless N USb adapter has a "version 2.0" label though.
>
> I have attached my dmesg.

I have same adapter, here are images of it:
http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2

but i don't have this problem. It will be interesting to have more 
information:
- please send output of "sudo iw dev wlan0 scan dump"
- information about your access point. if possible name of wireless chip 
in it. you can link it with wikidevi.com
- do you use power_save mode? you can check it with "iw dev wlan0 get 
power_save"

-- 
Regards,
Oleksij

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
       [not found] <mailman.1.1370167201.11487.ath9k-devel@lists.ath9k.org>
@ 2013-06-02 16:39 ` Mark E. Lee
  2013-06-02 17:00   ` Oleksij Rempel
  0 siblings, 1 reply; 13+ messages in thread
From: Mark E. Lee @ 2013-06-02 16:39 UTC (permalink / raw)
  To: ath9k-devel

Access Point Firmware:  DD-WRT v24-sp2 (03/19/12) std
Access Point Hardware:  netgear-wnr2000v3

Output of # iw dev wlan0 get power_save :
Power save: off

Output of $ iw dev wlan0 scan dump :
Attached log file (unix ending)

On Sun, 2013-06-02 at 12:00 +0200, ath9k-devel-request at lists.ath9k.org
wrote:
> Send ath9k-devel mailing list submissions to
> 	ath9k-devel at lists.ath9k.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> or, via email, send a message with subject or body 'help' to
> 	ath9k-devel-request at lists.ath9k.org
> 
> You can reach the person managing the list at
> 	ath9k-devel-owner at lists.ath9k.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ath9k-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Tplink TL-WN822N drops out connections randomly on Arch
>       Linux with Kernel 3.9.4 (Mark Lee) (Oleksij Rempel)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 01 Jun 2013 19:22:22 +0200
> From: Oleksij Rempel <linux@rempel-privat.de>
> Subject: Re: [ath9k-devel] Tplink TL-WN822N drops out connections
> 	randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
> To: ath9k-devel at lists.ath9k.org
> Message-ID: <51AA2DCE.20909@rempel-privat.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Am 01.06.2013 19:00, schrieb Mark E. Lee:
> > output of lsusb : Bus 006 Device 003: ID 0cf3:7015 Atheros
> > Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010
> > +AR9287]
> >
> > Wireless N USb adapter has a "version 2.0" label though.
> >
> > I have attached my dmesg.
> 
> I have same adapter, here are images of it:
> http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2
> 
> but i don't have this problem. It will be interesting to have more 
> information:
> - please send output of "sudo iw dev wlan0 scan dump"
> - information about your access point. if possible name of wireless chip 
> in it. you can link it with wikidevi.com
> - do you use power_save mode? you can check it with "iw dev wlan0 get 
> power_save"
> 

-- 
Mark E. Lee <mark@markelee.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wifi_dump.log
Type: text/x-log
Size: 1477 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130602/a84d75de/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130602/a84d75de/attachment.pgp 

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-02 16:39 ` [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee) Mark E. Lee
@ 2013-06-02 17:00   ` Oleksij Rempel
  2013-06-18 18:20     ` Peter Vágner
  0 siblings, 1 reply; 13+ messages in thread
From: Oleksij Rempel @ 2013-06-02 17:00 UTC (permalink / raw)
  To: ath9k-devel

Can you please do some test:
- disable STBC on access point. You will probably need to edit 
hostapd.conf manually.
- change or disable encryption type.


Am 02.06.2013 18:39, schrieb Mark E. Lee:
> Access Point Firmware:  DD-WRT v24-sp2 (03/19/12) std
> Access Point Hardware:  netgear-wnr2000v3
>
> Output of # iw dev wlan0 get power_save :
> Power save: off
>
> Output of $ iw dev wlan0 scan dump :
> Attached log file (unix ending)
>
> On Sun, 2013-06-02 at 12:00 +0200, ath9k-devel-request at lists.ath9k.org
> wrote:
>> Send ath9k-devel mailing list submissions to
>> 	ath9k-devel at lists.ath9k.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>> or, via email, send a message with subject or body 'help' to
>> 	ath9k-devel-request at lists.ath9k.org
>>
>> You can reach the person managing the list at
>> 	ath9k-devel-owner at lists.ath9k.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ath9k-devel digest..."
>>
>>
>> Today's Topics:
>>
>>     1. Re: Tplink TL-WN822N drops out connections randomly on Arch
>>        Linux with Kernel 3.9.4 (Mark Lee) (Oleksij Rempel)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 01 Jun 2013 19:22:22 +0200
>> From: Oleksij Rempel <linux@rempel-privat.de>
>> Subject: Re: [ath9k-devel] Tplink TL-WN822N drops out connections
>> 	randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
>> To: ath9k-devel at lists.ath9k.org
>> Message-ID: <51AA2DCE.20909@rempel-privat.de>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> Am 01.06.2013 19:00, schrieb Mark E. Lee:
>>> output of lsusb : Bus 006 Device 003: ID 0cf3:7015 Atheros
>>> Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010
>>> +AR9287]
>>>
>>> Wireless N USb adapter has a "version 2.0" label though.
>>>
>>> I have attached my dmesg.
>>
>> I have same adapter, here are images of it:
>> http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2
>>
>> but i don't have this problem. It will be interesting to have more
>> information:
>> - please send output of "sudo iw dev wlan0 scan dump"
>> - information about your access point. if possible name of wireless chip
>> in it. you can link it with wikidevi.com
>> - do you use power_save mode? you can check it with "iw dev wlan0 get
>> power_save"
>>
>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>


-- 
Regards,
Oleksij

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
@ 2013-06-03 18:44 Mark E. Lee
  2013-06-03 19:25 ` Adrian Chadd
  0 siblings, 1 reply; 13+ messages in thread
From: Mark E. Lee @ 2013-06-03 18:44 UTC (permalink / raw)
  To: ath9k-devel

I couldn't find hostapd.conf on my access point.

I did however switch the algorithm from WPA2 to WEP and found that I no
longer lost connection during skype calls.

-- 
Mark E. Lee <mark@markelee.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130603/9357e428/attachment.pgp 

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-03 18:44 Mark E. Lee
@ 2013-06-03 19:25 ` Adrian Chadd
  0 siblings, 0 replies; 13+ messages in thread
From: Adrian Chadd @ 2013-06-03 19:25 UTC (permalink / raw)
  To: ath9k-devel

On 3 June 2013 11:44, Mark E. Lee <mark@markelee.com> wrote:
> I couldn't find hostapd.conf on my access point.
>
> I did however switch the algorithm from WPA2 to WEP and found that I no
> longer lost connection during skype calls.

That kinda points at the rekey or the crypto handling in general.

Please find and enable hostapd logging on your AP. I've seen and fixed
bugs in freebsd recently where traffic would fill up buffers and cause
the EAPOL rekey packets to get discarded by the driver. Thus a group
rekey would fail, and the unit would be disconnected.



adrian

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
       [not found] <mailman.1.1370340001.351.ath9k-devel@lists.ath9k.org>
@ 2013-06-05 19:43 ` Mark E. Lee
  0 siblings, 0 replies; 13+ messages in thread
From: Mark E. Lee @ 2013-06-05 19:43 UTC (permalink / raw)
  To: ath9k-devel

I reset my router to the default netgear firmware and found the issue
still continues. 

After seeing this message board post :
<https://bbs.archlinux.org/viewtopic.php?id=137643>
I set an option for ath9k_htc to "nohwcrypt=1". I will see how it goes
in terms of stability. In addition, I was wondering if one could tell me
what that option means.


On Tue, 2013-06-04 at 12:00 +0200, ath9k-devel-request at lists.ath9k.org
wrote:
> On 3 June 2013 11:44, Mark E. Lee <mark@markelee.com> wrote:
> > I couldn't find hostapd.conf on my access point.
> >
> > I did however switch the algorithm from WPA2 to WEP and found that I
> no
> > longer lost connection during skype calls.
> 
> That kinda points at the rekey or the crypto handling in general.
> 
> Please find and enable hostapd logging on your AP. I've seen and fixed
> bugs in freebsd recently where traffic would fill up buffers and cause
> the EAPOL rekey packets to get discarded by the driver. Thus a group
> rekey would fail, and the unit would be disconnected.
> 
> 
> 
> adrian

-- 
Mark E. Lee <mark@markelee.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130605/e9e594e4/attachment.pgp 

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-02 17:00   ` Oleksij Rempel
@ 2013-06-18 18:20     ` Peter Vágner
  2013-06-18 19:41       ` Oleksij Rempel
  0 siblings, 1 reply; 13+ messages in thread
From: Peter Vágner @ 2013-06-18 18:20 UTC (permalink / raw)
  To: ath9k-devel

Hello,
I do also have similar device and am facing a strange problem with it.
After booting up the machine I am unable to connect to certain wireless 
AP. That is an old Owislink WL5460 router set up in 2.4B+G mode with WPA 
encryption.
After connecting to another AP e.g. non encrypted AP made up of my 
Android phone or even encrypted AP created on an iphone I can then 
connect to the problematic AP.
I am on arch linux currently with kernel 3.9.6. The issue started 
happening as I have updated my kernel to 3.9.1. Previously everything 
has been working fine wor me.

Here are some more details

$ lsusb | grep Ather
Bus 002 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

$ iw dev wlp0s26u1u6 get power_save
Power save: off


$ dmesg | grep 00:4f:62:05:df:2d
[   23.237360] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
[   23.331989] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
[   26.376049] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 2/3)
[   28.335490] wlp0s26u1u6: deauthenticating from 00:4f:62:05:df:2d by 
local choice (reason=3)
--- snip ---
This is repeating over and over again until I connect to something else.
And then the final successfull connection to this AP looks like...
[  252.381096] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
[  252.520920] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
[  252.524098] wlp0s26u1u6: associate with 00:4f:62:05:df:2d (try 1/3)
[  252.538293] wlp0s26u1u6: RX AssocResp from 00:4f:62:05:df:2d 
(capab=0x411 status=0 aid=3)

$ dmesg | grep ath9k_htc
[    7.353707] usb 2-1.6: ath9k_htc: Firmware htc_9271.fw requested
[    7.353772] usbcore: registered new interface driver ath9k_htc
[    7.829552] usb 2-1.6: ath9k_htc: Transferred FW: htc_9271.fw, size: 
51272
[    8.064565] ath9k_htc 2-1.6:1.0: ath9k_htc: HTC initialized with 33 
credits
[    8.255145] ath9k_htc 2-1.6:1.0: ath9k_htc: FW Version: 1.3
[  252.522905] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling HT as WMM/QoS 
is not supported by the AP
[  252.522908] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling VHT as WMM/QoS 
is not supported by the AP

$ sudo iw dev wlp0s26u1u6 scan dump
BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) -- associated
     TSF: 254735798022 usec (2d, 22:45:35)
     freq: 2412
     beacon interval: 100 TUs
     capability: ESS Privacy ShortSlotTime (0x0411)
     signal: -61.00 dBm
     last seen: 103493 ms ago
     Information elements from Probe Response frame:
     SSID: predok
     Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
     DS Parameter set: channel 1
     ERP: <no flags>
     Extended supported rates: 24.0 36.0 48.0 54.0
     WPA:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: TKIP
          * Authentication suites: PSK
     RSN:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: CCMP
          * Authentication suites: PSK
          * Capabilities: (0x0000)

$ sudo iw dev wlp0s26u1u6 scan dump
[sudo] password for peto:
BSS 00:4f:62:05:df:2d(on wlp0s26u1u6)
     TSF: 255417536590 usec (2d, 22:56:57)
     freq: 2412
     beacon interval: 100 TUs
     capability: ESS Privacy ShortSlotTime (0x0411)
     signal: -59.00 dBm
     last seen: 386 ms ago
     Information elements from Probe Response frame:
     SSID: predok
     Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
     DS Parameter set: channel 1
     ERP: <no flags>
     Extended supported rates: 24.0 36.0 48.0 54.0
     WPA:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: TKIP
          * Authentication suites: PSK
     RSN:     * Version: 1
          * Group cipher: TKIP
          * Pairwise ciphers: CCMP
          * Authentication suites: PSK
          * Capabilities: (0x0000)



Thanks and greetings

Peter

On 02.06.2013 19:00, Oleksij Rempel wrote:
> Can you please do some test:
> - disable STBC on access point. You will probably need to edit
> hostapd.conf manually.
> - change or disable encryption type.
>
>
> Am 02.06.2013 18:39, schrieb Mark E. Lee:
>> Access Point Firmware:  DD-WRT v24-sp2 (03/19/12) std
>> Access Point Hardware:  netgear-wnr2000v3
>>
>> Output of # iw dev wlan0 get power_save :
>> Power save: off
>>
>> Output of $ iw dev wlan0 scan dump :
>> Attached log file (unix ending)
>>
>> On Sun, 2013-06-02 at 12:00 +0200, ath9k-devel-request at lists.ath9k.org
>> wrote:
>>> Send ath9k-devel mailing list submissions to
>>> 	ath9k-devel at lists.ath9k.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> 	https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>> or, via email, send a message with subject or body 'help' to
>>> 	ath9k-devel-request at lists.ath9k.org
>>>
>>> You can reach the person managing the list at
>>> 	ath9k-devel-owner at lists.ath9k.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of ath9k-devel digest..."
>>>
>>>

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-18 18:20     ` Peter Vágner
@ 2013-06-18 19:41       ` Oleksij Rempel
  2013-06-18 19:52         ` Peter Vágner
  0 siblings, 1 reply; 13+ messages in thread
From: Oleksij Rempel @ 2013-06-18 19:41 UTC (permalink / raw)
  To: ath9k-devel

Hi Peter,

if it is regression, can you please do git bisect to find commit 
affecting your connection. It can be outside of ath9k_htc source.

Am 18.06.2013 20:20, schrieb Peter V?gner:
> Hello,
> I do also have similar device and am facing a strange problem with it.
> After booting up the machine I am unable to connect to certain wireless
> AP. That is an old Owislink WL5460 router set up in 2.4B+G mode with WPA
> encryption.
> After connecting to another AP e.g. non encrypted AP made up of my
> Android phone or even encrypted AP created on an iphone I can then
> connect to the problematic AP.
> I am on arch linux currently with kernel 3.9.6. The issue started
> happening as I have updated my kernel to 3.9.1. Previously everything
> has been working fine wor me.
>
> Here are some more details
>
> $ lsusb | grep Ather
> Bus 002 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271
> 802.11n
>
> $ iw dev wlp0s26u1u6 get power_save
> Power save: off
>
>
> $ dmesg | grep 00:4f:62:05:df:2d
> [   23.237360] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
> [   23.331989] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
> [   26.376049] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 2/3)
> [   28.335490] wlp0s26u1u6: deauthenticating from 00:4f:62:05:df:2d by
> local choice (reason=3)
> --- snip ---
> This is repeating over and over again until I connect to something else.
> And then the final successfull connection to this AP looks like...
> [  252.381096] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
> [  252.520920] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
> [  252.524098] wlp0s26u1u6: associate with 00:4f:62:05:df:2d (try 1/3)
> [  252.538293] wlp0s26u1u6: RX AssocResp from 00:4f:62:05:df:2d
> (capab=0x411 status=0 aid=3)
>
> $ dmesg | grep ath9k_htc
> [    7.353707] usb 2-1.6: ath9k_htc: Firmware htc_9271.fw requested
> [    7.353772] usbcore: registered new interface driver ath9k_htc
> [    7.829552] usb 2-1.6: ath9k_htc: Transferred FW: htc_9271.fw, size:
> 51272
> [    8.064565] ath9k_htc 2-1.6:1.0: ath9k_htc: HTC initialized with 33
> credits
> [    8.255145] ath9k_htc 2-1.6:1.0: ath9k_htc: FW Version: 1.3
> [  252.522905] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling HT as WMM/QoS
> is not supported by the AP
> [  252.522908] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling VHT as WMM/QoS
> is not supported by the AP
>
> $ sudo iw dev wlp0s26u1u6 scan dump
> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) -- associated
>      TSF: 254735798022 usec (2d, 22:45:35)
>      freq: 2412
>      beacon interval: 100 TUs
>      capability: ESS Privacy ShortSlotTime (0x0411)
>      signal: -61.00 dBm
>      last seen: 103493 ms ago
>      Information elements from Probe Response frame:
>      SSID: predok
>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
>      DS Parameter set: channel 1
>      ERP: <no flags>
>      Extended supported rates: 24.0 36.0 48.0 54.0
>      WPA:     * Version: 1
>           * Group cipher: TKIP
>           * Pairwise ciphers: TKIP
>           * Authentication suites: PSK
>      RSN:     * Version: 1
>           * Group cipher: TKIP
>           * Pairwise ciphers: CCMP
>           * Authentication suites: PSK
>           * Capabilities: (0x0000)
>
> $ sudo iw dev wlp0s26u1u6 scan dump
> [sudo] password for peto:
> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6)
>      TSF: 255417536590 usec (2d, 22:56:57)
>      freq: 2412
>      beacon interval: 100 TUs
>      capability: ESS Privacy ShortSlotTime (0x0411)
>      signal: -59.00 dBm
>      last seen: 386 ms ago
>      Information elements from Probe Response frame:
>      SSID: predok
>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
>      DS Parameter set: channel 1
>      ERP: <no flags>
>      Extended supported rates: 24.0 36.0 48.0 54.0
>      WPA:     * Version: 1
>           * Group cipher: TKIP
>           * Pairwise ciphers: TKIP
>           * Authentication suites: PSK
>      RSN:     * Version: 1
>           * Group cipher: TKIP
>           * Pairwise ciphers: CCMP
>           * Authentication suites: PSK
>           * Capabilities: (0x0000)
>
>
>
> Thanks and greetings


-- 
Regards,
Oleksij

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-18 19:41       ` Oleksij Rempel
@ 2013-06-18 19:52         ` Peter Vágner
  2013-06-18 19:54           ` Mark E. Lee
  2013-06-18 20:40           ` Oleksij Rempel
  0 siblings, 2 replies; 13+ messages in thread
From: Peter Vágner @ 2013-06-18 19:52 UTC (permalink / raw)
  To: ath9k-devel

Hello,
I am afraid I don't know how to do this.
Do I have to recompile the whole kernel testing each commit or should I 
just recompile the driver or even track firmware changes?

Can you please point me to somewhere where I can read on how to proceed?

Greetings

Peter


On 18.06.2013 21:41, Oleksij Rempel wrote:
> Hi Peter,
>
> if it is regression, can you please do git bisect to find commit 
> affecting your connection. It can be outside of ath9k_htc source.
>
> Am 18.06.2013 20:20, schrieb Peter V?gner:
>> Hello,
>> I do also have similar device and am facing a strange problem with it.
>> After booting up the machine I am unable to connect to certain wireless
>> AP. That is an old Owislink WL5460 router set up in 2.4B+G mode with WPA
>> encryption.
>> After connecting to another AP e.g. non encrypted AP made up of my
>> Android phone or even encrypted AP created on an iphone I can then
>> connect to the problematic AP.
>> I am on arch linux currently with kernel 3.9.6. The issue started
>> happening as I have updated my kernel to 3.9.1. Previously everything
>> has been working fine wor me.
>>
>> Here are some more details
>>
>> $ lsusb | grep Ather
>> Bus 002 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271
>> 802.11n
>>
>> $ iw dev wlp0s26u1u6 get power_save
>> Power save: off
>>
>>
>> $ dmesg | grep 00:4f:62:05:df:2d
>> [   23.237360] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
>> [   23.331989] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
>> [   26.376049] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 2/3)
>> [   28.335490] wlp0s26u1u6: deauthenticating from 00:4f:62:05:df:2d by
>> local choice (reason=3)
>> --- snip ---
>> This is repeating over and over again until I connect to something else.
>> And then the final successfull connection to this AP looks like...
>> [  252.381096] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
>> [  252.520920] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
>> [  252.524098] wlp0s26u1u6: associate with 00:4f:62:05:df:2d (try 1/3)
>> [  252.538293] wlp0s26u1u6: RX AssocResp from 00:4f:62:05:df:2d
>> (capab=0x411 status=0 aid=3)
>>
>> $ dmesg | grep ath9k_htc
>> [    7.353707] usb 2-1.6: ath9k_htc: Firmware htc_9271.fw requested
>> [    7.353772] usbcore: registered new interface driver ath9k_htc
>> [    7.829552] usb 2-1.6: ath9k_htc: Transferred FW: htc_9271.fw, size:
>> 51272
>> [    8.064565] ath9k_htc 2-1.6:1.0: ath9k_htc: HTC initialized with 33
>> credits
>> [    8.255145] ath9k_htc 2-1.6:1.0: ath9k_htc: FW Version: 1.3
>> [  252.522905] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling HT as WMM/QoS
>> is not supported by the AP
>> [  252.522908] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling VHT as WMM/QoS
>> is not supported by the AP
>>
>> $ sudo iw dev wlp0s26u1u6 scan dump
>> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) -- associated
>>      TSF: 254735798022 usec (2d, 22:45:35)
>>      freq: 2412
>>      beacon interval: 100 TUs
>>      capability: ESS Privacy ShortSlotTime (0x0411)
>>      signal: -61.00 dBm
>>      last seen: 103493 ms ago
>>      Information elements from Probe Response frame:
>>      SSID: predok
>>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
>>      DS Parameter set: channel 1
>>      ERP: <no flags>
>>      Extended supported rates: 24.0 36.0 48.0 54.0
>>      WPA:     * Version: 1
>>           * Group cipher: TKIP
>>           * Pairwise ciphers: TKIP
>>           * Authentication suites: PSK
>>      RSN:     * Version: 1
>>           * Group cipher: TKIP
>>           * Pairwise ciphers: CCMP
>>           * Authentication suites: PSK
>>           * Capabilities: (0x0000)
>>
>> $ sudo iw dev wlp0s26u1u6 scan dump
>> [sudo] password for peto:
>> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6)
>>      TSF: 255417536590 usec (2d, 22:56:57)
>>      freq: 2412
>>      beacon interval: 100 TUs
>>      capability: ESS Privacy ShortSlotTime (0x0411)
>>      signal: -59.00 dBm
>>      last seen: 386 ms ago
>>      Information elements from Probe Response frame:
>>      SSID: predok
>>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
>>      DS Parameter set: channel 1
>>      ERP: <no flags>
>>      Extended supported rates: 24.0 36.0 48.0 54.0
>>      WPA:     * Version: 1
>>           * Group cipher: TKIP
>>           * Pairwise ciphers: TKIP
>>           * Authentication suites: PSK
>>      RSN:     * Version: 1
>>           * Group cipher: TKIP
>>           * Pairwise ciphers: CCMP
>>           * Authentication suites: PSK
>>           * Capabilities: (0x0000)
>>
>>
>>
>> Thanks and greetings
>
>

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-18 19:52         ` Peter Vágner
@ 2013-06-18 19:54           ` Mark E. Lee
  2013-06-18 20:40           ` Oleksij Rempel
  1 sibling, 0 replies; 13+ messages in thread
From: Mark E. Lee @ 2013-06-18 19:54 UTC (permalink / raw)
  To: ath9k-devel

To Peter,

See link for information on how to perform a git bisect :
<https://www.kernel.org/pub/software/scm/git/docs/git-bisect.html>

From,
Mark

On Tue, 2013-06-18 at 21:52 +0200, Peter V?gner wrote:
> Hello,
> I am afraid I don't know how to do this.
> Do I have to recompile the whole kernel testing each commit or should I 
> just recompile the driver or even track firmware changes?
> 
> Can you please point me to somewhere where I can read on how to proceed?
> 
> Greetings
> 
> Peter
> 
> 
> On 18.06.2013 21:41, Oleksij Rempel wrote:
> > Hi Peter,
> >
> > if it is regression, can you please do git bisect to find commit 
> > affecting your connection. It can be outside of ath9k_htc source.
> >
> > Am 18.06.2013 20:20, schrieb Peter V?gner:
> >> Hello,
> >> I do also have similar device and am facing a strange problem with it.
> >> After booting up the machine I am unable to connect to certain wireless
> >> AP. That is an old Owislink WL5460 router set up in 2.4B+G mode with WPA
> >> encryption.
> >> After connecting to another AP e.g. non encrypted AP made up of my
> >> Android phone or even encrypted AP created on an iphone I can then
> >> connect to the problematic AP.
> >> I am on arch linux currently with kernel 3.9.6. The issue started
> >> happening as I have updated my kernel to 3.9.1. Previously everything
> >> has been working fine wor me.
> >>
> >> Here are some more details
> >>
> >> $ lsusb | grep Ather
> >> Bus 002 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271
> >> 802.11n
> >>
> >> $ iw dev wlp0s26u1u6 get power_save
> >> Power save: off
> >>
> >>
> >> $ dmesg | grep 00:4f:62:05:df:2d
> >> [   23.237360] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
> >> [   23.331989] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
> >> [   26.376049] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 2/3)
> >> [   28.335490] wlp0s26u1u6: deauthenticating from 00:4f:62:05:df:2d by
> >> local choice (reason=3)
> >> --- snip ---
> >> This is repeating over and over again until I connect to something else.
> >> And then the final successfull connection to this AP looks like...
> >> [  252.381096] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
> >> [  252.520920] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
> >> [  252.524098] wlp0s26u1u6: associate with 00:4f:62:05:df:2d (try 1/3)
> >> [  252.538293] wlp0s26u1u6: RX AssocResp from 00:4f:62:05:df:2d
> >> (capab=0x411 status=0 aid=3)
> >>
> >> $ dmesg | grep ath9k_htc
> >> [    7.353707] usb 2-1.6: ath9k_htc: Firmware htc_9271.fw requested
> >> [    7.353772] usbcore: registered new interface driver ath9k_htc
> >> [    7.829552] usb 2-1.6: ath9k_htc: Transferred FW: htc_9271.fw, size:
> >> 51272
> >> [    8.064565] ath9k_htc 2-1.6:1.0: ath9k_htc: HTC initialized with 33
> >> credits
> >> [    8.255145] ath9k_htc 2-1.6:1.0: ath9k_htc: FW Version: 1.3
> >> [  252.522905] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling HT as WMM/QoS
> >> is not supported by the AP
> >> [  252.522908] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling VHT as WMM/QoS
> >> is not supported by the AP
> >>
> >> $ sudo iw dev wlp0s26u1u6 scan dump
> >> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) -- associated
> >>      TSF: 254735798022 usec (2d, 22:45:35)
> >>      freq: 2412
> >>      beacon interval: 100 TUs
> >>      capability: ESS Privacy ShortSlotTime (0x0411)
> >>      signal: -61.00 dBm
> >>      last seen: 103493 ms ago
> >>      Information elements from Probe Response frame:
> >>      SSID: predok
> >>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
> >>      DS Parameter set: channel 1
> >>      ERP: <no flags>
> >>      Extended supported rates: 24.0 36.0 48.0 54.0
> >>      WPA:     * Version: 1
> >>           * Group cipher: TKIP
> >>           * Pairwise ciphers: TKIP
> >>           * Authentication suites: PSK
> >>      RSN:     * Version: 1
> >>           * Group cipher: TKIP
> >>           * Pairwise ciphers: CCMP
> >>           * Authentication suites: PSK
> >>           * Capabilities: (0x0000)
> >>
> >> $ sudo iw dev wlp0s26u1u6 scan dump
> >> [sudo] password for peto:
> >> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6)
> >>      TSF: 255417536590 usec (2d, 22:56:57)
> >>      freq: 2412
> >>      beacon interval: 100 TUs
> >>      capability: ESS Privacy ShortSlotTime (0x0411)
> >>      signal: -59.00 dBm
> >>      last seen: 386 ms ago
> >>      Information elements from Probe Response frame:
> >>      SSID: predok
> >>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
> >>      DS Parameter set: channel 1
> >>      ERP: <no flags>
> >>      Extended supported rates: 24.0 36.0 48.0 54.0
> >>      WPA:     * Version: 1
> >>           * Group cipher: TKIP
> >>           * Pairwise ciphers: TKIP
> >>           * Authentication suites: PSK
> >>      RSN:     * Version: 1
> >>           * Group cipher: TKIP
> >>           * Pairwise ciphers: CCMP
> >>           * Authentication suites: PSK
> >>           * Capabilities: (0x0000)
> >>
> >>
> >>
> >> Thanks and greetings
> >
> >
> 

-- 
Mark E. Lee <mark@markelee.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130618/fb968c72/attachment.pgp 

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

* [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)
  2013-06-18 19:52         ` Peter Vágner
  2013-06-18 19:54           ` Mark E. Lee
@ 2013-06-18 20:40           ` Oleksij Rempel
  1 sibling, 0 replies; 13+ messages in thread
From: Oleksij Rempel @ 2013-06-18 20:40 UTC (permalink / raw)
  To: ath9k-devel

Am 18.06.2013 21:52, schrieb Peter V?gner:
> Hello,
> I am afraid I don't know how to do this.
> Do I have to recompile the whole kernel testing each commit or should I
> just recompile the driver or even track firmware changes?

if you didn't updated firmware, then no.
You should recompile complete kernel.

> Can you please point me to somewhere where I can read on how to proceed?

use google. here is one example:
http://www.project-insanity.org/2013/02/how-i-found-a-kernel-regression-using-git-bisect/



> Greetings
>
> Peter
>
>
> On 18.06.2013 21:41, Oleksij Rempel wrote:
>> Hi Peter,
>>
>> if it is regression, can you please do git bisect to find commit
>> affecting your connection. It can be outside of ath9k_htc source.
>>
>> Am 18.06.2013 20:20, schrieb Peter V?gner:
>>> Hello,
>>> I do also have similar device and am facing a strange problem with it.
>>> After booting up the machine I am unable to connect to certain wireless
>>> AP. That is an old Owislink WL5460 router set up in 2.4B+G mode with WPA
>>> encryption.
>>> After connecting to another AP e.g. non encrypted AP made up of my
>>> Android phone or even encrypted AP created on an iphone I can then
>>> connect to the problematic AP.
>>> I am on arch linux currently with kernel 3.9.6. The issue started
>>> happening as I have updated my kernel to 3.9.1. Previously everything
>>> has been working fine wor me.
>>>
>>> Here are some more details
>>>
>>> $ lsusb | grep Ather
>>> Bus 002 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271
>>> 802.11n
>>>
>>> $ iw dev wlp0s26u1u6 get power_save
>>> Power save: off
>>>
>>>
>>> $ dmesg | grep 00:4f:62:05:df:2d
>>> [   23.237360] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
>>> [   23.331989] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
>>> [   26.376049] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 2/3)
>>> [   28.335490] wlp0s26u1u6: deauthenticating from 00:4f:62:05:df:2d by
>>> local choice (reason=3)
>>> --- snip ---
>>> This is repeating over and over again until I connect to something else.
>>> And then the final successfull connection to this AP looks like...
>>> [  252.381096] wlp0s26u1u6: authenticate with 00:4f:62:05:df:2d
>>> [  252.520920] wlp0s26u1u6: send auth to 00:4f:62:05:df:2d (try 1/3)
>>> [  252.524098] wlp0s26u1u6: associate with 00:4f:62:05:df:2d (try 1/3)
>>> [  252.538293] wlp0s26u1u6: RX AssocResp from 00:4f:62:05:df:2d
>>> (capab=0x411 status=0 aid=3)
>>>
>>> $ dmesg | grep ath9k_htc
>>> [    7.353707] usb 2-1.6: ath9k_htc: Firmware htc_9271.fw requested
>>> [    7.353772] usbcore: registered new interface driver ath9k_htc
>>> [    7.829552] usb 2-1.6: ath9k_htc: Transferred FW: htc_9271.fw, size:
>>> 51272
>>> [    8.064565] ath9k_htc 2-1.6:1.0: ath9k_htc: HTC initialized with 33
>>> credits
>>> [    8.255145] ath9k_htc 2-1.6:1.0: ath9k_htc: FW Version: 1.3
>>> [  252.522905] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling HT as WMM/QoS
>>> is not supported by the AP
>>> [  252.522908] ath9k_htc 2-1.6:1.0 wlp0s26u1u6: disabling VHT as WMM/QoS
>>> is not supported by the AP
>>>
>>> $ sudo iw dev wlp0s26u1u6 scan dump
>>> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6) -- associated
>>>      TSF: 254735798022 usec (2d, 22:45:35)
>>>      freq: 2412
>>>      beacon interval: 100 TUs
>>>      capability: ESS Privacy ShortSlotTime (0x0411)
>>>      signal: -61.00 dBm
>>>      last seen: 103493 ms ago
>>>      Information elements from Probe Response frame:
>>>      SSID: predok
>>>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
>>>      DS Parameter set: channel 1
>>>      ERP: <no flags>
>>>      Extended supported rates: 24.0 36.0 48.0 54.0
>>>      WPA:     * Version: 1
>>>           * Group cipher: TKIP
>>>           * Pairwise ciphers: TKIP
>>>           * Authentication suites: PSK
>>>      RSN:     * Version: 1
>>>           * Group cipher: TKIP
>>>           * Pairwise ciphers: CCMP
>>>           * Authentication suites: PSK
>>>           * Capabilities: (0x0000)
>>>
>>> $ sudo iw dev wlp0s26u1u6 scan dump
>>> [sudo] password for peto:
>>> BSS 00:4f:62:05:df:2d(on wlp0s26u1u6)
>>>      TSF: 255417536590 usec (2d, 22:56:57)
>>>      freq: 2412
>>>      beacon interval: 100 TUs
>>>      capability: ESS Privacy ShortSlotTime (0x0411)
>>>      signal: -59.00 dBm
>>>      last seen: 386 ms ago
>>>      Information elements from Probe Response frame:
>>>      SSID: predok
>>>      Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
>>>      DS Parameter set: channel 1
>>>      ERP: <no flags>
>>>      Extended supported rates: 24.0 36.0 48.0 54.0
>>>      WPA:     * Version: 1
>>>           * Group cipher: TKIP
>>>           * Pairwise ciphers: TKIP
>>>           * Authentication suites: PSK
>>>      RSN:     * Version: 1
>>>           * Group cipher: TKIP
>>>           * Pairwise ciphers: CCMP
>>>           * Authentication suites: PSK
>>>           * Capabilities: (0x0000)
>>>
>>>
>>>
>>> Thanks and greetings
>>
>>
>


-- 
Regards,
Oleksij

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

end of thread, other threads:[~2013-06-18 20:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1.1370167201.11487.ath9k-devel@lists.ath9k.org>
2013-06-02 16:39 ` [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee) Mark E. Lee
2013-06-02 17:00   ` Oleksij Rempel
2013-06-18 18:20     ` Peter Vágner
2013-06-18 19:41       ` Oleksij Rempel
2013-06-18 19:52         ` Peter Vágner
2013-06-18 19:54           ` Mark E. Lee
2013-06-18 20:40           ` Oleksij Rempel
     [not found] <mailman.1.1370340001.351.ath9k-devel@lists.ath9k.org>
2013-06-05 19:43 ` Mark E. Lee
2013-06-03 18:44 Mark E. Lee
2013-06-03 19:25 ` Adrian Chadd
  -- strict thread matches above, loose matches on Subject: below --
2013-06-01 17:00 Mark E. Lee
2013-06-01 17:22 ` Oleksij Rempel
2013-06-01 16:55 Mark E. Lee

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.