You are not logged in.

#1 2008-07-20 03:34:44

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

New Atheros driver

A new driver for 802.11n Atheros chipsets has been released.
More information can be found at: http://wireless.kernel.org/en/users/Drivers/ath9k

Offline

#2 2008-07-27 19:34:44

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: New Atheros driver

I'm having difficulty compiling this

make -C /lib/modules/2.6.25-ARCH/build M=/stuff/Desktop/ath9k modules
make[1]: Entering directory `/usr/src/linux-2.6.25-ARCH'
  CC [M]  /stuff/Desktop/ath9k/ksrc/hw.o
  CC [M]  /stuff/Desktop/ath9k/ksrc/phy.o
  CC [M]  /stuff/Desktop/ath9k/ksrc/regd.o
  CC [M]  /stuff/Desktop/ath9k/ksrc/beacon.o
In file included from /stuff/Desktop/ath9k/ksrc/beacon.c:19:
/stuff/Desktop/ath9k/ksrc/core.h: In function 'list_cut_position':
/stuff/Desktop/ath9k/ksrc/core.h:121: error: implicit declaration of function 'list_is_singular'
/stuff/Desktop/ath9k/ksrc/core.h: At top level:
/stuff/Desktop/ath9k/ksrc/core.h:1141: error: 'IEEE80211_NUM_BANDS' undeclared here (not in a function)
/stuff/Desktop/ath9k/ksrc/beacon.c: In function 'ath_beacon_alloc':
/stuff/Desktop/ath9k/ksrc/beacon.c:426: error: too few arguments to function 'ieee80211_beacon_get'
make[3]: *** [/stuff/Desktop/ath9k/ksrc/beacon.o] Error 1
make[2]: *** [/stuff/Desktop/ath9k/ksrc] Error 2
make[1]: *** [_module_/stuff/Desktop/ath9k] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-ARCH'
make: *** [modules] Error 2

It errors out the same way with 2.6.26-ARCH. I'm assuming the top-level patch should be applied before this works, but the patch does not seem to work.

Offline

#3 2008-07-28 01:26:20

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: New Atheros driver

Right now, you need wireless-testing to compile the driver as ath9k is not part of the kernel yet.
You can get the kernel as:
git-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git

Offline

#4 2008-07-28 12:28:51

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: New Atheros driver

ah, thanks for the tip. I think I'll just be lazy and wait for it to be included into 2.6

Offline

#5 2008-07-28 12:45:28

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: New Atheros driver

ath9k is too late for 2.6.26, *might* get into 2.6.27.
2.6.28 would be a sane guess.
But once it is part of wireless-testing, you can use compat-wireless to use the driver.

Oh, btw, where can I get ganja in Chennai ? smile

Offline

#6 2008-07-28 15:26:55

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: New Atheros driver

As this is exactly what I need for my laptop (now using ndiswrapper), I would like to try it out. Where can I find more information on building/enabling this module myself?

THX for bringing the good news!

Zl.

Offline

#7 2008-07-28 16:12:38

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Offline

#8 2008-07-28 21:49:08

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: New Atheros driver

Thank you for the answer, but I saw this link in your previous post. I was kind of hoping that this was something for ABS or another Arch-specific program making it a little easier, since I've never compiled my own kernel (successfully, that is) or modules and all that.

Zl.

Offline

#9 2008-07-29 16:49:05

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: New Atheros driver

Ah, sorry smile
And nope, you have to compile both wireless-testing and ath9k to get this working today.

Offline

#10 2008-07-30 16:59:09

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: New Atheros driver

sacamano_m82 wrote:

Ah, sorry smile
And nope, you have to compile both wireless-testing and ath9k to get this working today.

That probably means I'll end up waiting for it to be included in the kernel as well - but I might give it a try .

THX for the reply and the heads up!

Zl.

Offline

#11 2008-08-05 19:59:20

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: New Atheros driver

Good news! smile Patches which can be applied to 2.6.26 are here http://lwn.net/Articles/291027/ . I'm compiling a kernel right now with the add-ath9k-02.tar.bz2 patches. Remember you have to change your config or config.x86_64 and make sure that CONFIG_ATH9K=m

Edit: Looks like my excitement is shortlived, the last patch in that series does not apply cleanly to 2.6.26. These seem to be 2.6.27 patches. I'll try some of the other patches and repost here.

Last edited by ganja_guru (2008-08-05 20:22:21)

Offline

Board footer

Powered by FluxBB