Skip to contentSkip to conversation

AR9271 chipset USB Support

ath9k-devel Sajid Ansari 5 participants 7 messages Mar 24, 2010 – Apr 13, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
Quoted 8 lines · Sajid Ansari

I am not a developer, only a ubuntu user.

Any way to support Athros AR9271 USB support on Ubuntu.

I have downloaded and updated Ubunto but not working.

Can you please let me know the steps to do for making it working under UIbunto 9.10.

Nice timing! Support for AR9271 was committed today. The current compat-wireless doesn't have AR9271 yet, but hopefully the today's snapshot have it.

Look at http://wireless.kernel.org/download/compat-wireless-2.6/ and get compat-wireless-2010-03-24.tar.bz2 when it appears there (the latest snapshot is always recommended).

You can find more information about compat-wireless at
http://linuxwireless.org/en/users/Download

Please don't write to ath9k-devel-bounces at lists.ath9k.org, it's an address to capture bounces of the list posts.

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw
Quoted 11 lines · Pavel Roskin
Quoted 8 lines · Sajid Ansari

I am not a developer, only a ubuntu user.

Any way to support Athros AR9271 USB support on Ubuntu.

I have downloaded and updated Ubunto but not working.

Can you please let me know the steps to do for making it working under UIbunto 9.10.

Quoted 7 lines

Nice timing! ?Support for AR9271 was committed today. ?The current compat-wireless doesn't have AR9271 yet, but hopefully the today's snapshot have it.

Look at http://wireless.kernel.org/download/compat-wireless-2.6/ and get compat-wireless-2010-03-24.tar.bz2 when it appears there (the latest snapshot is always recommended).

This might take +1 or +2 days more since bleeding edge compat-wireless sucks thing out of linux-next. I'll reply to this post once it does hit linux-next.

Quoted 2 lines

You can find more information about compat-wireless at
http://linuxwireless.org/en/users/Download

Luis

#4 lore raw
Quoted 4 lines · Warren Li

Hi Pavel,

Can I ask you a question?
Is there Linux driver for AR9223 chipset?

This should work, with ath9k, have you tried it?

Luis

#5 lore raw

[ath9k-devel] AR9223 chipset

Hi Luis?

Yes I tried it.

My problem is when I try to make the driver I got errors.
1. One of my desktop is using Ubuntu 9.04, kernel 2.6.28. I installed my wireless Adapter of AR9223 chipset, the Ubuntu can recognize it without installing further driver.

2. Another desktop is using Debian 5 (Lenny), kernel 2.6.26, so I need to download driver and install it, but I got errors when I make the driver code.
I did the following steps:
Download the latest compat-wireless-2.6.
(log on root)
Apt-get install build-essential
Apt-get install Linux-headers-$
./scripts/driver-select ath9k
Make (I can't make it, I got errors, always. In fact I have never been able to install compat-wireless driver on my Ubuntu too, once I tried to install ath9k_htc for my AR9271, but I can't do it.)
Errors:
In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :11:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/include/net/mac8021 1.h:1634: warning: ?struct netdev_hw_addr_list? declared inside parameter list /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/include/net/mac8021 1.h:1634: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :26:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/ieee80 211_i.h:668: error: field ?mc_list? has incomplete type
In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h:6,
from
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :27:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -trace.h:1050:32: error: trace/define_trace.h: No such file or directory In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :27:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h: In function ?drv_prepare_multicast?:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h:92: warning: passing argument 2 of ?local->ops->prepare_multicast? from incompatible pointer type /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h:94: error: dereferencing pointer to incomplete type /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c : In function ?__check_ieee80211_disable_40mhz_24ghz?:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :37: warning: return from incompatible pointer type /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c : In function ?ieee80211_alloc_hw?:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :394: error: implicit declaration of function ?__hw_addr_init? make[3]: *** [/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main. o] Error 1
make[2]: *** [/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211] Error 2
make[1]: *** [_module_/home/test3/Desktop/Downloads/compat-wireless-2010-04-11] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [modules] Error 2

Thanks in advance.

Best Regards

Warren?Li

-----Original Message-----
From: Luis R. Rodriguez [mailto:lrodriguez at atheros.com]
Sent: Tuesday, April 13, 2010 2:02 AM
To: Warren Li
Cc: 'Pavel Roskin'; ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] AR9271 chipset USB Support

Quoted 4 lines · Warren Li

Hi Pavel,

Can I ask you a question?
Is there Linux driver for AR9223 chipset?

This should work, with ath9k, have you tried it?

Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 35847 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100413/72556356/attachment-0001.bin

#7 lore raw

[ath9k-devel] AR9223 chipset

In reply to a message not in the archive
Quoted 64 lines · Warren Li

Hi Luis?

Yes I tried it.

My problem is when I try to make the driver I got errors.
1. One of my desktop is using Ubuntu 9.04, kernel 2.6.28. I installed my wireless Adapter of AR9223 chipset, the Ubuntu can recognize it without installing further driver.

2. Another desktop is using Debian 5 (Lenny), kernel 2.6.26, so I need to download driver and install it, but I got errors when I make the driver code.
I did the following steps:
Download the latest compat-wireless-2.6.
(log on root)
Apt-get install build-essential
Apt-get install Linux-headers-$
./scripts/driver-select ath9k
Make (I can't make it, I got errors, always. In fact I have never been able to install compat-wireless driver on my Ubuntu too, once I tried to install ath9k_htc for my AR9271, but I can't do it.)
Errors:
In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :11:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/include/net/mac8021 1.h:1634: warning: 'struct netdev_hw_addr_list' declared inside parameter list /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/include/net/mac8021 1.h:1634: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :26:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/ieee80 211_i.h:668: error: field 'mc_list' has incomplete type
In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h:6,
? ? ? ? ? ? ? ? from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :27:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -trace.h:1050:32: error: trace/define_trace.h: No such file or directory In file included from /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :27:
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h: In function 'drv_prepare_multicast':
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h:92: warning: passing argument 2 of 'local->ops->prepare_multicast' from incompatible pointer type /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/driver -ops.h:94: error: dereferencing pointer to incomplete type /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c : In function '__check_ieee80211_disable_40mhz_24ghz':
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :37: warning: return from incompatible pointer type /home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c : In function 'ieee80211_alloc_hw':
/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.c :394: error: implicit declaration of function '__hw_addr_init' make[3]: *** [/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211/main.

Quoted 8 lines

o] Error 1
make[2]: *** [/home/test3/Desktop/Downloads/compat-wireless-2010-04-11/net/mac80211] Error 2
make[1]: *** [_module_/home/test3/Desktop/Downloads/compat-wireless-2010-04-11] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [modules] Error 2

Warren, these compile errors are due to some new patches introduced into linux-next which have not yet been backported. So if you give it a few days we'll eventually fix this.

Luis