2011-07-01 13:45:32

by Forest Bond

[permalink] [raw]
Subject: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi,

I am running compat-wireless 3.0-rc4-1 on an Ubuntu 8.04 (Hardy) system with
Ubuntu kernel version 2.6.24-21-generic. Yes, I know this kernel version is
ancient, but that's what c-w is for, right? ;)

First, I should mention that had to apply this patch for c-w to build:

http://permalink.gmane.org/gmane.linux.kernel.wireless.general/72402

I also ran into problems because the c-w Makefile installs the udev
compat_firmware rules file into /lib/udev/rules.d, which is not a supported
location on Hardy. Moving the rules file to /etc/udev/rules.d solved that.

Now the module loads fine and appears to load the firmware correctly, but the
interface never comes up. Here's what happens when I insert the device:

[ 206.270348] usb 5-7: new high speed USB device using ehci_hcd and address 5
[ 206.422393] usb 5-7: configuration #1 chosen from 1 choice
[ 206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
[ 206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
[ 206.864667] Calling CRDA to update world regulatory domain
[ 207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
[ 207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits

At this point the interface is not visible in the output of ifconfig. Something
has gone wrong with USB, because lsusb hangs until I unplug the device, at which
point I see the following in dmesg:

[ 225.464212] usb 5-7: USB disconnect, address 5
[ 225.592282] ath: Reading Magic # failed
[ 225.592310] ath: no band has been marked as supported in EEPROM
[ 225.592315] ath: Unable to initialize hardware; initialization status: -22
[ 225.592321] ath: Unable to initialize hardware; initialization status: -22
[ 225.592336] Failed to initialize the device
[ 225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
[ 225.712249] usbcore: registered new interface driver ath9k_htc

There are several variations on this depending on how long I leave the device
plugged in. Eventually lsusb runs fine in some cases, and I have seen the
interface come up once, but I did not test functionality and I haven't been able
to easily repeat that scenario.

What can I do to debug?

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (2.25 kB)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-11 05:31:06

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Fri, Jul 8, 2011 at 6:54 PM, Mohammed Shafi <[email protected]> wrote:
> On Fri, Jul 8, 2011 at 4:23 AM, Forest Bond <[email protected]> wrote:
>> Hi shafi,
>>
>> On Thu, Jul 07, 2011 at 03:23:50AM -0400, Mohammed Shafi wrote:
>>> attached a reverting patch for LED, did a basic test and looks fine.
>>> need to investigate in this for backporting. ?we have not tested in
>>> 2.6.24 kernel
>>
>> Yes, this seems to fix things. ?I can bring the interface up now and get
>> scanning results. ?I will test further and let you know how things go.
>
> let me quickly check if undefine CONFIG_MAC80211_LEDS in ath9k_htc in
> latest wireless-testing and if i get a lock up or panic

it did not help, got an idea its a locking issue in com pat, I don't
know why its happening for the older kernel. made it working by
commenting out few spinlocks,
>
>>
>> Thanks again for your help.
>>
>> -Forest
>> --
>> Forest Bond
>> http://www.alittletooquiet.net
>> http://www.rapidrollout.com
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>>
>> iEYEARECAAYFAk4WOOEACgkQRO4fQQdv5AxHWgCcCMFdHTo389d6SW9Kp4MF8Ux2
>> MiEAoL6TIP+qdzRTqGspgOQI5JQeAMk9
>> =HFBX
>> -----END PGP SIGNATURE-----
>>
>>
>
>
>
> --
> shafi
>



--
shafi

2011-07-07 06:19:28

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Thu, Jul 7, 2011 at 10:42 AM, Mohammed Shafi
<[email protected]> wrote:
> On Wed, Jul 6, 2011 at 11:59 PM, Forest Bond <[email protected]> wrote:
>> Hi shafi,
>>
>> On Wed, Jul 06, 2011 at 03:58:13AM -0400, Mohammed Shafi wrote:
>>> > To avoid multi reg writes please apply the following change
>>> >
>>> > diff --git a/drivers/net/wireless/ath/ath9k/wmi.h
>>> > b/drivers/net/wireless/ath/ath9k/wmi.h
>>> > index fde6da6..0878add 100644
>>> > --- a/drivers/net/wireless/ath/ath9k/wmi.h
>>> > +++ b/drivers/net/wireless/ath/ath9k/wmi.h
>>> > @@ -124,7 +124,7 @@ enum wmi_event_id {
>>> > ? ? ? ?WMI_TXSTATUS_EVENTID,
>>> > ? ? ? ? };
>>> >
>>> > ? ? ? ? ?-#define MAX_CMD_NUMBER 62
>>> > ? ? ? ? ?+#define MAX_CMD_NUMBER 1
>>> >
>>> > ? ? ? ? ? ?struct register_write {
>>> > ? ? ? ? ? ? ? ? ? ?__be32 reg;
>>> > --
>>>
>>> did you try in your system the simple hack Raj had suggested?
>>> it seems to solve ths issue, but we encountered some soft lock ups due
>>> to the LED stuff is moved to mac80211 with the recent code base,
>>> we will take a look at this to fix this, probably requires some backporting.
>>
>> Yes, the device seems to initialize properly with this patch. ?Like you
>> expected, I am seeing soft lock-ups when I try to bring the interface up.
>>
>>> in order to recreate the issue, we installed Ubuntu 8.04- the Hardy
>>> Heron - released in April 2008.
>>> as expected the issue is perfectly reproducible. thanks to Raj for his
>>> help and suggestions.
>>
>> Thanks for taking the time to test. ?I really appreciate everyone's help.
>>
>>> *please obtain the stable compat-wireless-2.6.36-4
>>> http://linuxwireless.org/en/users/Download/stable/#compat-wireless_2.6.36_stable_releases
>>> *download the old firmware
>>> http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=HEAD
>>> (history http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=history;f=ar9271.fw;h=d0ee74a1c8dccb7cc21f5be90f1d4048fa9dbf9e;hb=HEAD)
>>> with this your USB card will be up and running, we did some basic testing.
>>> *I used ?usbmodeswitch-0.9.4
>>
>> Ultimately we'd like to try the experimental AP mode. ?I understand this was
>> introduced in kernel version 2.6.40, so I don't think compat-wireless-2.6.36-4
>> will work for us.
>
> yes AP mode support is not available in 2.6.36-4 and so as the
> corresponding firmware changes.
>
>>
>> Can you point me to the LED-related commits that you mentioned above? ?We'll
>> either need to backport the changes required to fix the soft lock-ups or upgrade
>> our kernel to include these commits.

we are going to revert this and see if it helps (in addition to
Rajkumar's patch applied)

commit d244f21e79162b829c9af09845421d9b4fac4253
Author: Sujith Manoharan <[email protected]>
Date: Thu Apr 28 16:14:05 2011 +0530

ath9k_htc: Revamp LED management

Remove all the convoluted hacks in the driver and simplify things
by making use of mac80211's LED triggers.

Signed-off-by: Sujith Manoharan <[email protected]>
Signed-off-by: John W. Linville <[email protected]>



>
> no I have not looked into that deeply, will surely take a look into it sooner.
>
>>
>>> we also recommend you upgrade to latest kernel available for your distribution,
>>> because we may still face some other issues as ath9k_htc very much new
>>> compared to ath9k
>>
>> A kernel upgrade is something I would like to avoid if possible, but of course
>> it is something we'll consider if we need to.
>
> its highly recommended you please upgrade the kernel. its needed because
> ?we can avoid fixing issues that may need to back ported in the future.
>
>>
>>> please also read
>>> http://wireless.kernel.org/en/users/Download/compat-wireless-old
>>
>> I think this kernel is supported by the regular compat-wireless package, right?
>
> true, but its also mentioned in the known issues that 2.6.26 >= is
> what ath9k best supports.
> its good that ?ath9k_htc worked
>
>>
>> Thanks,
>> Forest
>> --
>> Forest Bond
>> http://www.alittletooquiet.net
>> http://www.rapidrollout.com
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>>
>> iEYEARECAAYFAk4UqZEACgkQRO4fQQdv5Ay9jQCbB3lJUTTYM0Vm1o+JNqwG0kyI
>> BAMAnjiX7VDThAbNYOyasOBTarI5ZqtE
>> =V/bH
>> -----END PGP SIGNATURE-----
>>
>>
>
>
>
> --
> shafi
>



--
shafi

2011-07-11 15:33:05

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Mon, Jul 11, 2011 at 8:34 PM, Forest Bond <[email protected]> wrote:
> Hi shafi,
>
Hi Forest,
>
> Okay, in the meantime I am up and running with hostapd. ?I have been testing for
> a few hours and have not seen problems, so this setup appears to be relatively
> stable.

really good, but if you get an opportunity to upgrade your kernel please do it.

>
> Of course I am happy to test any other patches you would like to try.

sure thanks.

>
> Thanks,
> Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
> http://www.rapidrollout.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk4bERkACgkQRO4fQQdv5AyuIwCfWnc9fycqtRe+fV2agqevKbWI
> HkEAmgPly6YJjpnZ4WhNdBiyTDlme0eg
> =8A/J
> -----END PGP SIGNATURE-----
>
>



--
shafi

2011-07-06 07:58:14

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

> Forest,
>
> To avoid multi reg writes please apply the following change
>
> diff --git a/drivers/net/wireless/ath/ath9k/wmi.h
> b/drivers/net/wireless/ath/ath9k/wmi.h
> index fde6da6..0878add 100644
> --- a/drivers/net/wireless/ath/ath9k/wmi.h
> +++ b/drivers/net/wireless/ath/ath9k/wmi.h
> @@ -124,7 +124,7 @@ enum wmi_event_id {
> ? ? ? ?WMI_TXSTATUS_EVENTID,
> ? ? ? ? };
>
> ? ? ? ? ?-#define MAX_CMD_NUMBER 62
> ? ? ? ? ?+#define MAX_CMD_NUMBER 1
>
> ? ? ? ? ? ?struct register_write {
> ? ? ? ? ? ? ? ? ? ?__be32 reg;
> --

Hi Forest,

did you try in your system the simple hack Raj had suggested?
it seems to solve ths issue, but we encountered some soft lock ups due
to the LED stuff is moved to mac80211 with the recent code base,
we will take a look at this to fix this, probably requires some backporting.

in order to recreate the issue, we installed Ubuntu 8.04- the Hardy
Heron - released in April 2008.
as expected the issue is perfectly reproducible. thanks to Raj for his
help and suggestions.

*please obtain the stable compat-wireless-2.6.36-4
http://linuxwireless.org/en/users/Download/stable/#compat-wireless_2.6.36_stable_releases
*download the old firmware
http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=HEAD
(history http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=history;f=ar9271.fw;h=d0ee74a1c8dccb7cc21f5be90f1d4048fa9dbf9e;hb=HEAD)
with this your USB card will be up and running, we did some basic testing.
*I used usbmodeswitch-0.9.4

we also recommend you upgrade to latest kernel available for your distribution,
because we may still face some other issues as ath9k_htc very much new
compared to ath9k
please also read
http://wireless.kernel.org/en/users/Download/compat-wireless-old

--
shafi

2011-07-07 22:53:22

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi shafi,

On Thu, Jul 07, 2011 at 03:23:50AM -0400, Mohammed Shafi wrote:
> attached a reverting patch for LED, did a basic test and looks fine.
> need to investigate in this for backporting. we have not tested in
> 2.6.24 kernel

Yes, this seems to fix things. I can bring the interface up now and get
scanning results. I will test further and let you know how things go.

Thanks again for your help.

-Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (490.00 B)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-05 13:29:29

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

>> > Please share your PID/VID.
>
> 0cf3:9271
>
>> And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
>> should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
>> to 1.3 and test again.
>>
>> http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
>
> Okay. ?I had tried both versions previously; neither seems to work any better
> than the other. ?Here is dmesg using firmware version 1.3:
>
> [ ?102.984766] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> [ ?102.984775] Backport based on linux-2.6-allstable.git v3.0-rc4
> [ ?103.213468] Calling CRDA to update world regulatory domain
> [ ?103.798281] usbcore: registered new interface driver ath9k_htc
> [ ?108.482070] usb 5-7: new high speed USB device using ehci_hcd and address 5
> [ ?108.643105] usb 5-7: configuration #1 chosen from 1 choice
> [ ?108.996663] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
> [ ?109.135499] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> [ ?109.140526] ath: UNDEFINED -> AWAKE
> [ ?109.141769] ath: serialize_regmode is 0
> [ ?109.383151] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> [ ?109.383168] ath: REGISTER WRITE FAILED, multi len: 9
> [ ?109.609805] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?109.609822] ath: REGISTER READ FAILED: (0x9c00, -110)
> [ ?109.609835] ath: Reading from EEPROM, not flash
> [ ?109.824058] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?109.824079] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?110.042132] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?110.042148] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?110.260786] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?110.260802] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?110.482613] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?110.482629] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?110.719736] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?110.719753] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?110.953628] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?110.953645] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?111.195035] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?111.195057] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?111.432953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?111.432975] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?111.668211] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?111.668227] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?111.903626] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?111.903642] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?112.135695] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?112.135711] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?112.370919] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?112.370936] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?112.603491] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?112.603508] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?112.841972] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?112.841988] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?113.065412] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?113.065428] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?113.300441] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?113.300458] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?113.536889] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?113.536906] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?113.774809] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?113.774826] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?114.012001] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?114.012018] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?114.245297] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?114.245314] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?114.476929] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?114.476946] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?114.753310] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?114.753327] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?114.966595] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?114.966611] ath: Multiple REGISTER READ FAILED (count: 8)
> [ ?115.193618] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?115.193634] ath: Multiple REGISTER READ FAILED (count: 4)
> [ ?115.462402] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?115.462419] ath: REGISTER READ FAILED: (0x2000, -110)
> [ ?115.685667] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?115.685684] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?115.918681] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?115.918703] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?116.152756] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?116.152773] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?116.391881] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?116.391898] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?116.629244] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?116.629265] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?116.860197] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?116.860214] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?117.094108] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?117.094124] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?117.325535] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?117.325551] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?117.578615] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?117.578632] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?117.819951] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?117.819968] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?118.055933] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?118.055950] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?118.329876] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?118.329893] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?118.563992] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?118.564009] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?118.803279] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?118.803296] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?119.045193] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?119.045209] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?119.294820] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?119.294832] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?119.536403] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?119.536421] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?119.764358] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?119.764375] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?120.002647] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?120.002664] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?120.223089] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?120.223107] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?120.450418] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?120.450435] ath: REGISTER READ FAILED: (0x407c, -110)
> [ ?120.701625] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ ?120.701638] ath: REGISTER READ FAILED: (0x407c, -110)

