Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-19 Thread 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: (0x)

$ 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: (0x)



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



___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-19 Thread 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?

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: (0x)

 $ 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: (0x)



 Thanks and greetings



___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-18 Thread Oleksij Rempel
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: (0x)

 $ 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: (0x)



 Thanks and greetings


-- 
Regards,
Oleksij
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-18 Thread Mark E. Lee
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: (0x)
 
  $ 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: (0x)
 
 
 
  Thanks and greetings
 
 
 

-- 
Mark E. Lee m...@markelee.com


signature.asc
Description: This is a digitally signed message part
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-18 Thread Oleksij Rempel
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: (0x)

 $ 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: (0x)



 Thanks and greetings





-- 
Regards,
Oleksij
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-05 Thread Mark E. Lee
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-requ...@lists.ath9k.org
wrote:
 On 3 June 2013 11:44, Mark E. Lee m...@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 m...@markelee.com


signature.asc
Description: This is a digitally signed message part
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-03 Thread Mark E. Lee
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 m...@markelee.com


signature.asc
Description: This is a digitally signed message part
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-03 Thread Adrian Chadd
On 3 June 2013 11:44, Mark E. Lee m...@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
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-02 Thread 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-requ...@lists.ath9k.org
wrote:
 Send ath9k-devel mailing list submissions to
   ath9k-devel@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-requ...@lists.ath9k.org
 
 You can reach the person managing the list at
   ath9k-devel-ow...@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 li...@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@lists.ath9k.org
 Message-ID: 51aa2dce.20...@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 m...@markelee.com
BSS c4:3d:c7:a4:57:21(on wlan0) -- associated
	TSF: 68911385231 usec (0d, 19:08:31)
	freq: 2437
	beacon interval: 100 TUs
	capability: ESS Privacy ShortSlotTime (0x0411)
	signal: -35.00 dBm
	last seen: 46703 ms ago
	Information elements from Probe Response frame:
	SSID: Folgers
	Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
	DS Parameter set: channel 6
	ERP: Barker_Preamble_Mode
	Extended supported rates: 24.0 36.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: CCMP
		 * Pairwise ciphers: CCMP
		 * Authentication suites: PSK
		 * Capabilities: 16-PTKSA-RC (0x000c)
	HT capabilities:
		Capabilities: 0x11ec
			HT20
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-15
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 1
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WMM:	 * Parameter version 1
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec


signature.asc
Description: This is a digitally signed message part
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-02 Thread Oleksij Rempel
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-requ...@lists.ath9k.org
 wrote:
 Send ath9k-devel mailing list submissions to
  ath9k-devel@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-requ...@lists.ath9k.org

 You can reach the person managing the list at
  ath9k-devel-ow...@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 li...@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@lists.ath9k.org
 Message-ID: 51aa2dce.20...@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@lists.ath9k.org
 https://lists.ath9k.org/mailman/listinfo/ath9k-devel



-- 
Regards,
Oleksij
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4 (Mark Lee)

2013-06-01 Thread Oleksij Rempel
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
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


[ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4

2013-05-31 Thread Mark E. Lee
I recently purchased a TPLINK TL-WN822N for my desktop running 64 bit
Arch Linux. For some reason, the connection drops out every now and then
(it is especially evident during Skype calls). I have run skype on
ethernet and have not been able to replicate this problem using
ethernet. In addition, I have run the usb wifi adapter in Windows 8
without any issues. Anyone got any advice on how to fix the issue?

From,
Mark
-- 
Mark E. Lee m...@markelee.com


signature.asc
Description: This is a digitally signed message part
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Tplink TL-WN822N drops out connections randomly on Arch Linux with Kernel 3.9.4

2013-05-31 Thread Oleksij Rempel
Am 31.05.2013 18:56, schrieb Mark E. Lee:
 I recently purchased a TPLINK TL-WN822N for my desktop running 64 bit
 Arch Linux. For some reason, the connection drops out every now and then
 (it is especially evident during Skype calls). I have run skype on
 ethernet and have not been able to replicate this problem using
 ethernet. In addition, I have run the usb wifi adapter in Windows 8
 without any issues. Anyone got any advice on how to fix the issue?

 From,
 Mark


Hi Mark,

please provide dmesg and usbid of this device. There are different 
versions of TL-WN822N. Which one do you have?

-- 
Regards,
Oleksij
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel