From mboxrd@z Thu Jan 1 00:00:00 1970 From: Warren Li Date: Tue, 13 Apr 2010 10:06:20 +0800 Subject: [ath9k-devel] AR9223 chipset In-Reply-To: <20100412180137.GA2920@tux> References: <002401cacb24$9485ac50$bd9104f0$@com> <1269443007.5096.16.camel@mj> <010501cad9ee$1c8bac80$55a30580$@li@tp-link.com> <20100412180137.GA2920@tux> Message-ID: <005401cadaad$eb1c53a0$c154fae0$@li@tp-link.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 On Sun, Apr 11, 2010 at 08:13:23PM -0700, Warren Li wrote: > 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