please try to apply the attached reverting patch, if it works it may
help us to narrow down the issue.
Thanks.

>
> I appreciate your help on this.
>
> Thanks,
> Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
> http://www.rapidrollout.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk4TCEoACgkQRO4fQQdv5AzU1QCfTLes04IZ3F9Zrdo+WdMQ6Kg8
> bV8AoI0CgOsrqwPnSxGA/NMPZFAXmsbP
> =0xqn
> -----END PGP SIGNATURE-----
>
>



--
shafi


Attachments:
0001-Revert-ath9k_hw-Offload-USB-eeprom-reading-to-target.patch (8.41 kB)

2011-07-05 14:47:15

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Tue, Jul 5, 2011 at 8:00 PM, Forest Bond <[email protected]> wrote:
> Hi,
>
> On Tue, Jul 05, 2011 at 06:59:27PM +0530, Mohammed Shafi wrote:
>> >> > Please share your PID/VID.
>> >
>> > 0cf3:9271
>> >
>> >> And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
>> >> should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
>> >> to 1.3 and test again.
>> >>
>> >> http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
>> >
>> > Okay. ?I had tried both versions previously; neither seems to work any better
>> > than the other. ?Here is dmesg using firmware version 1.3:
>> >
>> > [ ?102.984766] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
>> > [ ?102.984775] Backport based on linux-2.6-allstable.git v3.0-rc4
>> > [ ?103.213468] Calling CRDA to update world regulatory domain
>> > [ ?103.798281] usbcore: registered new interface driver ath9k_htc
>> > [ ?108.482070] usb 5-7: new high speed USB device using ehci_hcd and address 5
>> > [ ?108.643105] usb 5-7: configuration #1 chosen from 1 choice
>> > [ ?108.996663] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
>> > [ ?109.135499] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
>> > [ ?109.140526] ath: UNDEFINED -> AWAKE
>> > [ ?109.141769] ath: serialize_regmode is 0
>> > [ ?109.383151] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
>> > [ ?109.383168] ath: REGISTER WRITE FAILED, multi len: 9
>> > [ ?109.609805] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?109.609822] ath: REGISTER READ FAILED: (0x9c00, -110)
>> > [ ?109.609835] ath: Reading from EEPROM, not flash
>> > [ ?109.824058] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?109.824079] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?110.042132] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?110.042148] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?110.260786] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?110.260802] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?110.482613] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?110.482629] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?110.719736] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?110.719753] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?110.953628] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?110.953645] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?111.195035] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?111.195057] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?111.432953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?111.432975] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?111.668211] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?111.668227] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?111.903626] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?111.903642] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?112.135695] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?112.135711] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?112.370919] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?112.370936] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?112.603491] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?112.603508] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?112.841972] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?112.841988] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?113.065412] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?113.065428] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?113.300441] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?113.300458] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?113.536889] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?113.536906] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?113.774809] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?113.774826] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?114.012001] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?114.012018] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?114.245297] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?114.245314] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?114.476929] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?114.476946] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?114.753310] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?114.753327] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?114.966595] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?114.966611] ath: Multiple REGISTER READ FAILED (count: 8)
>> > [ ?115.193618] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?115.193634] ath: Multiple REGISTER READ FAILED (count: 4)
>> > [ ?115.462402] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?115.462419] ath: REGISTER READ FAILED: (0x2000, -110)
>> > [ ?115.685667] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?115.685684] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?115.918681] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?115.918703] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?116.152756] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?116.152773] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?116.391881] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?116.391898] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?116.629244] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?116.629265] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?116.860197] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?116.860214] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?117.094108] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?117.094124] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?117.325535] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?117.325551] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?117.578615] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?117.578632] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?117.819951] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?117.819968] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?118.055933] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?118.055950] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?118.329876] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?118.329893] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?118.563992] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?118.564009] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?118.803279] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?118.803296] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?119.045193] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?119.045209] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?119.294820] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?119.294832] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?119.536403] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?119.536421] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?119.764358] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?119.764375] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?120.002647] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?120.002664] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?120.223089] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?120.223107] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?120.450418] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?120.450435] ath: REGISTER READ FAILED: (0x407c, -110)
>> > [ ?120.701625] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
>> > [ ?120.701638] ath: REGISTER READ FAILED: (0x407c, -110)
>>
>> please try to apply the attached reverting patch, if it works it may
>> help us to narrow down the issue.
>
> This does not seem to make a difference.

sorry i found it late and Raj pointed out register write itself is
failing and I doubt multiple register write is failing for you.
just thinking about these two commits ... and may be try reverting the
second one

commit 4a22fe108e62367c10c3abeb469d6972ba3299f5
commit 7d0d0df0eca695c83a08dc386824a9d1d7c526a4


--
shafi

2011-07-08 13:24:59

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Fri, Jul 8, 2011 at 4:23 AM, Forest Bond <[email protected]> wrote:
> Hi shafi,
>
> On Thu, Jul 07, 2011 at 03:23:50AM -0400, Mohammed Shafi wrote:
>> attached a reverting patch for LED, did a basic test and looks fine.
>> need to investigate in this for backporting. ?we have not tested in
>> 2.6.24 kernel
>
> Yes, this seems to fix things. ?I can bring the interface up now and get
> scanning results. ?I will test further and let you know how things go.

let me quickly check if undefine CONFIG_MAC80211_LEDS in ath9k_htc in
latest wireless-testing and if i get a lock up or panic

>
> Thanks again for your help.
>
> -Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
> http://www.rapidrollout.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk4WOOEACgkQRO4fQQdv5AxHWgCcCMFdHTo389d6SW9Kp4MF8Ux2
> MiEAoL6TIP+qdzRTqGspgOQI5JQeAMk9
> =HFBX
> -----END PGP SIGNATURE-----
>
>



--
shafi

2011-07-07 07:23:52

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

attached a reverting patch for LED, did a basic test and looks fine.
need to investigate in this for backporting. we have not tested in
2.6.24 kernel

--
shafi


Attachments:
0001-Revert-ath9k_htc-Revamp-LED-management.patch (12.49 kB)

2011-07-06 18:29:38

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi shafi,

On Wed, Jul 06, 2011 at 03:58:13AM -0400, Mohammed Shafi wrote:
> > To avoid multi reg writes please apply the following change
> >
> > diff --git a/drivers/net/wireless/ath/ath9k/wmi.h
> > b/drivers/net/wireless/ath/ath9k/wmi.h
> > index fde6da6..0878add 100644
> > --- a/drivers/net/wireless/ath/ath9k/wmi.h
> > +++ b/drivers/net/wireless/ath/ath9k/wmi.h
> > @@ -124,7 +124,7 @@ enum wmi_event_id {
> > ? ? ? ?WMI_TXSTATUS_EVENTID,
> > ? ? ? ? };
> >
> > ? ? ? ? ?-#define MAX_CMD_NUMBER 62
> > ? ? ? ? ?+#define MAX_CMD_NUMBER 1
> >
> > ? ? ? ? ? ?struct register_write {
> > ? ? ? ? ? ? ? ? ? ?__be32 reg;
> > --
>
> did you try in your system the simple hack Raj had suggested?
> it seems to solve ths issue, but we encountered some soft lock ups due
> to the LED stuff is moved to mac80211 with the recent code base,
> we will take a look at this to fix this, probably requires some backporting.

Yes, the device seems to initialize properly with this patch. Like you
expected, I am seeing soft lock-ups when I try to bring the interface up.

> in order to recreate the issue, we installed Ubuntu 8.04- the Hardy
> Heron - released in April 2008.
> as expected the issue is perfectly reproducible. thanks to Raj for his
> help and suggestions.

Thanks for taking the time to test. I really appreciate everyone's help.

> *please obtain the stable compat-wireless-2.6.36-4
> http://linuxwireless.org/en/users/Download/stable/#compat-wireless_2.6.36_stable_releases
> *download the old firmware
> http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=HEAD
> (history http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=history;f=ar9271.fw;h=d0ee74a1c8dccb7cc21f5be90f1d4048fa9dbf9e;hb=HEAD)
> with this your USB card will be up and running, we did some basic testing.
> *I used usbmodeswitch-0.9.4

Ultimately we'd like to try the experimental AP mode. I understand this was
introduced in kernel version 2.6.40, so I don't think compat-wireless-2.6.36-4
will work for us.

Can you point me to the LED-related commits that you mentioned above? We'll
either need to backport the changes required to fix the soft lock-ups or upgrade
our kernel to include these commits.

> we also recommend you upgrade to latest kernel available for your distribution,
> because we may still face some other issues as ath9k_htc very much new
> compared to ath9k

A kernel upgrade is something I would like to avoid if possible, but of course
it is something we'll consider if we need to.

> please also read
> http://wireless.kernel.org/en/users/Download/compat-wireless-old

I think this kernel is supported by the regular compat-wireless package, right?

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (2.74 kB)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-01 14:01:20

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Fri, Jul 1, 2011 at 7:05 PM, Forest Bond <[email protected]> wrote:
> Hi,
>
> I am running compat-wireless 3.0-rc4-1 on an Ubuntu 8.04 (Hardy) system with
> Ubuntu kernel version 2.6.24-21-generic. ?Yes, I know this kernel version is
> ancient, but that's what c-w is for, right? ;)
>
> First, I should mention that had to apply this patch for c-w to build:
>
> ?http://permalink.gmane.org/gmane.linux.kernel.wireless.general/72402
>
> I also ran into problems because the c-w Makefile installs the udev
> compat_firmware rules file into /lib/udev/rules.d, which is not a supported
> location on Hardy. ?Moving the rules file to /etc/udev/rules.d solved that.
>
> Now the module loads fine and appears to load the firmware correctly, but the
> interface never comes up. ?Here's what happens when I insert the device:
>
> [ ?206.270348] usb 5-7: new high speed USB device using ehci_hcd and address 5
> [ ?206.422393] usb 5-7: configuration #1 chosen from 1 choice
> [ ?206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> [ ?206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
> [ ?206.864667] Calling CRDA to update world regulatory domain
> [ ?207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> [ ?207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
>
> At this point the interface is not visible in the output of ifconfig. ?Something
> has gone wrong with USB, because lsusb hangs until I unplug the device, at which
> point I see the following in dmesg:
>
> [ ?225.464212] usb 5-7: USB disconnect, address 5
> [ ?225.592282] ath: Reading Magic # failed
> [ ?225.592310] ath: no band has been marked as supported in EEPROM
> [ ?225.592315] ath: Unable to initialize hardware; initialization status: -22
> [ ?225.592321] ath: Unable to initialize hardware; initialization status: -22
> [ ?225.592336] Failed to initialize the device
> [ ?225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
> [ ?225.712249] usbcore: registered new interface driver ath9k_htc

something wrong in reading EEPROM, please post the kernel log for
sudo modprobe ath9k_htc debug debug=0x404

make sure to enable CONFIG_ATH_DEBUG and ATH9K_HTC_DEBUGFS
http://wireless.kernel.org/en/users/Drivers/ath9k/debug

was this previously working?

>
> There are several variations on this depending on how long I leave the device
> plugged in. ?Eventually lsusb runs fine in some cases, and I have seen the
> interface come up once, but I did not test functionality and I haven't been able
> to easily repeat that scenario.
>
> What can I do to debug?
>
> Thanks,
> Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
> http://www.rapidrollout.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk4NzTkACgkQRO4fQQdv5Ay4aACbBkvIjx+4PB5TlADJlcGMGcGe
> TYwAnjiVA65h6MubxeVc7i7bN8QlzoRM
> =Vo6s
> -----END PGP SIGNATURE-----
>
>



--
shafi

2011-07-06 02:39:48

by Rajkumar Manoharan

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Tue, Jul 05, 2011 at 01:20:22PM -0400, Forest Bond wrote:
> Hi,
>
> On Tue, Jul 05, 2011 at 08:17:13PM +0530, Mohammed Shafi wrote:
> > On Tue, Jul 5, 2011 at 8:00 PM, Forest Bond <[email protected]> wrote:
> > > Hi,
> > >
> > > On Tue, Jul 05, 2011 at 06:59:27PM +0530, Mohammed Shafi wrote:
> > >> >> > Please share your PID/VID.
> > >> >
> > >> > 0cf3:9271
> > >> >
> > >> >> And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
> > >> >> should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
> > >> >> to 1.3 and test again.
> > >> >>
> > >> >> http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
> > >> >
> > >> > Okay. ?I had tried both versions previously; neither seems to work any better
> > >> > than the other. ?Here is dmesg using firmware version 1.3:
> > >> >
> > >> > [ ?102.984766] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > >> > [ ?102.984775] Backport based on linux-2.6-allstable.git v3.0-rc4
> > >> > [ ?103.213468] Calling CRDA to update world regulatory domain
> > >> > [ ?103.798281] usbcore: registered new interface driver ath9k_htc
> > >> > [ ?108.482070] usb 5-7: new high speed USB device using ehci_hcd and address 5
> > >> > [ ?108.643105] usb 5-7: configuration #1 chosen from 1 choice
> > >> > [ ?108.996663] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
> > >> > [ ?109.135499] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > >> > [ ?109.140526] ath: UNDEFINED -> AWAKE
> > >> > [ ?109.141769] ath: serialize_regmode is 0
> > >> > [ ?109.383151] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> > >> > [ ?109.383168] ath: REGISTER WRITE FAILED, multi len: 9
> > >> > [ ?109.609805] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > >> > [ ?109.609822] ath: REGISTER READ FAILED: (0x9c00, -110)
> > >> > [ ?109.609835] ath: Reading from EEPROM, not flash
> > >> > [ ?109.824058] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > >> > [ ?109.824079] ath: Multiple REGISTER READ FAILED (count: 8)
> > >> > [ ?110.042132] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
Forest,

To avoid multi reg writes please apply the following change

diff --git a/drivers/net/wireless/ath/ath9k/wmi.h
b/drivers/net/wireless/ath/ath9k/wmi.h
index fde6da6..0878add 100644
--- a/drivers/net/wireless/ath/ath9k/wmi.h
+++ b/drivers/net/wireless/ath/ath9k/wmi.h
@@ -124,7 +124,7 @@ enum wmi_event_id {
WMI_TXSTATUS_EVENTID,
};

-#define MAX_CMD_NUMBER 62
+#define MAX_CMD_NUMBER 1

struct register_write {
__be32 reg;
--
Rajkumar



2011-07-04 05:24:17

by Rajkumar Manoharan

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Fri, Jul 01, 2011 at 01:32:37PM -0400, Forest Bond wrote:
> Hi shafi,
>
> [Sorry for the duplicate, lost the Cc's the first time around.]
>
> On Fri, Jul 01, 2011 at 07:39:40PM +0530, Mohammed Shafi wrote:
> > On Fri, Jul 1, 2011 at 7:31 PM, Mohammed Shafi <[email protected]> wrote:
> > > On Fri, Jul 1, 2011 at 7:05 PM, Forest Bond <[email protected]> wrote:
> > >> Now the module loads fine and appears to load the firmware correctly, but the
> > >> interface never comes up. ?Here's what happens when I insert the device:
> > >>
> > >> [ ?206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > >> [ ?206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
> > >> [ ?206.864667] Calling CRDA to update world regulatory domain
> > >> [ ?207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> > >> [ ?207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > >>
> > >> At this point the interface is not visible in the output of ifconfig. ?Something
> > >> has gone wrong with USB, because lsusb hangs until I unplug the device, at which
> > >> point I see the following in dmesg:
> > >>
> > >> [ ?225.464212] usb 5-7: USB disconnect, address 5
> > >> [ ?225.592282] ath: Reading Magic # failed
> > >> [ ?225.592310] ath: no band has been marked as supported in EEPROM
> > >> [ ?225.592315] ath: Unable to initialize hardware; initialization status: -22
> > >> [ ?225.592321] ath: Unable to initialize hardware; initialization status: -22
> > >> [ ?225.592336] Failed to initialize the device
> > >> [ ?225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
> > >> [ ?225.712249] usbcore: registered new interface driver ath9k_htc
> > >
> > > something wrong in reading EEPROM, please post the kernel log for
> > > sudo modprobe ath9k_htc debug debug=0x404
> >
> > please do
> > sudo modprobe ath9k_htc debug=0xffffffff
> > this will give lots of information
>
> [ 98.421395] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> [ 98.421405] Backport based on linux-2.6-allstable.git v3.0-rc4
> [ 98.638709] Calling CRDA to update world regulatory domain
> [ 99.219353] usbcore: registered new interface driver ath9k_htc
> [ 103.829197] usb 5-7: new high speed USB device using ehci_hcd and address 5
> [ 103.985215] usb 5-7: configuration #1 chosen from 1 choice
> [ 104.288053] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> [ 104.448323] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> [ 104.453395] ath: UNDEFINED -> AWAKE
> [ 104.454654] ath: serialize_regmode is 0
> [ 104.686218] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> [ 104.686240] ath: REGISTER WRITE FAILED, multi len: 9
> [ 104.901237] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ 104.901259] ath: REGISTER READ FAILED: (0x9c00, -110)
> [ 104.901276] ath: Reading from EEPROM, not flash
> [ 105.136983] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ 105.137000] ath: Multiple REGISTER READ FAILED (count: 8)
> [ 105.408496] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ 105.408513] ath: Multiple REGISTER READ FAILED (count: 8)
> [ 105.676507] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> [ 105.676524] ath: Multiple REGISTER READ FAILED (count: 8)
> [ 105.911084] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
Please share your PID/VID.

--
Rajkumar

2011-07-11 15:04:58

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi shafi,

On Mon, Jul 11, 2011 at 11:01:04AM +0530, Mohammed Shafi wrote:
> On Fri, Jul 8, 2011 at 6:54 PM, Mohammed Shafi <[email protected]> wrote:
> > On Fri, Jul 8, 2011 at 4:23 AM, Forest Bond <[email protected]> wrote:
> >> Hi shafi,
> >>
> >> On Thu, Jul 07, 2011 at 03:23:50AM -0400, Mohammed Shafi wrote:
> >>> attached a reverting patch for LED, did a basic test and looks fine.
> >>> need to investigate in this for backporting. ?we have not tested in
> >>> 2.6.24 kernel
> >>
> >> Yes, this seems to fix things. ?I can bring the interface up now and get
> >> scanning results. ?I will test further and let you know how things go.
> >
> > let me quickly check if undefine CONFIG_MAC80211_LEDS in ath9k_htc in
> > latest wireless-testing and if i get a lock up or panic
>
> it did not help, got an idea its a locking issue in com pat, I don't
> know why its happening for the older kernel. made it working by
> commenting out few spinlocks,

Okay, in the meantime I am up and running with hostapd. I have been testing for
a few hours and have not seen problems, so this setup appears to be relatively
stable.

Of course I am happy to test any other patches you would like to try.

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (1.27 kB)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-05 14:30:30

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi,

On Tue, Jul 05, 2011 at 06:59:27PM +0530, Mohammed Shafi wrote:
> >> > Please share your PID/VID.
> >
> > 0cf3:9271
> >
> >> And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
> >> should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
> >> to 1.3 and test again.
> >>
> >> http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
> >
> > Okay. ?I had tried both versions previously; neither seems to work any better
> > than the other. ?Here is dmesg using firmware version 1.3:
> >
> > [ ?102.984766] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > [ ?102.984775] Backport based on linux-2.6-allstable.git v3.0-rc4
> > [ ?103.213468] Calling CRDA to update world regulatory domain
> > [ ?103.798281] usbcore: registered new interface driver ath9k_htc
> > [ ?108.482070] usb 5-7: new high speed USB device using ehci_hcd and address 5
> > [ ?108.643105] usb 5-7: configuration #1 chosen from 1 choice
> > [ ?108.996663] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
> > [ ?109.135499] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > [ ?109.140526] ath: UNDEFINED -> AWAKE
> > [ ?109.141769] ath: serialize_regmode is 0
> > [ ?109.383151] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> > [ ?109.383168] ath: REGISTER WRITE FAILED, multi len: 9
> > [ ?109.609805] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?109.609822] ath: REGISTER READ FAILED: (0x9c00, -110)
> > [ ?109.609835] ath: Reading from EEPROM, not flash
> > [ ?109.824058] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?109.824079] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?110.042132] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?110.042148] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?110.260786] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?110.260802] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?110.482613] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?110.482629] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?110.719736] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?110.719753] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?110.953628] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?110.953645] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?111.195035] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?111.195057] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?111.432953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?111.432975] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?111.668211] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?111.668227] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?111.903626] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?111.903642] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?112.135695] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?112.135711] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?112.370919] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?112.370936] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?112.603491] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?112.603508] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?112.841972] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?112.841988] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?113.065412] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?113.065428] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?113.300441] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?113.300458] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?113.536889] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?113.536906] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?113.774809] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?113.774826] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?114.012001] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?114.012018] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?114.245297] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?114.245314] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?114.476929] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?114.476946] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?114.753310] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?114.753327] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?114.966595] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?114.966611] ath: Multiple REGISTER READ FAILED (count: 8)
> > [ ?115.193618] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?115.193634] ath: Multiple REGISTER READ FAILED (count: 4)
> > [ ?115.462402] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?115.462419] ath: REGISTER READ FAILED: (0x2000, -110)
> > [ ?115.685667] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?115.685684] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?115.918681] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?115.918703] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?116.152756] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?116.152773] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?116.391881] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?116.391898] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?116.629244] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?116.629265] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?116.860197] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?116.860214] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?117.094108] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?117.094124] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?117.325535] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?117.325551] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?117.578615] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?117.578632] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?117.819951] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?117.819968] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?118.055933] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?118.055950] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?118.329876] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?118.329893] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?118.563992] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?118.564009] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?118.803279] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?118.803296] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?119.045193] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?119.045209] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?119.294820] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?119.294832] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?119.536403] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?119.536421] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?119.764358] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?119.764375] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?120.002647] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?120.002664] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?120.223089] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?120.223107] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?120.450418] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?120.450435] ath: REGISTER READ FAILED: (0x407c, -110)
> > [ ?120.701625] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ ?120.701638] ath: REGISTER READ FAILED: (0x407c, -110)
>
> please try to apply the attached reverting patch, if it works it may
> help us to narrow down the issue.

This does not seem to make a difference.

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (8.14 kB)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-07 05:12:44

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Wed, Jul 6, 2011 at 11:59 PM, Forest Bond <[email protected]> wrote:
> Hi shafi,
>
> On Wed, Jul 06, 2011 at 03:58:13AM -0400, Mohammed Shafi wrote:
>> > To avoid multi reg writes please apply the following change
>> >
>> > diff --git a/drivers/net/wireless/ath/ath9k/wmi.h
>> > b/drivers/net/wireless/ath/ath9k/wmi.h
>> > index fde6da6..0878add 100644
>> > --- a/drivers/net/wireless/ath/ath9k/wmi.h
>> > +++ b/drivers/net/wireless/ath/ath9k/wmi.h
>> > @@ -124,7 +124,7 @@ enum wmi_event_id {
>> > ? ? ? ?WMI_TXSTATUS_EVENTID,
>> > ? ? ? ? };
>> >
>> > ? ? ? ? ?-#define MAX_CMD_NUMBER 62
>> > ? ? ? ? ?+#define MAX_CMD_NUMBER 1
>> >
>> > ? ? ? ? ? ?struct register_write {
>> > ? ? ? ? ? ? ? ? ? ?__be32 reg;
>> > --
>>
>> did you try in your system the simple hack Raj had suggested?
>> it seems to solve ths issue, but we encountered some soft lock ups due
>> to the LED stuff is moved to mac80211 with the recent code base,
>> we will take a look at this to fix this, probably requires some backporting.
>
> Yes, the device seems to initialize properly with this patch. ?Like you
> expected, I am seeing soft lock-ups when I try to bring the interface up.
>
>> in order to recreate the issue, we installed Ubuntu 8.04- the Hardy
>> Heron - released in April 2008.
>> as expected the issue is perfectly reproducible. thanks to Raj for his
>> help and suggestions.
>
> Thanks for taking the time to test. ?I really appreciate everyone's help.
>
>> *please obtain the stable compat-wireless-2.6.36-4
>> http://linuxwireless.org/en/users/Download/stable/#compat-wireless_2.6.36_stable_releases
>> *download the old firmware
>> http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=HEAD
>> (history http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=history;f=ar9271.fw;h=d0ee74a1c8dccb7cc21f5be90f1d4048fa9dbf9e;hb=HEAD)
>> with this your USB card will be up and running, we did some basic testing.
>> *I used ?usbmodeswitch-0.9.4
>
> Ultimately we'd like to try the experimental AP mode. ?I understand this was
> introduced in kernel version 2.6.40, so I don't think compat-wireless-2.6.36-4
> will work for us.

yes AP mode support is not available in 2.6.36-4 and so as the
corresponding firmware changes.

>
> Can you point me to the LED-related commits that you mentioned above? ?We'll
> either need to backport the changes required to fix the soft lock-ups or upgrade
> our kernel to include these commits.

no I have not looked into that deeply, will surely take a look into it sooner.

>
>> we also recommend you upgrade to latest kernel available for your distribution,
>> because we may still face some other issues as ath9k_htc very much new
>> compared to ath9k
>
> A kernel upgrade is something I would like to avoid if possible, but of course
> it is something we'll consider if we need to.

its highly recommended you please upgrade the kernel. its needed because
we can avoid fixing issues that may need to back ported in the future.

>
>> please also read
>> http://wireless.kernel.org/en/users/Download/compat-wireless-old
>
> I think this kernel is supported by the regular compat-wireless package, right?

true, but its also mentioned in the known issues that 2.6.26 >= is
what ath9k best supports.
its good that ath9k_htc worked

>
> Thanks,
> Forest
> --
> Forest Bond
> http://www.alittletooquiet.net
> http://www.rapidrollout.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk4UqZEACgkQRO4fQQdv5Ay9jQCbB3lJUTTYM0Vm1o+JNqwG0kyI
> BAMAnjiX7VDThAbNYOyasOBTarI5ZqtE
> =V/bH
> -----END PGP SIGNATURE-----
>
>



--
shafi

2011-07-05 17:20:23

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi,

On Tue, Jul 05, 2011 at 08:17:13PM +0530, Mohammed Shafi wrote:
> On Tue, Jul 5, 2011 at 8:00 PM, Forest Bond <[email protected]> wrote:
> > Hi,
> >
> > On Tue, Jul 05, 2011 at 06:59:27PM +0530, Mohammed Shafi wrote:
> >> >> > Please share your PID/VID.
> >> >
> >> > 0cf3:9271
> >> >
> >> >> And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
> >> >> should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
> >> >> to 1.3 and test again.
> >> >>
> >> >> http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw
> >> >
> >> > Okay. ?I had tried both versions previously; neither seems to work any better
> >> > than the other. ?Here is dmesg using firmware version 1.3:
> >> >
> >> > [ ?102.984766] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> >> > [ ?102.984775] Backport based on linux-2.6-allstable.git v3.0-rc4
> >> > [ ?103.213468] Calling CRDA to update world regulatory domain
> >> > [ ?103.798281] usbcore: registered new interface driver ath9k_htc
> >> > [ ?108.482070] usb 5-7: new high speed USB device using ehci_hcd and address 5
> >> > [ ?108.643105] usb 5-7: configuration #1 chosen from 1 choice
> >> > [ ?108.996663] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
> >> > [ ?109.135499] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> >> > [ ?109.140526] ath: UNDEFINED -> AWAKE
> >> > [ ?109.141769] ath: serialize_regmode is 0
> >> > [ ?109.383151] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> >> > [ ?109.383168] ath: REGISTER WRITE FAILED, multi len: 9
> >> > [ ?109.609805] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?109.609822] ath: REGISTER READ FAILED: (0x9c00, -110)
> >> > [ ?109.609835] ath: Reading from EEPROM, not flash
> >> > [ ?109.824058] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?109.824079] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?110.042132] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?110.042148] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?110.260786] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?110.260802] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?110.482613] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?110.482629] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?110.719736] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?110.719753] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?110.953628] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?110.953645] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?111.195035] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?111.195057] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?111.432953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?111.432975] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?111.668211] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?111.668227] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?111.903626] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?111.903642] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?112.135695] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?112.135711] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?112.370919] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?112.370936] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?112.603491] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?112.603508] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?112.841972] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?112.841988] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?113.065412] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?113.065428] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?113.300441] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?113.300458] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?113.536889] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?113.536906] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?113.774809] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?113.774826] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?114.012001] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?114.012018] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?114.245297] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?114.245314] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?114.476929] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?114.476946] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?114.753310] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?114.753327] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?114.966595] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?114.966611] ath: Multiple REGISTER READ FAILED (count: 8)
> >> > [ ?115.193618] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?115.193634] ath: Multiple REGISTER READ FAILED (count: 4)
> >> > [ ?115.462402] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?115.462419] ath: REGISTER READ FAILED: (0x2000, -110)
> >> > [ ?115.685667] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?115.685684] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?115.918681] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?115.918703] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?116.152756] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?116.152773] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?116.391881] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?116.391898] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?116.629244] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?116.629265] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?116.860197] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?116.860214] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?117.094108] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?117.094124] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?117.325535] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?117.325551] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?117.578615] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?117.578632] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?117.819951] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?117.819968] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?118.055933] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?118.055950] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?118.329876] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?118.329893] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?118.563992] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?118.564009] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?118.803279] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?118.803296] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?119.045193] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?119.045209] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?119.294820] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?119.294832] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?119.536403] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?119.536421] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?119.764358] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?119.764375] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?120.002647] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?120.002664] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?120.223089] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?120.223107] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?120.450418] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?120.450435] ath: REGISTER READ FAILED: (0x407c, -110)
> >> > [ ?120.701625] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> >> > [ ?120.701638] ath: REGISTER READ FAILED: (0x407c, -110)
> >>
> >> please try to apply the attached reverting patch, if it works it may
> >> help us to narrow down the issue.
> >
> > This does not seem to make a difference.
>
> sorry i found it late and Raj pointed out register write itself is
> failing and I doubt multiple register write is failing for you.
> just thinking about these two commits ... and may be try reverting the
> second one
>
> commit 4a22fe108e62367c10c3abeb469d6972ba3299f5
> commit 7d0d0df0eca695c83a08dc386824a9d1d7c526a4

I reverted 7d0d0df0eca695c83a08dc386824a9d1d7c526a4 and resolved conflicts as
best as I could (see attached patch). I think this helps some, but there are
still problems. Here's dmesg:

[ 60.933710] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
[ 60.933719] Backport based on linux-2.6-allstable.git v3.0-rc4
[ 61.270084] Calling CRDA to update world regulatory domain
[ 62.168966] usbcore: registered new interface driver ath9k_htc
[ 78.359251] usb 5-7: new high speed USB device using ehci_hcd and address 5
[ 78.508423] usb 5-7: configuration #1 chosen from 1 choice
[ 78.813505] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 78.950592] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
[ 78.955621] ath: UNDEFINED -> AWAKE
[ 78.956846] ath: serialize_regmode is 0
[ 78.958679] ath: Reading from EEPROM, not flash
[ 79.179769] ath: Read Magic = 0xA55A
[ 79.179783] ath: need_swap = False.
[ 79.179794] ath: Eeprom VER: 14, REV: 13
[ 79.179803] ath: Initialize ANI
[ 79.179812] ath: Enable MIB counters
[ 79.181827] ath: Setup TX queue: 9
[ 79.181832] ath: Set queue properties for: 9
[ 79.181837] ath: Setup TX queue: 8
[ 79.181840] ath: Set queue properties for: 8
[ 79.181844] ath: Setup TX queue: 0
[ 79.181847] ath: Set queue properties for: 0
[ 79.181851] ath: Setup TX queue: 1
[ 79.181854] ath: Set queue properties for: 1
[ 79.181857] ath: Setup TX queue: 2
[ 79.181861] ath: Set queue properties for: 2
[ 79.181864] ath: Setup TX queue: 3
[ 79.181867] ath: Set queue properties for: 3
[ 79.419609] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 79.419630] ath: REGISTER WRITE FAILED, multi len: 8
[ 79.649912] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 79.649929] ath: REGISTER READ FAILED: (0x8834, -110)
[ 79.878055] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 79.878072] ath: REGISTER WRITE FAILED, multi len: 8
[ 80.129094] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 80.129112] ath: REGISTER READ FAILED: (0x8854, -110)
[ 80.395313] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 80.395330] ath: REGISTER WRITE FAILED, multi len: 8
[ 80.623382] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 80.623395] ath: REGISTER READ FAILED: (0x8874, -110)
[ 80.856254] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 80.856271] ath: REGISTER WRITE FAILED, multi len: 8
[ 81.101565] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 81.101582] ath: REGISTER READ FAILED: (0x8894, -110)
[ 81.335080] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 81.335102] ath: REGISTER WRITE FAILED, multi len: 8
[ 81.573358] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 81.573374] ath: REGISTER READ FAILED: (0x88b4, -110)
[ 81.803931] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 81.803948] ath: REGISTER WRITE FAILED, multi len: 8
[ 82.039197] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 82.039214] ath: REGISTER READ FAILED: (0x88d4, -110)
[ 82.328374] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 82.328391] ath: REGISTER WRITE FAILED, multi len: 8
[ 82.568008] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 82.568019] ath: REGISTER READ FAILED: (0x88f4, -110)
[ 82.811037] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 82.811059] ath: REGISTER WRITE FAILED, multi len: 8
[ 83.049456] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 83.049473] ath: REGISTER READ FAILED: (0x8914, -110)
[ 83.324571] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 83.324588] ath: REGISTER WRITE FAILED, multi len: 8
[ 83.566035] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 83.566052] ath: REGISTER READ FAILED: (0x8934, -110)
[ 83.795421] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 83.795439] ath: REGISTER WRITE FAILED, multi len: 8
[ 84.017921] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 84.017942] ath: REGISTER READ FAILED: (0x8954, -110)
[ 84.248985] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 84.249002] ath: REGISTER WRITE FAILED, multi len: 8
[ 84.474865] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 84.474881] ath: REGISTER READ FAILED: (0x8974, -110)
[ 84.713530] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 84.713547] ath: REGISTER WRITE FAILED, multi len: 8
[ 84.950195] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 84.950212] ath: REGISTER READ FAILED: (0x8994, -110)
[ 85.191996] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 85.192013] ath: REGISTER WRITE FAILED, multi len: 8
[ 85.439516] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 85.439529] ath: REGISTER READ FAILED: (0x89b4, -110)
[ 85.689182] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 85.689199] ath: REGISTER WRITE FAILED, multi len: 8
[ 85.913953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 85.913970] ath: REGISTER READ FAILED: (0x89d4, -110)
[ 86.151019] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 86.151037] ath: REGISTER WRITE FAILED, multi len: 8
[ 86.429545] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 86.429562] ath: REGISTER READ FAILED: (0x89f4, -110)
[ 86.748242] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 86.748259] ath: REGISTER WRITE FAILED, multi len: 8
[ 86.981646] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 86.981663] ath: REGISTER READ FAILED: (0x8a14, -110)
[ 87.219593] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 87.219610] ath: REGISTER WRITE FAILED, multi len: 8
[ 87.457406] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 87.457423] ath: REGISTER READ FAILED: (0x8a34, -110)
[ 87.696039] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 87.696056] ath: REGISTER WRITE FAILED, multi len: 8
[ 87.932277] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 87.932294] ath: REGISTER READ FAILED: (0x8a54, -110)
[ 88.167619] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 88.167637] ath: REGISTER WRITE FAILED, multi len: 8
[ 88.446352] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 88.446369] ath: REGISTER READ FAILED: (0x8a74, -110)
[ 88.673373] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 88.673390] ath: REGISTER WRITE FAILED, multi len: 8
[ 88.910855] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 88.910877] ath: REGISTER READ FAILED: (0x8a94, -110)
[ 89.144349] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 89.144366] ath: REGISTER WRITE FAILED, multi len: 8
[ 89.363669] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 89.363685] ath: REGISTER READ FAILED: (0x8ab4, -110)
[ 89.579427] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 89.579444] ath: REGISTER WRITE FAILED, multi len: 8
[ 89.802272] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 89.802289] ath: REGISTER READ FAILED: (0x8ad4, -110)
[ 90.035100] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 90.035117] ath: REGISTER WRITE FAILED, multi len: 8
[ 90.274214] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 90.274231] ath: REGISTER READ FAILED: (0x8af4, -110)
[ 90.508156] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 90.508174] ath: REGISTER WRITE FAILED, multi len: 8
[ 90.744777] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 90.744794] ath: REGISTER READ FAILED: (0x8b14, -110)
[ 90.986425] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 90.986443] ath: REGISTER WRITE FAILED, multi len: 8
[ 91.206572] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 91.206595] ath: REGISTER READ FAILED: (0x8b34, -110)
[ 91.445947] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 91.445965] ath: REGISTER WRITE FAILED, multi len: 8
[ 91.680429] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 91.680451] ath: REGISTER READ FAILED: (0x8b54, -110)
[ 91.916274] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 91.916291] ath: REGISTER WRITE FAILED, multi len: 8
[ 92.151459] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 92.151476] ath: REGISTER READ FAILED: (0x8b74, -110)
[ 92.383992] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 92.384009] ath: REGISTER WRITE FAILED, multi len: 8
[ 92.613994] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 92.614016] ath: REGISTER READ FAILED: (0x8b94, -110)
[ 92.850545] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 92.850562] ath: REGISTER WRITE FAILED, multi len: 8
[ 93.086608] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 93.086619] ath: REGISTER READ FAILED: (0x8bb4, -110)
[ 93.327099] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 93.327116] ath: REGISTER WRITE FAILED, multi len: 8
[ 93.563971] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 93.563987] ath: REGISTER READ FAILED: (0x8bd4, -110)
[ 93.795161] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 93.795174] ath: REGISTER WRITE FAILED, multi len: 8
[ 94.033200] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 94.033216] ath: REGISTER READ FAILED: (0x8bf4, -110)
[ 94.299464] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 94.299477] ath: REGISTER WRITE FAILED, multi len: 8
[ 94.540808] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 94.540825] ath: REGISTER READ FAILED: (0x8c14, -110)
[ 94.766436] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 94.766458] ath: REGISTER WRITE FAILED, multi len: 8
[ 94.990123] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 94.990140] ath: REGISTER READ FAILED: (0x8c34, -110)
[ 95.255593] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 95.255610] ath: REGISTER WRITE FAILED, multi len: 8
[ 95.493251] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 95.493268] ath: REGISTER READ FAILED: (0x8c54, -110)
[ 95.727716] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 95.727733] ath: REGISTER WRITE FAILED, multi len: 8
[ 95.964662] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 95.964684] ath: REGISTER READ FAILED: (0x8c74, -110)
[ 96.205757] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 96.205774] ath: REGISTER WRITE FAILED, multi len: 8
[ 96.431263] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 96.431280] ath: REGISTER READ FAILED: (0x8c94, -110)
[ 96.670594] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 96.670611] ath: REGISTER WRITE FAILED, multi len: 8
[ 96.904391] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 96.904407] ath: REGISTER READ FAILED: (0x8cb4, -110)
[ 97.141760] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 97.141778] ath: REGISTER WRITE FAILED, multi len: 8
[ 97.380312] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 97.380329] ath: REGISTER READ FAILED: (0x8cd4, -110)
[ 97.610917] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 97.610935] ath: REGISTER WRITE FAILED, multi len: 8
[ 97.841642] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 97.841658] ath: REGISTER READ FAILED: (0x8cf4, -110)
[ 98.087991] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 98.088009] ath: REGISTER WRITE FAILED, multi len: 8
[ 98.352449] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 98.352466] ath: REGISTER READ FAILED: (0x8d14, -110)
[ 98.591965] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 98.591982] ath: REGISTER WRITE FAILED, multi len: 8
[ 98.826263] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 98.826281] ath: REGISTER READ FAILED: (0x8d34, -110)
[ 99.047712] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 99.047729] ath: REGISTER WRITE FAILED, multi len: 8
[ 99.292783] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 99.292800] ath: REGISTER READ FAILED: (0x8d54, -110)
[ 99.522494] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 99.522511] ath: REGISTER WRITE FAILED, multi len: 8
[ 99.738792] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 99.738809] ath: REGISTER READ FAILED: (0x8d74, -110)
[ 99.959168] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 99.959186] ath: REGISTER WRITE FAILED, multi len: 8
[ 100.188047] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 100.188059] ath: REGISTER READ FAILED: (0x8d94, -110)
[ 100.454063] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 100.454080] ath: REGISTER WRITE FAILED, multi len: 8
[ 100.689843] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 100.689860] ath: REGISTER READ FAILED: (0x8db4, -110)
[ 100.924129] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 100.924146] ath: REGISTER WRITE FAILED, multi len: 8
[ 101.156497] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 101.156515] ath: REGISTER READ FAILED: (0x8dd4, -110)
[ 101.397536] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 101.397555] ath: REGISTER WRITE FAILED, multi len: 8
[ 101.666040] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 101.666057] ath: REGISTER READ FAILED: (0x8df4, -110)
[ 101.899913] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 101.899930] ath: REGISTER WRITE FAILED, multi len: 8
[ 102.134299] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 102.134312] ath: REGISTER READ FAILED: (0x8e14, -110)
[ 102.371090] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 102.371107] ath: REGISTER WRITE FAILED, multi len: 8
[ 102.611698] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 102.611715] ath: REGISTER READ FAILED: (0x8e34, -110)
[ 102.847307] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 102.847324] ath: REGISTER WRITE FAILED, multi len: 8
[ 103.066903] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 103.066920] ath: REGISTER READ FAILED: (0x8e54, -110)
[ 103.304121] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 103.304138] ath: REGISTER WRITE FAILED, multi len: 8
[ 103.535983] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 103.536000] ath: REGISTER READ FAILED: (0x8e74, -110)
[ 103.771419] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 103.771436] ath: REGISTER WRITE FAILED, multi len: 8
[ 104.010499] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 104.010516] ath: REGISTER READ FAILED: (0x8e94, -110)
[ 104.244160] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 104.244178] ath: REGISTER WRITE FAILED, multi len: 8
[ 104.479000] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 104.479013] ath: REGISTER READ FAILED: (0x8eb4, -110)
[ 104.711724] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 104.711741] ath: REGISTER WRITE FAILED, multi len: 8
[ 104.923163] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 104.923185] ath: REGISTER READ FAILED: (0x8ed4, -110)
[ 105.159891] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 105.159909] ath: REGISTER WRITE FAILED, multi len: 8
[ 105.389905] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 105.389922] ath: REGISTER READ FAILED: (0x8ef4, -110)
[ 105.605699] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 105.605716] ath: REGISTER WRITE FAILED, multi len: 8
[ 105.838344] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 105.838361] ath: REGISTER READ FAILED: (0x8f14, -110)
[ 106.076069] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 106.076086] ath: REGISTER WRITE FAILED, multi len: 8
[ 106.350270] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 106.350287] ath: REGISTER READ FAILED: (0x8f34, -110)
[ 106.588805] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 106.588823] ath: REGISTER WRITE FAILED, multi len: 8
[ 106.823643] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 106.823660] ath: REGISTER READ FAILED: (0x8f54, -110)
[ 107.053350] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 107.053367] ath: REGISTER WRITE FAILED, multi len: 8
[ 107.286945] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 107.286963] ath: REGISTER READ FAILED: (0x8f74, -110)
[ 107.517329] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 107.517346] ath: REGISTER WRITE FAILED, multi len: 8
[ 107.754844] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 107.754861] ath: REGISTER READ FAILED: (0x8f94, -110)
[ 108.018059] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 108.018076] ath: REGISTER WRITE FAILED, multi len: 8
[ 108.243426] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.243444] ath: REGISTER READ FAILED: (0x8fb4, -110)
[ 108.477214] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 108.477231] ath: REGISTER WRITE FAILED, multi len: 8
[ 108.707476] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.707496] ath: REGISTER READ FAILED: (0x8fd4, -110)
[ 108.941315] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 108.941332] ath: REGISTER WRITE FAILED, multi len: 8
[ 109.172995] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.173007] ath: REGISTER READ FAILED: (0x8ff4, -110)
[ 109.402696] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 109.402714] ath: REGISTER WRITE FAILED, multi len: 8
[ 109.634771] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.634793] ath: REGISTER READ FAILED: (0x9014, -110)
[ 109.865550] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 109.865567] ath: REGISTER WRITE FAILED, multi len: 8
[ 110.082064] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.082080] ath: REGISTER READ FAILED: (0x9034, -110)
[ 110.300529] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 110.300546] ath: REGISTER WRITE FAILED, multi len: 8
[ 110.526273] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.526289] ath: REGISTER READ FAILED: (0x9054, -110)
[ 110.749106] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 110.749124] ath: REGISTER WRITE FAILED, multi len: 8
[ 110.999478] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.999489] ath: REGISTER READ FAILED: (0x9074, -110)
[ 111.237365] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 111.237382] ath: REGISTER WRITE FAILED, multi len: 8
[ 111.472907] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 111.472924] ath: REGISTER READ FAILED: (0x9094, -110)
[ 111.711196] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 111.711213] ath: REGISTER WRITE FAILED, multi len: 8
[ 111.946930] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 111.946948] ath: REGISTER READ FAILED: (0x90b4, -110)
[ 112.220810] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 112.220828] ath: REGISTER WRITE FAILED, multi len: 8
[ 112.456704] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 112.456720] ath: REGISTER READ FAILED: (0x90d4, -110)
[ 112.693033] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 112.693050] ath: REGISTER WRITE FAILED, multi len: 8
[ 112.973828] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 112.973845] ath: REGISTER READ FAILED: (0x90f4, -110)
[ 113.212845] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 113.212862] ath: REGISTER WRITE FAILED, multi len: 8
[ 113.433009] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 113.433026] ath: REGISTER READ FAILED: (0x9114, -110)
[ 113.662628] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 113.662645] ath: REGISTER WRITE FAILED, multi len: 8
[ 113.896300] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 113.896313] ath: REGISTER READ FAILED: (0x9134, -110)
[ 114.131041] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 114.131059] ath: REGISTER WRITE FAILED, multi len: 8
[ 114.368026] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.368042] ath: REGISTER READ FAILED: (0x9154, -110)
[ 114.604473] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 114.604490] ath: REGISTER WRITE FAILED, multi len: 8
[ 114.838850] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.838867] ath: REGISTER READ FAILED: (0x9174, -110)
[ 115.072474] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 115.072492] ath: REGISTER WRITE FAILED, multi len: 8
[ 115.297650] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 115.297667] ath: REGISTER READ FAILED: (0x9194, -110)
[ 115.522142] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 115.522159] ath: REGISTER WRITE FAILED, multi len: 8
[ 115.743577] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 115.743594] ath: REGISTER READ FAILED: (0x91b4, -110)
[ 115.966947] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 115.966965] ath: REGISTER WRITE FAILED, multi len: 8
[ 116.240720] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 116.240737] ath: REGISTER READ FAILED: (0x91d4, -110)
[ 116.473288] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 116.473305] ath: REGISTER WRITE FAILED, multi len: 8
[ 116.711937] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 116.711954] ath: REGISTER READ FAILED: (0x91f4, -110)
[ 116.949273] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 116.949290] ath: REGISTER WRITE FAILED, multi len: 8
[ 117.202915] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 117.202932] ath: REGISTER READ FAILED: (0x9214, -110)
[ 117.429051] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 117.429068] ath: REGISTER WRITE FAILED, multi len: 8
[ 117.663660] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 117.663677] ath: REGISTER READ FAILED: (0x9234, -110)
[ 117.903342] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 117.903359] ath: REGISTER WRITE FAILED, multi len: 8
[ 118.183918] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 118.183935] ath: REGISTER READ FAILED: (0x9254, -110)
[ 118.426246] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 118.426263] ath: REGISTER WRITE FAILED, multi len: 8
[ 118.657714] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 118.657730] ath: REGISTER READ FAILED: (0x9274, -110)
[ 118.884836] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 118.884854] ath: REGISTER WRITE FAILED, multi len: 8
[ 119.120373] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 119.120390] ath: REGISTER READ FAILED: (0x9294, -110)
[ 119.356156] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 119.356174] ath: REGISTER WRITE FAILED, multi len: 8
[ 119.591889] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 119.591905] ath: REGISTER READ FAILED: (0x92b4, -110)
[ 119.826025] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 119.826038] ath: REGISTER WRITE FAILED, multi len: 8
[ 120.058233] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.058249] ath: REGISTER READ FAILED: (0x92d4, -110)
[ 120.290314] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 120.290332] ath: REGISTER WRITE FAILED, multi len: 8
[ 120.562007] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.562023] ath: REGISTER READ FAILED: (0x92f4, -110)
[ 120.777958] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 120.777975] ath: REGISTER WRITE FAILED, multi len: 8
[ 120.990469] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.990486] ath: REGISTER READ FAILED: (0x9314, -110)
[ 121.215391] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 121.215408] ath: REGISTER WRITE FAILED, multi len: 8
[ 121.444176] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 121.444194] ath: REGISTER READ FAILED: (0x9334, -110)
[ 121.680204] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 121.680221] ath: REGISTER WRITE FAILED, multi len: 8
[ 121.921151] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 121.921167] ath: REGISTER READ FAILED: (0x9354, -110)
[ 122.163536] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 122.163553] ath: REGISTER WRITE FAILED, multi len: 8
[ 122.401806] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 122.401823] ath: REGISTER READ FAILED: (0x9374, -110)
[ 122.634011] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 122.634028] ath: REGISTER WRITE FAILED, multi len: 8
[ 122.869594] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 122.869612] ath: REGISTER READ FAILED: (0x9394, -110)
[ 123.133792] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 123.133809] ath: REGISTER WRITE FAILED, multi len: 8
[ 123.372003] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 123.372020] ath: REGISTER READ FAILED: (0x93b4, -110)
[ 123.607633] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 123.607650] ath: REGISTER WRITE FAILED, multi len: 8
[ 123.839417] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 123.839434] ath: REGISTER READ FAILED: (0x93d4, -110)
[ 124.082752] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 124.082765] ath: REGISTER WRITE FAILED, multi len: 8
[ 124.343226] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 124.343243] ath: REGISTER READ FAILED: (0x93f4, -110)
[ 124.609795] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 124.609808] ath: REGISTER WRITE FAILED, multi len: 8
[ 124.873602] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 124.873619] ath: REGISTER READ FAILED: (0x9414, -110)
[ 125.110193] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 125.110210] ath: REGISTER WRITE FAILED, multi len: 8
[ 125.343346] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 125.343367] ath: REGISTER READ FAILED: (0x9434, -110)
[ 125.578907] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 125.578924] ath: REGISTER WRITE FAILED, multi len: 8
[ 125.812580] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 125.812597] ath: REGISTER READ FAILED: (0x9454, -110)
[ 126.036792] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 126.036809] ath: REGISTER WRITE FAILED, multi len: 8
[ 126.245583] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 126.245600] ath: REGISTER READ FAILED: (0x9474, -110)
[ 126.470684] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 126.470701] ath: REGISTER WRITE FAILED, multi len: 8
[ 126.695099] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 126.695116] ath: REGISTER READ FAILED: (0x9494, -110)
[ 126.927598] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 126.927616] ath: REGISTER WRITE FAILED, multi len: 8
[ 127.170145] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 127.170163] ath: REGISTER READ FAILED: (0x94b4, -110)
[ 127.402661] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 127.402678] ath: REGISTER WRITE FAILED, multi len: 8
[ 127.637571] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 127.637588] ath: REGISTER READ FAILED: (0x94d4, -110)
[ 127.863365] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 127.863383] ath: REGISTER WRITE FAILED, multi len: 8
[ 128.091631] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 128.091647] ath: REGISTER READ FAILED: (0x94f4, -110)
[ 128.329717] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 128.329734] ath: REGISTER WRITE FAILED, multi len: 8
[ 128.569187] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 128.569204] ath: REGISTER READ FAILED: (0x9514, -110)
[ 128.808314] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 128.808331] ath: REGISTER WRITE FAILED, multi len: 8
[ 129.051407] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 129.051424] ath: REGISTER READ FAILED: (0x9534, -110)
[ 129.264204] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 129.264222] ath: REGISTER WRITE FAILED, multi len: 8
[ 129.500790] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 129.500807] ath: REGISTER READ FAILED: (0x9554, -110)
[ 129.739287] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 129.739304] ath: REGISTER WRITE FAILED, multi len: 8
[ 129.977121] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 129.977138] ath: REGISTER READ FAILED: (0x9574, -110)
[ 130.256434] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 130.256452] ath: REGISTER WRITE FAILED, multi len: 8
[ 130.482659] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 130.482671] ath: REGISTER READ FAILED: (0x9594, -110)
[ 130.758145] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 130.758162] ath: REGISTER WRITE FAILED, multi len: 8
[ 130.988136] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 130.988158] ath: REGISTER READ FAILED: (0x95b4, -110)
[ 131.198704] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 131.198721] ath: REGISTER WRITE FAILED, multi len: 8
[ 131.425187] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 131.425204] ath: REGISTER READ FAILED: (0x95d4, -110)
[ 131.652416] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 131.652433] ath: REGISTER WRITE FAILED, multi len: 8
[ 131.871049] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 131.871066] ath: REGISTER READ FAILED: (0x95f4, -110)
[ 132.106850] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 132.106868] ath: REGISTER WRITE FAILED, multi len: 8
[ 132.351316] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 132.351333] ath: REGISTER READ FAILED: (0x9614, -110)
[ 132.586807] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 132.586825] ath: REGISTER WRITE FAILED, multi len: 8
[ 132.821928] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 132.821941] ath: REGISTER READ FAILED: (0x9634, -110)
[ 133.052099] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 133.052117] ath: REGISTER WRITE FAILED, multi len: 8
[ 133.281250] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 133.281267] ath: REGISTER READ FAILED: (0x9654, -110)
[ 133.533685] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 133.533703] ath: REGISTER WRITE FAILED, multi len: 8
[ 133.802899] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 133.802916] ath: REGISTER READ FAILED: (0x9674, -110)
[ 134.035319] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 134.035336] ath: REGISTER WRITE FAILED, multi len: 8
[ 134.271297] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 134.271314] ath: REGISTER READ FAILED: (0x9694, -110)
[ 134.488850] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 134.488867] ath: REGISTER WRITE FAILED, multi len: 8
[ 134.723776] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 134.723793] ath: REGISTER READ FAILED: (0x96b4, -110)
[ 134.960923] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 134.960940] ath: REGISTER WRITE FAILED, multi len: 8
[ 135.208717] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 135.208734] ath: REGISTER READ FAILED: (0x96d4, -110)
[ 135.447071] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 135.447088] ath: REGISTER WRITE FAILED, multi len: 8
[ 135.686469] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 135.686486] ath: REGISTER READ FAILED: (0x96f4, -110)
[ 135.920807] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 135.920829] ath: REGISTER WRITE FAILED, multi len: 8
[ 136.198714] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 136.198731] ath: REGISTER READ FAILED: (0x9714, -110)
[ 136.419191] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 136.419209] ath: REGISTER WRITE FAILED, multi len: 8
[ 136.640991] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 136.641012] ath: REGISTER READ FAILED: (0x9734, -110)
[ 136.865320] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 136.865338] ath: REGISTER WRITE FAILED, multi len: 8
[ 137.127238] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 137.127255] ath: REGISTER READ FAILED: (0x9754, -110)
[ 137.359408] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 137.359425] ath: REGISTER WRITE FAILED, multi len: 8
[ 137.597341] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 137.597363] ath: REGISTER READ FAILED: (0x9774, -110)
[ 137.836090] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 137.836107] ath: REGISTER WRITE FAILED, multi len: 8
[ 138.075803] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 138.075819] ath: REGISTER READ FAILED: (0x9794, -110)
[ 138.310459] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 138.310477] ath: REGISTER WRITE FAILED, multi len: 8
[ 138.540266] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 138.540283] ath: REGISTER READ FAILED: (0x97b4, -110)
[ 138.778382] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 138.778399] ath: REGISTER WRITE FAILED, multi len: 8
[ 139.034750] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 139.034767] ath: REGISTER READ FAILED: (0x97d4, -110)
[ 139.273181] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 139.273198] ath: REGISTER WRITE FAILED, multi len: 8
[ 139.512953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 139.512970] ath: REGISTER READ FAILED: (0x97f4, -110)
[ 139.770607] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 139.770625] ath: REGISTER WRITE FAILED, multi len: 8
[ 139.770638] ath: TX streams 1, RX streams: 1
[ 140.946240] ath: Timeout waiting for WMI command: WMI_GET_FW_VERSION
[ 140.946259] ath: AWAKE -> FULL-SLEEP
[ 141.187898] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 141.187915] ath: REGISTER READ FAILED: (0x8004, -110)
[ 141.420292] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 141.420308] ath: REGISTER WRITE FAILED:(0x8004, -110)
[ 141.632925] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 141.632942] ath: REGISTER READ FAILED: (0x704c, -110)
[ 141.855875] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 141.855892] ath: REGISTER WRITE FAILED:(0x704c, -110)
[ 142.116512] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 142.116529] ath: REGISTER WRITE FAILED:(0x4000, -110)
[ 142.116562] Failed to initialize the device
[ 142.156645] ath9k_htc: probe of 5-7:1.0 failed with error -22


