Modify

Opened 8 years ago

Closed 7 years ago

Last modified 4 years ago

#7385 closed defect (fixed)

Missing module for ath9k_htc

Reported by: Mirek Petricek <mirek@…> Owned by: nbd
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: ath9k_htc AR9271 Cc:

Description

There is missing kernel module ath9k_htc for AR9271 based USB wireless adapter.

Attachments (4)

ath9k_htc-add.patch (1.8 KB) - added by koniu <gkusnierz@…> 7 years ago.
patch to build kmod-ath9k_htc
add_kmod-ath9k-htc.patch (1.8 KB) - added by koniu <gkusnierz@…> 7 years ago.
fixed the patch to avoid underscores in the package name
0001-mac80211-add-option-for-ath9k_htc.patch (3.8 KB) - added by koniu <gkusnierz@…> 7 years ago.
updated patch that downloads the firmware from linux-firmware tree
0002-mac80211-ath9k_htc-enable-debugfs.patch (1.2 KB) - added by koniu <gkusnierz@…> 7 years ago.
enables debugfs on ath9k_htc

Download all attachments as: .zip

Change History (27)

comment:1 Changed 8 years ago by thepeople

  • Owner changed from developers to nbd
  • Status changed from new to assigned

Changed 7 years ago by koniu <gkusnierz@…>

patch to build kmod-ath9k_htc

comment:2 Changed 7 years ago by koniu <gkusnierz@…>

So I played with this a bit and managed to build a package with the kernel module (see patch above). The package doesn't include the firmware at the moment so I copied that by hand and here's what I'm getting:

usb 1-1.2: new high speed USB device using ar71xx-ehci and address 4
usb 1-1.2: configuration #1 chosen from 1 choice
usb 1-1.2: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
usb 1-1.2: ath9k_htc: HTC initialized with 33 credits
Failed to initialize the device
ath9k_hif_usb: probe of 1-1.2:1.0 failed with error -22
root@marvin:~# cat /proc/bus/usb/devices 

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.25 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0608 Rev=77.64
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0cf3 ProdID=1006 Rev= 1.08
S:  Manufacturer=ATHEROS
S:  Product=USB2.0 WLAN
S:  SerialNumber=12345
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=8564 ProdID=1000 Rev=11.00
S:  Manufacturer=JetFlash
S:  Product=Mass Storage Device
S:  SerialNumber=56KM3GQP4L00QD14
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us

The hardware is TP-Link TL-WN422G v2 attached to TL-WR1043ND router (ar71xx).

Not sure how to proceed.

comment:3 Changed 7 years ago by koniu <gkusnierz@…>

Enabled CONFIG_PACKAGE_ATH_DEBUG and now the messages are a bit more verbose:

usb 1-1.2: new high speed USB device using ar71xx-ehci and address 5
usb 1-1.2: configuration #1 chosen from 1 choice
usb 1-1.2: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
usb 1-1.2: ath9k_htc: HTC initialized with 33 credits
ath: no band has been marked as supported in EEPROM.
ath: Unable to initialize hardware; initialization status: -22
ath: Unable to initialize hardware; initialization status: -22
Failed to initialize the device
ath9k_hif_usb: probe of 1-1.2:1.0 failed with error -22

comment:4 Changed 7 years ago by koniu <gkusnierz@…>

With ath9k_htc debug=0xffffffff:

usb 1-1.1: new high speed USB device using ar71xx-ehci and address 14
usb 1-1.1: configuration #1 chosen from 1 choice
usb 1-1.1: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
usb 1-1.1: ath9k_htc: HTC initialized with 33 credits
ath: UNDEFINED -> AWAKE
ath: serialize_regmode is 0
ath: need_swap = False.
ath: Eeprom VER: 14, REV: 13
ath: Initialize ANI
ath: Enable MIB counters
ath: no band has been marked as supported in EEPROM.
ath: Unable to initialize hardware; initialization status: -22
ath: Unable to initialize hardware; initialization status: -22
Failed to initialize the device
ath9k_hif_usb: probe of 1-1.1:1.0 failed with error -22

comment:5 Changed 7 years ago by koniu <gkusnierz@…>

Rebuilt against r24017 with the same results.
What's maybe worth noting is that using compat-wireless-2010-11-16 (same as in OpenWRT trunk) on Debian i386 the adapter works fine.

Could it be some of the patches applied to mac80211 or is it atheros regdom nonsense..

Changed 7 years ago by koniu <gkusnierz@…>

fixed the patch to avoid underscores in the package name

comment:6 follow-up: Changed 7 years ago by koniu <gkusnierz@…>

I don't know what any of this means but I added some printk's and the issue seems to become apparent inside ath9k_hw_fill_cap_info() in hw.c:

 eeval = ah->eep_ops->get_eeprom(ah, EEP_REG_0);
        printk(KERN_DEBUG "REG0 0x%x\n", eeval);
        regulatory->current_rd = eeval;

        eeval = ah->eep_ops->get_eeprom(ah, EEP_REG_1);
        printk(KERN_DEBUG "REG1 0x%x\n", eeval);
        if (AR_SREV_9285_12_OR_LATER(ah))
                eeval |= AR9285_RDEXT_DEFAULT;
        regulatory->current_rd_ext = eeval;

        capField = ah->eep_ops->get_eeprom(ah, EEP_OP_CAP);
        printk(KERN_DEBUG "OP_CAP 0x%x\n", eeval);

        (...)

        eeval = ah->eep_ops->get_eeprom(ah, EEP_OP_MODE);
        printk(KERN_DEBUG "OP_MODE 0x%x\n", eeval);

The results for ath9k_htc driven AR9271:

Nov 18 06:25:41 marvin user.debug kernel: REG0 0x809c
Nov 18 06:25:41 marvin user.debug kernel: REG1 0x0
Nov 18 06:25:41 marvin user.debug kernel: OP_CAP 0x1f
Nov 18 06:25:41 marvin user.debug kernel: OP_MODE 0x0

The if's that follow in the code indicate that OP_MODE shouldn't be 0. Not sure why that would happen.

For comparison, router's built-in ath9k driven AR9100/AR2133 (TP-WR1043ND):

Nov 18 06:27:53 marvin user.debug kernel: REG0 0x0
Nov 18 06:27:53 marvin user.debug kernel: REG1 0x1f
Nov 18 06:27:53 marvin user.debug kernel: OP_CAP 0x1f
Nov 18 06:27:53 marvin user.debug kernel: OP_MODE 0x2

Reading into eeprom_4k.c leaves me at a bit of a loss. Any suggestions?

comment:7 in reply to: ↑ 6 Changed 7 years ago by offlinehacker

What about comparing execution with execution on PC? Meybe some patch for mac80211 have changed something. I have TL-WN722N wireless card and i get same errors, but i currently don't have time to debug. I apriciate your work trying to get ath9k_htc kind of wireless card to work.

comment:8 Changed 7 years ago by koniu <gkusnierz@…>

There seems to be hope here: r24031.

I wonder why there's no mention of it on this ticket. Either way - thanks nbd! Can't test it right now since I lent it to someone in the meantime but will do as soon as I get it back.

Changed 7 years ago by koniu <gkusnierz@…>

updated patch that downloads the firmware from linux-firmware tree

comment:9 Changed 7 years ago by koniu <gkusnierz@…>

Note that, because I couldn't find Atheros's upstream for firmware blobs, the above patch downloads the linux-firmware git tree (~10MB compressed, 19MB in build_dir). The revision checked-out is the last ath9k_htc relevant commit (b5ce48e). Not sure if this is the preferred way forward.

The alternative would be to grab only raw, ath9k_htc relevant firmware blobs through gitweb. That would be 3 files with URLs like this:
http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=b5ce48e2200ab64f210b6f6b10076de0f2e199f1
Not very elegant and might require -O option to underlying wget - is that cleanly achievable within the build system?

On this note, I wonder if OpenWRT could use more firmwares from the linux-firmware tree. I briefly looked at mac80211/Makefile and there's definitely a few that are duplicated but they're apparently not the same as what's sourced by OpenWRT at the moment: ie ar9170 is split into two files, rt2870.bin has different md5sum and so does rt2860.bin (notably the upstream links - http://www.ralinktech.com.tw/data/drivers/* - are dead).

If the patch needs any work before inclusion I will be happy to change it as required.

comment:10 Changed 7 years ago by anonymous

