All of lore.kernel.org
 help / color / mirror / Atom feed
From: Warren Li <warren.li@tp-link.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] AR9223 chipset
Date: Tue, 13 Apr 2010 10:06:20 +0800	[thread overview]
Message-ID: <005401cadaad$eb1c53a0$c154fae0$@li@tp-link.com> (raw)
In-Reply-To: <20100412180137.GA2920@tux>

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 

  reply	other threads:[~2010-04-13  2:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24  7:35 [ath9k-devel] AR9271 chipset USB Support Sajid Ansari
2010-03-24 15:03 ` Pavel Roskin
2010-03-24 16:02   ` Luis R. Rodriguez
2010-04-12  3:13   ` Warren Li
2010-04-12 18:01     ` Luis R. Rodriguez
2010-04-13  2:06       ` Warren Li [this message]
     [not found]       ` <7551266719345489303@unknownmsgid>
2010-04-13  2:09         ` [ath9k-devel] AR9223 chipset Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005401cadaad$eb1c53a0$c154fae0$@li@tp-link.com' \
    --to=warren.li@tp-link.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.