All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
@ 2013-11-27 12:44 Jean-Baptiste CAYROU
  2013-11-27 14:41 ` Oleksij Rempel
  0 siblings, 1 reply; 7+ messages in thread
From: Jean-Baptiste CAYROU @ 2013-11-27 12:44 UTC (permalink / raw)
  To: ath9k-devel

Hi,

I am working on a project on an AR drone ( Linux 2.6.32 ARM ) and i try to
install a TL-WN722N WIFI usb adapter.

Here modules loaded :

Module                  Size  Used by    Tainted: P
ath9k                  98668  0
ath9k_htc              85575  0
ath9k_common            2622  2 ath9k,ath9k_htc
ath9k_hw              437880  3 ath9k,ath9k_htc,ath9k_common
ath                    16214  4 ath9k,ath9k_htc,ath9k_common,ath9k_hw
mac80211              257180  2 ath9k,ath9k_htc
cfg80211              181672  4 ath9k,ath9k_htc,ath,mac80211
usbnet                 21095  0
cordic                  1058  0
crc8                    1239  0
compat_firmware_class     6183  2 ath9k,ath9k_htc
compat                 37708  8
ath9k,ath9k_htc,ath9k_common,ath9k_hw,mac80211,cfg80211,usbnet,compat_firmware_class
mii                     4108  1 usbnet
arc4                    1175  0
atomic64                3092  1 mac80211
ov7670                  9943  1
soc1040                20292  2
omap3_isp              95899  9
ar6000                278079  0

After config wlan0 up, I can see mac address :

wlan0     Link encap:Ethernet  HWaddr 64:66:B3:1D:C5:F3
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

but wifi do not work...

(iwconfig command)
wlan0     no wireless extensions.

dmesg:

ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
cfg80211: Updating information on frequency 2412 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
cfg80211: Disabling freq 2467 MHz as custom regd has no rule that fits it
cfg80211: Disabling freq 2472 MHz as custom regd has no rule that fits it
cfg80211: Disabling freq 2484 MHz as custom regd has no rule that fits it
cfg80211: Updating information on frequency 2412 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2417 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2422 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2427 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2467 MHz with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Updating information on frequency 2484 MHz with regulatory rule:
cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
ieee80211 phy0: Atheros AR9271 Rev:1
cfg80211: Pending regulatory request, waiting for it to be processed...
iwioctl: cmd=0x8b03 not allowed in this mode
iwioctl: cmd=0x8b1d not allowed in this mode
wext_ioctl: cmd=0x8b29 not allowed in this mode
iwioctl: cmd=0x8b23 not allowed in this mode
iwioctl: cmd=0x8b25 not allowed in this mode

Do you think the problem comes from EEPROM registers ?
Do you have an idea to resolve the problem ?

Thank's !
JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20131127/d922a129/attachment.htm 

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

* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
  2013-11-27 12:44 [ath9k-devel] ath9k_htc, Pending regulatory request on ARM Jean-Baptiste CAYROU
@ 2013-11-27 14:41 ` Oleksij Rempel
  2013-11-28 18:14   ` Jean-Baptiste CAYROU
  0 siblings, 1 reply; 7+ messages in thread
From: Oleksij Rempel @ 2013-11-27 14:41 UTC (permalink / raw)
  To: ath9k-devel

Hi Jean-Baptiste,

Am 27.11.2013 13:44, schrieb Jean-Baptiste CAYROU:
> Hi,
> 
> I am working on a project on an AR drone ( Linux 2.6.32 ARM ) and i try
> to install a TL-WN722N WIFI usb adapter.

it is really old kernel. Use wireless backports or wireless-testing

> 
> ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
> ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3

And this is really old firmware. Use git if possible:
https://github.com/qca/open-ath9k-htc-firmware

there are some changes which you will probably need.

I know, if it wont work you will replay. But i would like to get feed
back if it works too ;)

-- 
Regards,
Oleksij

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

* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
  2013-11-27 14:41 ` Oleksij Rempel
@ 2013-11-28 18:14   ` Jean-Baptiste CAYROU
  2013-11-28 18:24     ` Oleksij Rempel
  0 siblings, 1 reply; 7+ messages in thread
From: Jean-Baptiste CAYROU @ 2013-11-28 18:14 UTC (permalink / raw)
  To: ath9k-devel

Thank's for your quick reply !

I use backports (3.12-1), I have changed the firmware and used git. Now I
have version 1.4 but nothing has changed.

It is really old kernel


Yeah, I know but I would like to resolve this problem whitout changing
kernel because it is quite difficult ( Parrot patched 2.6.32 linux kernel
for the ARdrone )


Do you think it is a problem with EEPROM registers ? I will try to write
some printk( ) in the code to find where it does not work.









2013/11/27 Oleksij Rempel <linux@rempel-privat.de>

> Hi Jean-Baptiste,
>
> Am 27.11.2013 13:44, schrieb Jean-Baptiste CAYROU:
> > Hi,
> >
> > I am working on a project on an AR drone ( Linux 2.6.32 ARM ) and i try
> > to install a TL-WN722N WIFI usb adapter.
>
> it is really old kernel. Use wireless backports or wireless-testing
>
> >
> > ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
> > ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
>
> And this is really old firmware. Use git if possible:
> https://github.com/qca/open-ath9k-htc-firmware
>
> there are some changes which you will probably need.
>
> I know, if it wont work you will replay. But i would like to get feed
> back if it works too ;)
>
> --
> Regards,
> Oleksij
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20131128/205d41ac/attachment.htm 

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

* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
  2013-11-28 18:14   ` Jean-Baptiste CAYROU
@ 2013-11-28 18:24     ` Oleksij Rempel
  2013-11-30 16:32       ` Jean-Baptiste CAYROU
  0 siblings, 1 reply; 7+ messages in thread
From: Oleksij Rempel @ 2013-11-28 18:24 UTC (permalink / raw)
  To: ath9k-devel

Am 28.11.2013 19:14, schrieb Jean-Baptiste CAYROU:
> Thank's for your quick reply !
> 
> I use backports (3.12-1), I have changed the firmware and used git. Now
> I have version 1.4 but nothing has changed.
> 
>     It is really old kernel
> 
> 
> Yeah, I know but I would like to resolve this problem whitout changing
> kernel because it is quite difficult ( Parrot patched 2.6.32 linux
> kernel for the ARdrone )
> 
> 
> Do you think it is a problem with EEPROM registers ? I will try to write
> some printk( ) in the code to find where it does not work.

Yes, it will be great help!

-- 
Regards,
Oleksij

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

* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
  2013-11-28 18:24     ` Oleksij Rempel
@ 2013-11-30 16:32       ` Jean-Baptiste CAYROU
  2013-11-30 18:01         ` Oleksij Rempel
  2014-06-09  3:34         ` Jordi
  0 siblings, 2 replies; 7+ messages in thread
From: Jean-Baptiste CAYROU @ 2013-11-30 16:32 UTC (permalink / raw)
  To: ath9k-devel

I have found a solution ! :)

I tried to use "iw" command and now it works !
On ARdrone system, this key does not work with wext but works with nl80211



2013/11/28 Oleksij Rempel <linux@rempel-privat.de>

> Am 28.11.2013 19:14, schrieb Jean-Baptiste CAYROU:
> > Thank's for your quick reply !
> >
> > I use backports (3.12-1), I have changed the firmware and used git. Now
> > I have version 1.4 but nothing has changed.
> >
> >     It is really old kernel
> >
> >
> > Yeah, I know but I would like to resolve this problem whitout changing
> > kernel because it is quite difficult ( Parrot patched 2.6.32 linux
> > kernel for the ARdrone )
> >
> >
> > Do you think it is a problem with EEPROM registers ? I will try to write
> > some printk( ) in the code to find where it does not work.
>
> Yes, it will be great help!
>
> --
> Regards,
> Oleksij
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20131130/d5654d6b/attachment.htm 

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

* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
  2013-11-30 16:32       ` Jean-Baptiste CAYROU
@ 2013-11-30 18:01         ` Oleksij Rempel
  2014-06-09  3:34         ` Jordi
  1 sibling, 0 replies; 7+ messages in thread
From: Oleksij Rempel @ 2013-11-30 18:01 UTC (permalink / raw)
  To: ath9k-devel

Am 30.11.2013 17:32, schrieb Jean-Baptiste CAYROU:
> I have found a solution ! :)
> 
> I tried to use "iw" command and now it works !
> On ARdrone system, this key does not work with wext but works with nl80211

Great news,

thank you for update!

-- 
Regards,
Oleksij

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

* [ath9k-devel] ath9k_htc, Pending regulatory request on ARM
  2013-11-30 16:32       ` Jean-Baptiste CAYROU
  2013-11-30 18:01         ` Oleksij Rempel
@ 2014-06-09  3:34         ` Jordi
  1 sibling, 0 replies; 7+ messages in thread
From: Jordi @ 2014-06-09  3:34 UTC (permalink / raw)
  To: ath9k-devel

Jean-Baptiste CAYROU <cayrou <at> etud.insa-toulouse.fr> writes:

> 
> I have found a solution ! :)
> I tried to use "iw" command and now it works !
> On ARdrone system, this key does not work with wext but works with nl80211
> 
> 
> 
>

Hi Jean-Baptiste

I am working on a similar project, I have an AR Drone version 1 and I need
to install "iw" on it because the tools that there are (iwconfig, iwlist..)
would not allow me to configure in mesh mode an USB dongle I want to attach.

I am strugglin to cross compile it because it has a lot of dependencies. I
even tried to copy it from a Raspberry since they also use ARM, but I can't
execute it I don't know why.

So I'm just asking how did you manage to install it

I guess you have AR Drone 2.0, does this comes with iw?

Your help will be much appreaciated :)

Thanks Jordi

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

end of thread, other threads:[~2014-06-09  3:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 12:44 [ath9k-devel] ath9k_htc, Pending regulatory request on ARM Jean-Baptiste CAYROU
2013-11-27 14:41 ` Oleksij Rempel
2013-11-28 18:14   ` Jean-Baptiste CAYROU
2013-11-28 18:24     ` Oleksij Rempel
2013-11-30 16:32       ` Jean-Baptiste CAYROU
2013-11-30 18:01         ` Oleksij Rempel
2014-06-09  3:34         ` Jordi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.