I should also mention that lsusb seems to work much better now, but maybe it's a
coincidence?

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (0.00 B)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-01 17:32:37

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi shafi,

[Sorry for the duplicate, lost the Cc's the first time around.]

On Fri, Jul 01, 2011 at 07:39:40PM +0530, Mohammed Shafi wrote:
> On Fri, Jul 1, 2011 at 7:31 PM, Mohammed Shafi <[email protected]> wrote:
> > On Fri, Jul 1, 2011 at 7:05 PM, Forest Bond <[email protected]> wrote:
> >> Now the module loads fine and appears to load the firmware correctly, but the
> >> interface never comes up. ?Here's what happens when I insert the device:
> >>
> >> [ ?206.270348] usb 5-7: new high speed USB device using ehci_hcd and address 5
> >> [ ?206.422393] usb 5-7: configuration #1 chosen from 1 choice
> >> [ ?206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> >> [ ?206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
> >> [ ?206.864667] Calling CRDA to update world regulatory domain
> >> [ ?207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> >> [ ?207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> >>
> >> At this point the interface is not visible in the output of ifconfig. ?Something
> >> has gone wrong with USB, because lsusb hangs until I unplug the device, at which
> >> point I see the following in dmesg:
> >>
> >> [ ?225.464212] usb 5-7: USB disconnect, address 5
> >> [ ?225.592282] ath: Reading Magic # failed
> >> [ ?225.592310] ath: no band has been marked as supported in EEPROM
> >> [ ?225.592315] ath: Unable to initialize hardware; initialization status: -22
> >> [ ?225.592321] ath: Unable to initialize hardware; initialization status: -22
> >> [ ?225.592336] Failed to initialize the device
> >> [ ?225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
> >> [ ?225.712249] usbcore: registered new interface driver ath9k_htc
> >
> > something wrong in reading EEPROM, please post the kernel log for
> > sudo modprobe ath9k_htc debug debug=0x404
>
> please do
> sudo modprobe ath9k_htc debug=0xffffffff
> this will give lots of information

[ 98.421395] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
[ 98.421405] Backport based on linux-2.6-allstable.git v3.0-rc4
[ 98.638709] Calling CRDA to update world regulatory domain
[ 99.219353] usbcore: registered new interface driver ath9k_htc
[ 103.829197] usb 5-7: new high speed USB device using ehci_hcd and address 5
[ 103.985215] usb 5-7: configuration #1 chosen from 1 choice
[ 104.288053] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
[ 104.448323] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
[ 104.453395] ath: UNDEFINED -> AWAKE
[ 104.454654] ath: serialize_regmode is 0
[ 104.686218] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 104.686240] ath: REGISTER WRITE FAILED, multi len: 9
[ 104.901237] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 104.901259] ath: REGISTER READ FAILED: (0x9c00, -110)
[ 104.901276] ath: Reading from EEPROM, not flash
[ 105.136983] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 105.137000] ath: Multiple REGISTER READ FAILED (count: 8)
[ 105.408496] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 105.408513] ath: Multiple REGISTER READ FAILED (count: 8)
[ 105.676507] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 105.676524] ath: Multiple REGISTER READ FAILED (count: 8)
[ 105.911084] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 105.911106] ath: Multiple REGISTER READ FAILED (count: 8)
[ 106.148500] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 106.148517] ath: Multiple REGISTER READ FAILED (count: 8)
[ 106.380920] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 106.380933] ath: Multiple REGISTER READ FAILED (count: 8)
[ 106.646720] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 106.646737] ath: Multiple REGISTER READ FAILED (count: 8)
[ 106.877455] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 106.877473] ath: Multiple REGISTER READ FAILED (count: 8)
[ 107.106916] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 107.106932] ath: Multiple REGISTER READ FAILED (count: 8)
[ 107.327013] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 107.327029] ath: Multiple REGISTER READ FAILED (count: 8)
[ 107.549431] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 107.549453] ath: Multiple REGISTER READ FAILED (count: 8)
[ 107.784184] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 107.784205] ath: Multiple REGISTER READ FAILED (count: 8)
[ 108.028850] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.028867] ath: Multiple REGISTER READ FAILED (count: 8)
[ 108.268894] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.268911] ath: Multiple REGISTER READ FAILED (count: 8)
[ 108.507164] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.507180] ath: Multiple REGISTER READ FAILED (count: 8)
[ 108.746603] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.746619] ath: Multiple REGISTER READ FAILED (count: 8)
[ 108.978447] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 108.978464] ath: Multiple REGISTER READ FAILED (count: 8)
[ 109.219056] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.219069] ath: Multiple REGISTER READ FAILED (count: 8)
[ 109.496668] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.496685] ath: Multiple REGISTER READ FAILED (count: 8)
[ 109.735763] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.735780] ath: Multiple REGISTER READ FAILED (count: 8)
[ 109.973853] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.973869] ath: Multiple REGISTER READ FAILED (count: 8)

