CFT: newath hal

Sam Leffler sam at errno.com
Fri Feb 2 03:02:07 UTC 2007


You can find hal version 0.9.30.7 here:

http://people.freebsd.org/~sam/ath_hal-20070201.tgz

The most important change relative to 0.9.20.3 (as found in CVS) is in
handling half- and quarter-rate channels used in the Public Safety Band
(PSB) and in 900MHz cards like the Ubiquiti SR9 and Zcomax GZ-901.

This should be a drop-in replacement for the existing hal; I believe
I've committed all necessary changes to HEAD (and probably RELENG_6 but
need to test there before I post for users of that branch).

To use the PSB you need to change the country code on the card like this:

sysctl dev.ath.0.countrycode=842

This assumes your code has regdomain 0 in the eeprom.  Otherwise if the
regdomain is 0x12 (if I recall) then likewise you'll find the PSB
channels displayed with:

ifconfig ath0 list chan.

For the 900MHz cards you set the country code to 843 (as above) and then
you'll find these channels (for the sr9 at least):

aku% ifconfig ath0 list chan
Channel   3 : 907* Mhz 11g/5Mhz     Channel  23 : 917* Mhz 11g/5Mhz
Channel   4 : 907* Mhz 11g/10Mhz    Channel  24 : 917* Mhz 11g/10Mhz
Channel  13 : 912* Mhz 11g/5Mhz     Channel  26 : 917* Mhz 11g
Channel  14 : 912* Mhz 11g/10Mhz    Channel  33 : 922* Mhz 11g/5Mhz
Channel  16 : 912* Mhz 11g          Channel  34 : 922* Mhz 11g/10Mhz

For now you'll need to use the IEEE channel #'s to uniquely identify the
channel use.  I've got changes to ifconfig to handle this more cleanly
but they'll require some more extensive changes to net80211.

	Sam


More information about the freebsd-current mailing list