rebuilt r24093 with ath9k_htc driver and still no joy :(

...
ath: no band has been marked as supported in EEPROM.
ath: Unable to initialize hardware; initialization status: -22
...

comment:11 Changed 7 years ago by anonymous

Progress - thanks to nbd's r24098 the above driver initialization errors are all gone and I happily get a wireless extensions' interface wlan1!

usb 1-1.2: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
usb 1-1.2: ath9k_htc: HTC initialized with 33 credits
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
cfg80211: Calling CRDA for country: CN
Registered led device: ath9k-phy2::radio
Registered led device: ath9k-phy2::assoc
Registered led device: ath9k-phy2::tx
Registered led device: ath9k-phy2::rx
usb 1-1.2: ath9k_htc: USB layer initialized
usbcore: registered new interface driver ath9k_hif_usb
cfg80211: Current regulatory domain intersected:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
wlan1     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

So far so good. The current problem is that client mode is not working. I'm getting a whole bunch of:

Nov 23 19:55:06 marvin user.debug kernel: wlan1: direct probe to 94:0c:xx:xx:xx:xx (try 1)
Nov 23 19:55:06 marvin user.debug kernel: wlan1: direct probe to 94:0c:xx:xx:xx:xx (try 2)
Nov 23 19:55:07 marvin user.debug kernel: wlan1: direct probe to 94:0c:xx:xx:xx:xx (try 3)
Nov 23 19:55:07 marvin user.debug kernel: wlan1: direct probe to 94:0c:xx:xx:xx:xx timed out

I tried with:

  • /etc/config/wireless + wifi script
  • insmod ath9k_htc + wpa_supplicant
  • insmod ath9k_htc + iwconfig essid OpenWrt + udhcpc

When I use wpa_supplicant -d this is the output:

root@marvin:~# wpa_supplicant -d -Dwext -iwlan1 -c local.conf
wpa_supplicant v0.8.x
Initializing interface 'wlan1' conf 'local.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file 'local.conf' -> '/root/local.conf'
Reading configuration file '/root/local.conf'
Priority group 0
   id=0 ssid='OpenWrt'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 00:27:19:f3:45:6f
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
Added interface wlan1
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
WEXT: Interface down
Event 29 received on interface wlan1
Interface was disabled
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
State: DISCONNECTED -> INTERFACE_DISABLED
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
WEXT: Interface up
Event 28 received on interface wlan1
Interface was enabled
State: INTERFACE_DISABLED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Setting scan request: 0 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
Wireless event: cmd=0x8b19 len=8
Event 3 received on interface wlan1
Received 4084 bytes of scan results (10 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 1 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 2 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 3 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 4 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 5 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 6 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 7 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 8 BSSID xx:xx:xx:xx:xx:xx SSID 'XXX'
BSS: Add new id 9 BSSID 94:0c:xx:xx:xx:xx SSID 'OpenWrt'
New scan results available
Selecting BSS from priority group 0
0: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-49
   skip - SSID mismatch
1: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=28 rsn_ie_len=24 caps=0x11 level=-70
   skip - SSID mismatch
2: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=0 rsn_ie_len=24 caps=0x11 level=-78 wps
   skip - SSID mismatch
3: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=24 rsn_ie_len=20 caps=0x11 level=-89
   skip - SSID mismatch
4: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=28 rsn_ie_len=24 caps=0x11 level=-89
   skip - SSID mismatch
5: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-91 wps
   skip - SSID mismatch
6: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=24 rsn_ie_len=0 caps=0x11 level=-92
   skip - SSID mismatch
7: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=28 rsn_ie_len=24 caps=0x11 level=-94 wps
   skip - SSID mismatch
8: xx:xx:xx:xx:xx:xx ssid='XXX' wpa_ie_len=0 rsn_ie_len=0 caps=0x11 level=-84
   skip - SSID mismatch
9: 94:0c:xx:xx:xx:xx ssid='OpenWrt' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-26
   selected BSS 94:0c:xx:xx:xx:xx ssid='OpenWrt'
Trying to associate with 94:0c:xx:xx:xx:xx (SSID='OpenWrt' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
Event 5 received on interface wlan1
Wireless event: cmd=0x8b04 len=12
Authentication with 94:0c:xx:xx:xx:xx timed out.
Added BSSID 94:0c:xx:xx:xx:xx into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED

I'm at r24116.

Also seemingly the phy is stuck in CN regulatory domain despite ATH_USER_REGD=y and country=GB set in /etc/config/wireless.

Any tips on how to further investigate this?

comment:12 Changed 7 years ago by anonymous

Here's dmesg output for loading the driver + wpa_supplicant attempt with ath9k_htc debug=0xffffff

Nov 23 20:46:05 marvin user.info kernel: usb 1-1.1: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
Nov 23 20:46:06 marvin user.info kernel: usb 1-1.1: ath9k_htc: HTC initialized with 33 credits
Nov 23 20:46:06 marvin user.debug kernel: ath: UNDEFINED -> AWAKE
Nov 23 20:46:06 marvin user.debug kernel: ath: serialize_regmode is 0
Nov 23 20:46:06 marvin user.debug kernel: ath: Reading from EEPROM, not flash
Nov 23 20:46:06 marvin user.debug kernel: ath: Read Magic = 0xA55A
Nov 23 20:46:06 marvin user.debug kernel: ath: need_swap = True.
Nov 23 20:46:06 marvin user.debug kernel: ath: EEPROM Endianness is not native.. Changing
Nov 23 20:46:06 marvin user.debug kernel: ath: Eeprom VER: 14, REV: 13
Nov 23 20:46:06 marvin user.debug kernel: ath: Initialize ANI
Nov 23 20:46:06 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:06 marvin user.debug kernel: ath: Setup TX queue: 9
Nov 23 20:46:06 marvin user.debug kernel: ath: Set queue properties for: 9
Nov 23 20:46:06 marvin user.debug kernel: ath: Setup TX queue: 8
Nov 23 20:46:06 marvin user.debug kernel: ath: Set queue properties for: 8
Nov 23 20:46:06 marvin user.debug kernel: ath: Setup TX queue: 0
Nov 23 20:46:06 marvin user.debug kernel: ath: TX streams 1, RX streams: 1
Nov 23 20:46:06 marvin user.debug kernel: ath: EEPROM regdomain: 0x809c
Nov 23 20:46:06 marvin user.debug kernel: ath: EEPROM indicates we should expect a country code
Nov 23 20:46:06 marvin user.debug kernel: ath: doing EEPROM country->regdmn map search
Nov 23 20:46:06 marvin user.debug kernel: ath: country maps to regdmn code: 0x52
Nov 23 20:46:06 marvin user.debug kernel: ath: Country alpha2 being used: CN
Nov 23 20:46:06 marvin user.debug kernel: ath: Regpair used: 0x52
Nov 23 20:46:06 marvin user.info kernel: cfg80211: Calling CRDA for country: CN
Nov 23 20:46:06 marvin user.info kernel: Registered led device: ath9k-phy4::radio
Nov 23 20:46:06 marvin user.info kernel: Registered led device: ath9k-phy4::assoc
Nov 23 20:46:06 marvin user.info kernel: Registered led device: ath9k-phy4::tx
Nov 23 20:46:06 marvin user.info kernel: Registered led device: ath9k-phy4::rx
Nov 23 20:46:06 marvin user.info kernel: usb 1-1.1: ath9k_htc: USB layer initialized
Nov 23 20:46:06 marvin user.info kernel: usbcore: registered new interface driver ath9k_hif_usb
Nov 23 20:46:06 marvin user.info kernel: cfg80211: Current regulatory domain intersected:
Nov 23 20:46:06 marvin user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Nov 23 20:46:06 marvin user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Nov 23 20:46:06 marvin user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
Nov 23 20:46:18 marvin user.debug kernel: ath: Starting driver with initial channel: 2412 MHz
Nov 23 20:46:18 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a280 07060504
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   4 | PDADC   1 Value   5 | PDADC   2 Value   6 | PDADC   3 Value   7 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a284 0b0a0908
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   8 | PDADC   5 Value   9 | PDADC   6 Value  10 | PDADC   7 Value  11 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a288 100e0d0c
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  12 | PDADC   9 Value  13 | PDADC  10 Value  14 | PDADC  11 Value  16 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a28c 16141311
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  12 Value  17 | PDADC  13 Value  19 | PDADC  14 Value  20 | PDADC  15 Value  22 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a290 1c1b1917
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  16 Value  23 | PDADC  17 Value  25 | PDADC  18 Value  27 | PDADC  19 Value  28 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a294 2824201e
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TX queue: 0
Nov 23 20:46:18 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x1 eol 0x1 urn 0x0
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TX queue: 1
Nov 23 20:46:18 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x3 eol 0x3 urn 0x0
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TX queue: 2
Nov 23 20:46:18 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x7 eol 0x7 urn 0x0
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TX queue: 3
Nov 23 20:46:18 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0xf eol 0xf urn 0x0
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 4
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 5
Nov 23 20:46:18 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 6
Nov 23 20:46:18 marvin user.debug kernel: ath: enabling ADC Gain Calibration.
Nov 23 20:46:18 marvin user.debug kernel: ath: enabling ADC DC Calibration.
Nov 23 20:46:18 marvin user.debug kernel: ath: enabling IQ Calibration.
Nov 23 20:46:18 marvin user.debug kernel: ath: starting ADC Gain Calibration
Nov 23 20:46:18 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:18 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:18 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:18 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:18 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:18 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:18 marvin user.debug kernel: ath: Attach a VIF of type: 2
0,   0): a288 0f0d0c0b
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  11 | PDADC   9 Value  12 | PDADC  10 Value  13 | PDADC  11 Value  15 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a28c 15131210
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:18 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:18 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:18 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:18 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:18 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:18 marvin user.debug kernel: ath: Set channel: 2427 MHz
Nov 23 20:46:18 marvin user.debug kernel: ath: (2422 MHz) -> (2427 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:18 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:18 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a280 05040302
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   2 | PDADC   1 Value   3 | PDADC   2 Value   4 | PDADC   3 Value   5 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a284 09080706
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   6 | PDADC   5 Value   7 | PDADC   6 Value   8 | PDADC   7 Value   9 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a288 0e0d0b0a
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  10 | PDADC   9 Value  11 | PDADC  10 Value  13 | PDADC  11 Value  14 |
Nov 23 20:46:18 marvin user.debug kernel: ath: PDADC (0,   0): a28c 14131110
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:18 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:18 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:18 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:18 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:18 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:18 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:19 marvin user.debug kernel: ath: Set channel: 2432 MHz
Nov 23 20:46:19 marvin user.debug kernel: ath: (2427 MHz) -> (2432 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:19 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a280 05040302
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   2 | PDADC   1 Value   3 | PDADC   2 Value   4 | PDADC   3 Value   5 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a284 09080706
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   6 | PDADC   5 Value   7 | PDADC   6 Value   8 | PDADC   7 Value   9 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a288 0e0d0b0a
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  10 | PDADC   9 Value  11 | PDADC  10 Value  13 | PDADC  11 Value  14 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a28c 14131110
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:19 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:19 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:19 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:19 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:19 marvin user.debug kernel: ath: Set channel: 2437 MHz
Nov 23 20:46:19 marvin user.debug kernel: ath: (2432 MHz) -> (2437 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:19 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a280 06050403
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   3 | PDADC   1 Value   4 | PDADC   2 Value   5 | PDADC   3 Value   6 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a284 0a090807
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   7 | PDADC   5 Value   8 | PDADC   6 Value   9 | PDADC   7 Value  10 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a288 0f0d0c0b
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  11 | PDADC   9 Value  12 | PDADC  10 Value  13 | PDADC  11 Value  15 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a28c 15131210
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:19 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:19 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:19 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:19 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:19 marvin user.debug kernel: ath: Set channel: 2442 MHz
Nov 23 20:46:19 marvin user.debug kernel: ath: (2437 MHz) -> (2442 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:19 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -114
Nov 23 20:46:19 marvin user.debug kernel: ath: NFmid[0] (-114) > MAX (-116), correcting to MAX
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a280 06050403
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   3 | PDADC   1 Value   4 | PDADC   2 Value   5 | PDADC   3 Value   6 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a284 0a090807
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   7 | PDADC   5 Value   8 | PDADC   6 Value   9 | PDADC   7 Value  10 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a288 0f0d0c0b
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  11 | PDADC   9 Value  12 | PDADC  10 Value  13 | PDADC  11 Value  15 |
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:19 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:19 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:19 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:19 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:19 marvin user.debug kernel: ath: Set channel: 2447 MHz
Nov 23 20:46:19 marvin user.debug kernel: ath: (2442 MHz) -> (2447 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:19 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -112
Nov 23 20:46:19 marvin user.debug kernel: ath: NFmid[0] (-112) > MAX (-116), correcting to MAX
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a280 06050403
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   3 | PDADC   1 Value   4 | PDADC   2 Value   5 | PDADC   3 Value   6 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a284 0a090807
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   7 | PDADC   5 Value   8 | PDADC   6 Value   9 | PDADC   7 Value  10 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a288 0f0d0c0b
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  11 | PDADC   9 Value  12 | PDADC  10 Value  13 | PDADC  11 Value  15 |
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:19 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:19 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:19 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:19 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:19 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
vin user.debug kernel: ath: PDADC (0,   0): a288 110f0e0d
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  13 | PDADC   9 Value  14 | PDADC  10 Value  15 | PDADC  11 Value  17 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a28c 17151412
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  12 Value  18 | PDADC  13 Value  20 | PDADC  14 Value  21 | PDADC  15 Value  23 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a290 1e1c1a19
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  16 Value  25 | PDADC  17 Value  26 | PDADC  18 Value  28 | PDADC  19 Value  30 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a294 2b272320
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TX queue: 0
Nov 23 20:46:19 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TX queue: 1
Nov 23 20:46:19 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TX queue: 2
Nov 23 20:46:19 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TX queue: 3
Nov 23 20:46:19 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 4
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 5
Nov 23 20:46:19 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 6
Nov 23 20:46:19 marvin user.debug kernel: ath: enabling ADC Gain Calibration.
Nov 23 20:46:19 marvin user.debug kernel: ath: enabling ADC DC Calibration.
Nov 23 20:46:19 marvin user.debug kernel: ath: enabling IQ Calibration.
Nov 23 20:46:19 marvin user.debug kernel: ath: starting ADC Gain Calibration
Nov 23 20:46:19 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:19 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:19 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:19 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:19 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:19 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:19 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:19 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:19 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:19 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:19 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:19 marvin user.debug kernel: ath: not-idle: enabling radio
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a280 08070605
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   5 | PDADC   1 Value   6 | PDADC   2 Value   7 | PDADC   3 Value   8 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a284 0c0b0a09
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   9 | PDADC   5 Value  10 | PDADC   6 Value  11 | PDADC   7 Value  12 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a288 110f0e0d
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  13 | PDADC   9 Value  14 | PDADC  10 Value  15 | PDADC  11 Value  17 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a28c 17151412
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  12 Value  18 | PDADC  13 Value  20 | PDADC  14 Value  21 | PDADC  15 Value  23 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a290 1e1c1a19
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  16 Value  25 | PDADC  17 Value  26 | PDADC  18 Value  28 | PDADC  19 Value  30 |
Nov 23 20:46:19 marvin user.debug kernel: ath: PDADC (0,   0): a294 2b272320
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 0
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 1
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 2
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 3
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 4
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 5
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 6
Nov 23 20:46:20 marvin user.debug kernel: ath: enabling ADC Gain Calibration.
Nov 23 20:46:20 marvin user.debug kernel: ath: enabling ADC DC Calibration.
Nov 23 20:46:20 marvin user.debug kernel: ath: enabling IQ Calibration.
Nov 23 20:46:20 marvin user.debug kernel: ath: starting ADC Gain Calibration
Nov 23 20:46:20 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:20 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:20 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:20 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:20 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:20 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:20 marvin user.debug kernel: wlan1: direct probe to 94:0c:6d:e6:a1:56 (try 1)
Nov 23 20:46:20 marvin user.debug kernel: wlan1: direct probe to 94:0c:6d:e6:a1:56 (try 2)
Nov 23 20:46:20 marvin user.debug kernel: wlan1: direct probe to 94:0c:6d:e6:a1:56 (try 3)
Nov 23 20:46:20 marvin user.debug kernel: wlan1: direct probe to 94:0c:6d:e6:a1:56 timed out
Nov 23 20:46:20 marvin user.debug kernel: ath: idle: disabling radio
Nov 23 20:46:20 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:20 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:20 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC (0,   0): a280 08070605
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   5 | PDADC   1 Value   6 | PDADC   2 Value   7 | PDADC   3 Value   8 |
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC (0,   0): a284 0c0b0a09
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   9 | PDADC   5 Value  10 | PDADC   6 Value  11 | PDADC   7 Value  12 |
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC (0,   0): a288 110f0e0d
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  13 | PDADC   9 Value  14 | PDADC  10 Value  15 | PDADC  11 Value  17 |
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC (0,   0): a28c 17151412
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  12 Value  18 | PDADC  13 Value  20 | PDADC  14 Value  21 | PDADC  15 Value  23 |
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC (0,   0): a290 1e1c1a19
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  16 Value  25 | PDADC  17 Value  26 | PDADC  18 Value  28 | PDADC  19 Value  30 |
Nov 23 20:46:20 marvin user.debug kernel: ath: PDADC (0,   0): a294 2b272320
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 0
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 1
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 2
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TX queue: 3
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 4
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 5
Nov 23 20:46:20 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 6
Nov 23 20:46:20 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:20 marvin user.debug kernel: ath: ah->misc_mode 0x4
Nov 23 20:46:20 marvin user.debug kernel: ath: enabling ADC Gain Calibration.
Nov 23 20:46:20 marvin user.debug kernel: ath: enabling ADC DC Calibration.
Nov 23 20:46:20 marvin user.debug kernel: ath: enabling IQ Calibration.
Nov 23 20:46:20 marvin user.debug kernel: ath: starting ADC Gain Calibration
Nov 23 20:46:20 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:29 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:29 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:29 marvin user.debug kernel: ath: not-idle: enabling radio
Nov 23 20:46:29 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC (0,   0): a280 08070605
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   5 | PDADC   1 Value   6 | PDADC   2 Value   7 | PDADC   3 Value   8 |
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC (0,   0): a284 0c0b0a09
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   9 | PDADC   5 Value  10 | PDADC   6 Value  11 | PDADC   7 Value  12 |
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC (0,   0): a288 110f0e0d
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  13 | PDADC   9 Value  14 | PDADC  10 Value  15 | PDADC  11 Value  17 |
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC (0,   0): a28c 17151412
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  12 Value  18 | PDADC  13 Value  20 | PDADC  14 Value  21 | PDADC  15 Value  23 |
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC (0,   0): a290 1e1c1a19
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  16 Value  25 | PDADC  17 Value  26 | PDADC  18 Value  28 | PDADC  19 Value  30 |
Nov 23 20:46:29 marvin user.debug kernel: ath: PDADC (0,   0): a294 2b272320
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 0
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 1
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 2
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 3
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 4
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 5
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 6
Nov 23 20:46:30 marvin user.debug kernel: ath: enabling ADC Gain Calibration.
Nov 23 20:46:30 marvin user.debug kernel: ath: enabling ADC DC Calibration.
Nov 23 20:46:30 marvin user.debug kernel: ath: enabling IQ Calibration.
Nov 23 20:46:30 marvin user.debug kernel: ath: starting ADC Gain Calibration
Nov 23 20:46:30 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:30 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:30 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:30 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:30 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:30 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:30 marvin user.debug kernel: ath: Set HW RX filter: 0x17
Nov 23 20:46:30 marvin user.debug kernel: ath: Set channel: 2412 MHz
Nov 23 20:46:30 marvin user.debug kernel: ath: (2462 MHz) -> (2412 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:30 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:30 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a280 07060504
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   4 | PDADC   1 Value   5 | PDADC   2 Value   6 | PDADC   3 Value   7 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a284 0b0a0908
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   8 | PDADC   5 Value   9 | PDADC   6 Value  10 | PDADC   7 Value  11 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a288 100e0d0c
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  12 | PDADC   9 Value  13 | PDADC  10 Value  14 | PDADC  11 Value  16 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a28c 16141311
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:30 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:30 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:30 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:30 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:30 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:30 marvin user.debug kernel: ath: Set channel: 2417 MHz
Nov 23 20:46:30 marvin user.debug kernel: ath: (2412 MHz) -> (2417 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:30 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:30 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a280 06050403
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   3 | PDADC   1 Value   4 | PDADC   2 Value   5 | PDADC   3 Value   6 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a284 0a090807
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   7 | PDADC   5 Value   8 | PDADC   6 Value   9 | PDADC   7 Value  10 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a288 0f0d0c0b
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  11 | PDADC   9 Value  12 | PDADC  10 Value  13 | PDADC  11 Value  15 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a28c 15131210
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 0 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 1 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 2 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 3 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Getting spur idx 4 is2Ghz. 1 val 8000
Nov 23 20:46:30 marvin user.debug kernel: ath: Enable MIB counters
Nov 23 20:46:30 marvin user.debug kernel: ath: ANI parameters:
Nov 23 20:46:30 marvin user.debug kernel: ath: noiseImmunityLevel=0, spurImmunityLevel=7, ofdmWeakSigDetectOff=1
Nov 23 20:46:30 marvin user.debug kernel: ath: cckWeakSigThreshold=0, firstepLevel=0, listenTime=0
Nov 23 20:46:30 marvin user.debug kernel: ath: ofdmPhyErrCount=0, cckPhyErrCount=0
Nov 23 20:46:30 marvin user.debug kernel: ath: Writing ofdmbase=12582412   cckbase=12582712
Nov 23 20:46:30 marvin user.debug kernel: ath: Set channel: 2422 MHz
Nov 23 20:46:30 marvin user.debug kernel: ath: (2417 MHz) -> (2422 MHz), HT: 0, HT40: 0 fastcc: 1
Nov 23 20:46:30 marvin user.debug kernel: ath: Disable MIB counters
Nov 23 20:46:30 marvin user.debug kernel: ath: NF calibrated [ctl] [chain 0] is -116
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a280 06050403
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   0 Value   3 | PDADC   1 Value   4 | PDADC   2 Value   5 | PDADC   3 Value   6 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a284 0a090807
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   4 Value   7 | PDADC   5 Value   8 | PDADC   6 Value   9 | PDADC   7 Value  10 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a288 0f0d0c0b
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC   8 Value  11 | PDADC   9 Value  12 | PDADC  10 Value  13 | PDADC  11 Value  15 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a28c 15131210
PDADC   9 Value  14 | PDADC  10 Value  15 | PDADC  11 Value  17 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a28c 17151412
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  12 Value  18 | PDADC  13 Value  20 | PDADC  14 Value  21 | PDADC  15 Value  23 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a290 1e1c1a19
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC: Chain 0 | PDADC  16 Value  25 | PDADC  17 Value  26 | PDADC  18 Value  28 | PDADC  19 Value  30 |
Nov 23 20:46:30 marvin user.debug kernel: ath: PDADC (0,   0): a294 2b272320
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 0
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 1
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 2
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TX queue: 3
Nov 23 20:46:30 marvin user.debug kernel: ath: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 4
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 5
Nov 23 20:46:30 marvin user.debug kernel: ath: Reset TXQ, inactive queue: 6
Nov 23 20:46:30 marvin user.debug kernel: ath: ah->misc_mode 0x4
Nov 23 20:46:30 marvin user.debug kernel: ath: enabling ADC Gain Calibration.
Nov 23 20:46:30 marvin user.debug kernel: ath: enabling ADC DC Calibration.
Nov 23 20:46:30 marvin user.debug kernel: ath: enabling IQ Calibration.
Nov 23 20:46:30 marvin user.debug kernel: ath: starting ADC Gain Calibration
Nov 23 20:46:30 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:30 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:30 marvin user.debug kernel: ath: Set HW RX filter: 0x207
Nov 23 20:46:30 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:30 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:30 marvin user.debug kernel: ath: Set HW RX filter: 0x207
Nov 23 20:46:30 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:30 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:30 marvin user.debug kernel: ath: FULL-SLEEP -> AWAKE
Nov 23 20:46:30 marvin user.debug kernel: ath: AWAKE -> FULL-SLEEP
Nov 23 20:46:30 marvin user.debug kernel: ath: Driver halt

I forgot to mention that monitor mode seems to work just fine.

comment:13 Changed 7 years ago by koniu <gkusnierz@…>

I tried a few things (to not much avail):

  1. Recompiling package/mac80211 without extra patches (only 001 through to 110 + 540) makes no difference. I was surprised that 540-ath9k_htc_fix_eeprom was needed since vanilla compat-wireless works on my x86 Debian just fine.
  1. I executed hostapd -dd to see what happens on AP side and there's nothing happening - the client doesn't even touch it.
  1. Added another -d to wpa_supplicant and this time ran it with -Dnl80211. The timeout happens here:
    State: SCANNING -> AUTHENTICATING
    nl80211: Authenticate (ifindex=83)
      * bssid=94:0c:xx:xx:xx:xx
      * freq=2462
      * SSID - hexdump_ascii(len=7):
         4f 70 65 6e 57 72 74                              OpenWrt         
      * IEs - hexdump(len=0): [NULL]
      * Auth Type 0
    nl80211: Authentication request send successfully
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
    Event 5 received on interface wlan1
    nl80211: Event message available
    nl80211: MLME event 37; timeout with 94:0c:xx:xx:xx:xx
    Event 13 received on interface wlan1
    SME: Authentication timed out
    Setting scan request: 5 sec 0 usec
    
  1. Monitor mode works, as well as scanning so it seems that active TX-es fail?
  1. Enabled CONFIG_ATH9K_HTC_DEBUGFS:
    # rmmod ath9k_htc; insmod ath9k_htc
    # iwconfig wlan1 essid OpenWrt
    # ifconfig wlan1 up
    # for i in /sys/kernel/debug/ath9k_htc/phy1/*; do echo $i; cat $i; done
    /sys/kernel/debug/ath9k_htc/phy1/recv
          SKBs allocated :         16
          SKBs completed :         16
            SKBs Dropped :          0
    /sys/kernel/debug/ath9k_htc/phy1/tgt_stats
       TX Short Retries :          0
        TX Long Retries :          0
            TX Xretries :          0
    TX Unaggr. Xretries :          0
       TX Xretries (HT) :          0
                TX Rate :          0
    /sys/kernel/debug/ath9k_htc/phy1/xmit
          Buffers queued :         17
       Buffers completed :         17
             SKBs queued :         17
          SKBs completed :         17
            SKBs dropped :          0
               BE queued :          0
               BK queued :          0
               VI queued :          0
               VO queued :          0
    

Changed 7 years ago by koniu <gkusnierz@…>

enables debugfs on ath9k_htc

comment:14 Changed 7 years ago by koniu <gkusnierz@…>

updated to r24238 an still no joy

comment:15 Changed 7 years ago by mandgeo@…

Did anybody made any progress with this? I want to use my atheros ar9271 usb adapter on an X86 system and i don't have any luck.

Tried to compile the package ath9k_htc / mac80211 and i get this error...

--2011-02-11 21:00:50--  http://mirror2.openwrt.org/sources/linux-firmware-b5ce48e.tar.gz
Resolving mirror2.openwrt.org... 46.4.11.11
Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-02-11 21:00:50 ERROR 404: Not Found.

Download failed.
--2011-02-11 21:00:50--  http://downloads.openwrt.org/sources/linux-firmware-b5ce48e.tar.gz
Resolving downloads.openwrt.org... 78.24.191.177
Connecting to downloads.openwrt.org|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-02-11 21:00:50 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
Checking out files from the git repository...
bash: git: command not found

Someone can solve this problem, please. I don't think i'm the only one that wishes to use atheros wireless N.

comment:16 Changed 7 years ago by mandgeo@…

And it works in Ubuntu...

[ 3929.600179] usb 1-5: new high speed USB device using ehci_hcd and address 5
[ 3930.674634] usb 1-5: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
[ 3932.877120] ath: EEPROM regdomain: 0x809c
[ 3932.877134] ath: EEPROM indicates we should expect a country code
[ 3932.877145] ath: doing EEPROM country->regdmn map search
[ 3932.877154] ath: country maps to regdmn code: 0x52
[ 3932.877164] ath: Country alpha2 being used: CN
[ 3932.877172] ath: Regpair used: 0x52
[ 3932.887404] cfg80211: Calling CRDA for country: CN
[ 3932.897752] Registered led device: ath9k-phy1::radio
[ 3932.897832] Registered led device: ath9k-phy1::assoc
[ 3932.897907] Registered led device: ath9k-phy1::tx
[ 3932.897982] Registered led device: ath9k-phy1::rx
[ 3932.897993] usb 1-5: ath9k_htc: USB layer initialized
[ 3932.898064] usbcore: registered new interface driver ath9k_hif_usb
[ 3933.121810] cfg80211: Regulatory domain changed to country: CN
[ 3933.121820]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 3933.121828]     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 3933.121834]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 3934.151178] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 3952.869411] wlan1: authenticate with 00:17:31:df:83:1c (try 1)
[ 3952.871286] wlan1: authenticated
[ 3952.871356] wlan1: associate with 00:17:31:df:83:1c (try 1)
[ 3952.873965] wlan1: RX AssocResp from 00:17:31:df:83:1c (capab=0x431 status=0 aid=1)
[ 3952.873986] wlan1: associated
[ 3952.913273] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 3963.545097] wlan1: no IPv6 routers present

I think this is the place from where they got the solution.. http://linuxwireless.org/en/users/Drivers/ath9k_htc

comment:17 Changed 7 years ago by koniu <gkusnierz@…>

Replying to mandgeo@…:

Download failed.
No more mirrors to try - giving up.
Checking out files from the git repository...
bash: git: command not found

apt-get install git should do the trick.

Btw, this is not a support forum - this ticket is meant to get kmod-ath9k-htc into OpenWrt rather than provide help in building it from patches. To avoid unnecessary traffic here you should probably use the mailing list or the forum .

comment:18 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from assigned to closed

ath9k_htc added in r26130

comment:19 follow-up: Changed 7 years ago by mandgeo@…

OK, i'm seeing this. I saw this ticket before, but since then something had changed.

"ath9k_htc added in r26130". Does this means that the problem is solved or not? Can i use ar9271 to make an acces point?

I've build trunk 26161 and with my adapter i can only see other networks. No other devices can see my adapter.

comment:20 in reply to: ↑ 19 Changed 7 years ago by koniu <gkusnierz@…>

Replying to mandgeo@…:

OK, i'm seeing this. I saw this ticket before, but since then something had changed.

"ath9k_htc added in r26130". Does this means that the problem is solved or not? Can i use ar9271 to make an acces point?

Apparently, and since very recently, there's patches available to enable AP mode. See here:
http://wireless.kernel.org/en/users/Drivers/ath9k_htc#AP_Mode

Maybe a new 'ath9k_htc ap mode' ticket would be a good start of getting this functionality into openwrt.

comment:21 Changed 7 years ago by plamenjm

<<The timeout happens here...
nl80211: MLME event 37; timeout with...>>

@koniu: Maybe similar problem here (OpenWrt 10.03.1 RC5 testing - trying to use usb wifi adapter in client mode). I found this talk:
http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg05178.html
And here is the patch they talk about:
http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg05178.html

<<Btw, this is not a support forum>>
I am little confused with all these kernels/drivers/patches/tickets - not expert.

Regards.

comment:22 Changed 7 years ago by plamenjm

comment:23 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.