Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Oct 2004 14:53:17 +1300
From:      Matthew Luckie <mjl@luckie.org.nz>
To:        Sam Leffler <sam@errno.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: ath driver on thinkpad R50p
Message-ID:  <4160AD0D.4080709@luckie.org.nz>
In-Reply-To: <416028D5.4020803@errno.com>
References:  <20041003203548.S83317@lycra.luckie.org.nz> <416028D5.4020803@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> I notice that the HAL has changed and that NetBSD has a more recent 
>> HAL, one with that xchanmode parameter.  FreeBSD has 0.9.6.3 while 
>> NetBSD has 0.9.9.13 and perhaps my bug will be fixed with a more 
>> recent hal.o
> 
> Your problem is indeed in the hal and what you need to do is get a more 
> up to date hal.

I was successful using the more recent HAL with some NetBSD clue to get 
my ath working with the 11b modes (well, successful enough to associate 
with my Linksys 802.11b accesspoint and send this email).

ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: Ethernet address: 00:05:4e:4a:bd:34
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps

My patches are at

http://www.wand.net.nz/~mjl12/dev-ath.diff
http://www.wand.net.nz/~mjl12/contrib-ath.diff

and they are against BETA7

cd /usr/src/sys/dev/ath
patch -p1 </path/to/dev-ath.diff
cd /usr/src/sys/contrib/dev/ath
patch -p1 </path/to/contrib-ath.diff

Most of the work was done with the HAL itself - merging that in.  I've 
done very little with the actual if_ath.c code beyond what was required 
to get it to compile.  I've not examined the HAL to see if there are 
actual API changes that I need to take account of.  I will look at this 
shortly.

If there is demand for me to continue merging the NetBSD ath code into 
FreeBSD, I'd like to continue.  For now, a quick review or feedback 
would be appreciated.

Thanks

Matthew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4160AD0D.4080709>