From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 03:02:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3C3E16A402 for ; Fri, 2 Feb 2007 03:02:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id BC02C13C461 for ; Fri, 2 Feb 2007 03:02:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l12324W5002982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 1 Feb 2007 19:02:06 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45C2A9AC.10909@errno.com> Date: Thu, 01 Feb 2007 19:02:04 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: CFT: newath hal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 03:02:07 -0000 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