> > make sure to enable CONFIG_ATH_DEBUG and ATH9K_HTC_DEBUGFS
> > http://wireless.kernel.org/en/users/Drivers/ath9k/debug
> >
> > was this previously working?

Not that I am aware of. This is this first time I've tried it.

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (5.90 kB)
signature.asc (198.00 B)
Digital signature
Download all attachments

2011-07-04 09:53:43

by Rajkumar Manoharan

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

On Mon, Jul 04, 2011 at 10:54:11AM +0530, Rajkumar Manoharan wrote:
> On Fri, Jul 01, 2011 at 01:32:37PM -0400, Forest Bond wrote:
> > Hi shafi,
> >
> > [Sorry for the duplicate, lost the Cc's the first time around.]
> >
> > On Fri, Jul 01, 2011 at 07:39:40PM +0530, Mohammed Shafi wrote:
> > > On Fri, Jul 1, 2011 at 7:31 PM, Mohammed Shafi <[email protected]> wrote:
> > > > On Fri, Jul 1, 2011 at 7:05 PM, Forest Bond <[email protected]> wrote:
> > > >> Now the module loads fine and appears to load the firmware correctly, but the
> > > >> interface never comes up. ?Here's what happens when I insert the device:
> > > >>
> > > >> [ ?206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > > >> [ ?206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
> > > >> [ ?206.864667] Calling CRDA to update world regulatory domain
> > > >> [ ?207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> > > >> [ ?207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > > >>
> > > >> At this point the interface is not visible in the output of ifconfig. ?Something
> > > >> has gone wrong with USB, because lsusb hangs until I unplug the device, at which
> > > >> point I see the following in dmesg:
> > > >>
> > > >> [ ?225.464212] usb 5-7: USB disconnect, address 5
> > > >> [ ?225.592282] ath: Reading Magic # failed
> > > >> [ ?225.592310] ath: no band has been marked as supported in EEPROM
> > > >> [ ?225.592315] ath: Unable to initialize hardware; initialization status: -22
> > > >> [ ?225.592321] ath: Unable to initialize hardware; initialization status: -22
> > > >> [ ?225.592336] Failed to initialize the device
> > > >> [ ?225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
> > > >> [ ?225.712249] usbcore: registered new interface driver ath9k_htc
> > > >
> > > > something wrong in reading EEPROM, please post the kernel log for
> > > > sudo modprobe ath9k_htc debug debug=0x404
> > >
> > > please do
> > > sudo modprobe ath9k_htc debug=0xffffffff
> > > this will give lots of information
> >
> > [ 98.421395] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > [ 98.421405] Backport based on linux-2.6-allstable.git v3.0-rc4
> > [ 98.638709] Calling CRDA to update world regulatory domain
> > [ 99.219353] usbcore: registered new interface driver ath9k_htc
> > [ 103.829197] usb 5-7: new high speed USB device using ehci_hcd and address 5
> > [ 103.985215] usb 5-7: configuration #1 chosen from 1 choice
> > [ 104.288053] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> > [ 104.448323] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > [ 104.453395] ath: UNDEFINED -> AWAKE
> > [ 104.454654] ath: serialize_regmode is 0
> > [ 104.686218] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> > [ 104.686240] ath: REGISTER WRITE FAILED, multi len: 9
> > [ 104.901237] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > [ 104.901259] ath: REGISTER READ FAILED: (0x9c00, -110)
> > [ 104.901276] ath: Reading from EEPROM, not flash
> > [ 105.911084] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> Please share your PID/VID.
>
Forest,

And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
to 1.3 and test again.

http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw

--
Rajkumar

2011-07-05 12:49:15

by Forest Bond

[permalink] [raw]
Subject: Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

Hi Rajkumar,

Thanks for your reply.

On Mon, Jul 04, 2011 at 03:23:42PM +0530, Rajkumar Manoharan wrote:
> On Mon, Jul 04, 2011 at 10:54:11AM +0530, Rajkumar Manoharan wrote:
> > On Fri, Jul 01, 2011 at 01:32:37PM -0400, Forest Bond wrote:
> > > Hi shafi,
> > >
> > > [Sorry for the duplicate, lost the Cc's the first time around.]
> > >
> > > On Fri, Jul 01, 2011 at 07:39:40PM +0530, Mohammed Shafi wrote:
> > > > On Fri, Jul 1, 2011 at 7:31 PM, Mohammed Shafi <[email protected]> wrote:
> > > > > On Fri, Jul 1, 2011 at 7:05 PM, Forest Bond <[email protected]> wrote:
> > > > >> Now the module loads fine and appears to load the firmware correctly, but the
> > > > >> interface never comes up. ?Here's what happens when I insert the device:
> > > > >>
> > > > >> [ ?206.657723] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > > > >> [ ?206.657732] Backport based on linux-2.6-allstable.git v3.0-rc4
> > > > >> [ ?206.864667] Calling CRDA to update world regulatory domain
> > > > >> [ ?207.714633] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> > > > >> [ ?207.861037] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > > > >>
> > > > >> At this point the interface is not visible in the output of ifconfig. ?Something
> > > > >> has gone wrong with USB, because lsusb hangs until I unplug the device, at which
> > > > >> point I see the following in dmesg:
> > > > >>
> > > > >> [ ?225.464212] usb 5-7: USB disconnect, address 5
> > > > >> [ ?225.592282] ath: Reading Magic # failed
> > > > >> [ ?225.592310] ath: no band has been marked as supported in EEPROM
> > > > >> [ ?225.592315] ath: Unable to initialize hardware; initialization status: -22
> > > > >> [ ?225.592321] ath: Unable to initialize hardware; initialization status: -22
> > > > >> [ ?225.592336] Failed to initialize the device
> > > > >> [ ?225.592400] ath9k_htc: probe of 5-7:1.0 failed with error -22
> > > > >> [ ?225.712249] usbcore: registered new interface driver ath9k_htc
> > > > >
> > > > > something wrong in reading EEPROM, please post the kernel log for
> > > > > sudo modprobe ath9k_htc debug debug=0x404
> > > >
> > > > please do
> > > > sudo modprobe ath9k_htc debug=0xffffffff
> > > > this will give lots of information
> > >
> > > [ 98.421395] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
> > > [ 98.421405] Backport based on linux-2.6-allstable.git v3.0-rc4
> > > [ 98.638709] Calling CRDA to update world regulatory domain
> > > [ 99.219353] usbcore: registered new interface driver ath9k_htc
> > > [ 103.829197] usb 5-7: new high speed USB device using ehci_hcd and address 5
> > > [ 103.985215] usb 5-7: configuration #1 chosen from 1 choice
> > > [ 104.288053] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51288
> > > [ 104.448323] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
> > > [ 104.453395] ath: UNDEFINED -> AWAKE
> > > [ 104.454654] ath: serialize_regmode is 0
> > > [ 104.686218] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
> > > [ 104.686240] ath: REGISTER WRITE FAILED, multi len: 9
> > > [ 104.901237] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > > [ 104.901259] ath: REGISTER READ FAILED: (0x9c00, -110)
> > > [ 104.901276] ath: Reading from EEPROM, not flash
> > > [ 105.911084] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
> > Please share your PID/VID.

0cf3:9271

> And also for compat-wireless-v3.0-rc4-1, FW version should be 1.3 and fw size
> should be 51272. But in your case size is 51288 which is 1.2. Please upgrade fw
> to 1.3 and test again.
>
> http://wireless.kernel.org/download/htc_fw/1.3/htc_9271.fw

Okay. I had tried both versions previously; neither seems to work any better
than the other. Here is dmesg using firmware version 1.3:

[ 102.984766] Compat-wireless backport release: compat-wireless-v3.0-rc4-1
[ 102.984775] Backport based on linux-2.6-allstable.git v3.0-rc4
[ 103.213468] Calling CRDA to update world regulatory domain
[ 103.798281] usbcore: registered new interface driver ath9k_htc
[ 108.482070] usb 5-7: new high speed USB device using ehci_hcd and address 5
[ 108.643105] usb 5-7: configuration #1 chosen from 1 choice
[ 108.996663] usb 5-7: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 109.135499] ath9k_htc 5-7:1.0: ath9k_htc: HTC initialized with 33 credits
[ 109.140526] ath: UNDEFINED -> AWAKE
[ 109.141769] ath: serialize_regmode is 0
[ 109.383151] ath: Timeout waiting for WMI command: WMI_REG_WRITE_CMDID
[ 109.383168] ath: REGISTER WRITE FAILED, multi len: 9
[ 109.609805] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.609822] ath: REGISTER READ FAILED: (0x9c00, -110)
[ 109.609835] ath: Reading from EEPROM, not flash
[ 109.824058] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 109.824079] ath: Multiple REGISTER READ FAILED (count: 8)
[ 110.042132] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.042148] ath: Multiple REGISTER READ FAILED (count: 8)
[ 110.260786] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.260802] ath: Multiple REGISTER READ FAILED (count: 8)
[ 110.482613] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.482629] ath: Multiple REGISTER READ FAILED (count: 8)
[ 110.719736] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.719753] ath: Multiple REGISTER READ FAILED (count: 8)
[ 110.953628] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 110.953645] ath: Multiple REGISTER READ FAILED (count: 8)
[ 111.195035] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 111.195057] ath: Multiple REGISTER READ FAILED (count: 8)
[ 111.432953] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 111.432975] ath: Multiple REGISTER READ FAILED (count: 8)
[ 111.668211] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 111.668227] ath: Multiple REGISTER READ FAILED (count: 8)
[ 111.903626] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 111.903642] ath: Multiple REGISTER READ FAILED (count: 8)
[ 112.135695] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 112.135711] ath: Multiple REGISTER READ FAILED (count: 8)
[ 112.370919] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 112.370936] ath: Multiple REGISTER READ FAILED (count: 8)
[ 112.603491] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 112.603508] ath: Multiple REGISTER READ FAILED (count: 8)
[ 112.841972] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 112.841988] ath: Multiple REGISTER READ FAILED (count: 8)
[ 113.065412] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 113.065428] ath: Multiple REGISTER READ FAILED (count: 8)
[ 113.300441] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 113.300458] ath: Multiple REGISTER READ FAILED (count: 8)
[ 113.536889] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 113.536906] ath: Multiple REGISTER READ FAILED (count: 8)
[ 113.774809] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 113.774826] ath: Multiple REGISTER READ FAILED (count: 8)
[ 114.012001] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.012018] ath: Multiple REGISTER READ FAILED (count: 8)
[ 114.245297] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.245314] ath: Multiple REGISTER READ FAILED (count: 8)
[ 114.476929] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.476946] ath: Multiple REGISTER READ FAILED (count: 8)
[ 114.753310] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.753327] ath: Multiple REGISTER READ FAILED (count: 8)
[ 114.966595] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 114.966611] ath: Multiple REGISTER READ FAILED (count: 8)
[ 115.193618] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 115.193634] ath: Multiple REGISTER READ FAILED (count: 4)
[ 115.462402] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 115.462419] ath: REGISTER READ FAILED: (0x2000, -110)
[ 115.685667] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 115.685684] ath: REGISTER READ FAILED: (0x407c, -110)
[ 115.918681] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 115.918703] ath: REGISTER READ FAILED: (0x407c, -110)
[ 116.152756] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 116.152773] ath: REGISTER READ FAILED: (0x407c, -110)
[ 116.391881] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 116.391898] ath: REGISTER READ FAILED: (0x407c, -110)
[ 116.629244] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 116.629265] ath: REGISTER READ FAILED: (0x407c, -110)
[ 116.860197] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 116.860214] ath: REGISTER READ FAILED: (0x407c, -110)
[ 117.094108] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 117.094124] ath: REGISTER READ FAILED: (0x407c, -110)
[ 117.325535] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 117.325551] ath: REGISTER READ FAILED: (0x407c, -110)
[ 117.578615] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 117.578632] ath: REGISTER READ FAILED: (0x407c, -110)
[ 117.819951] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 117.819968] ath: REGISTER READ FAILED: (0x407c, -110)
[ 118.055933] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 118.055950] ath: REGISTER READ FAILED: (0x407c, -110)
[ 118.329876] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 118.329893] ath: REGISTER READ FAILED: (0x407c, -110)
[ 118.563992] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 118.564009] ath: REGISTER READ FAILED: (0x407c, -110)
[ 118.803279] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 118.803296] ath: REGISTER READ FAILED: (0x407c, -110)
[ 119.045193] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 119.045209] ath: REGISTER READ FAILED: (0x407c, -110)
[ 119.294820] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 119.294832] ath: REGISTER READ FAILED: (0x407c, -110)
[ 119.536403] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 119.536421] ath: REGISTER READ FAILED: (0x407c, -110)
[ 119.764358] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 119.764375] ath: REGISTER READ FAILED: (0x407c, -110)
[ 120.002647] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.002664] ath: REGISTER READ FAILED: (0x407c, -110)
[ 120.223089] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.223107] ath: REGISTER READ FAILED: (0x407c, -110)
[ 120.450418] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.450435] ath: REGISTER READ FAILED: (0x407c, -110)
[ 120.701625] ath: Timeout waiting for WMI command: WMI_REG_READ_CMDID
[ 120.701638] ath: REGISTER READ FAILED: (0x407c, -110)

I appreciate your help on this.

Thanks,
Forest
--
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com


Attachments:
(No filename) (10.82 kB)
signature.asc (198.00 B)
Digital signature
Download all attachments