Search Linux Wireless

Re: ath9k_htc fails to initialize TL-WN721N with compat-wireless 3.0-rc4-1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 7, 2011 at 10:42 AM, Mohammed Shafi
<shafi.wireless@xxxxxxxxx> wrote:
> On Wed, Jul 6, 2011 at 11:59 PM, Forest Bond <forest@xxxxxxxxxxxxxxxxxxx> 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 <Sujith.Manoharan@xxxxxxxxxxx>
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 <Sujith.Manoharan@xxxxxxxxxxx>
    Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>



>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux