From owner-freebsd-current@FreeBSD.ORG Fri Feb 16 05:07:30 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 D719316A400 for ; Fri, 16 Feb 2007 05:07:30 +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 9827A13C428 for ; Fri, 16 Feb 2007 05:07:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l1G57Rgd016202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Feb 2007 21:07:28 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45D53C0F.6080405@errno.com> Date: Thu, 15 Feb 2007 21:07:27 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Larry Martin References: <200702152251.l1FMp2L8008014@syatech.com> In-Reply-To: <200702152251.l1FMp2L8008014@syatech.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: 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, 16 Feb 2007 05:07:31 -0000 Larry Martin wrote: > I'm trying to work with 11g/5MHz channels and tried the new 0.9.30.7 > ath_hal, but found that channel 33 for example still resulted in a 20MHz > wide channel as seen on a spectrum analyzer. The 11a/5MHz PSB channels > (82 for example) are 5MHz wide as expected. > > I'm using a Wistron CM9 card (Atheros 5212?) and expected that I'd still > see the 5MHz output, just still in the 2.4GHz band instead of 900MHz. > Is this correct? No. What you are doing is not supported. There is only support for SR9 cards and for operating "5212 cards" in the public safety band. > > One additional note: I'm transmitting packets via the BPF packet > injection code, which works very well for my purposes. I don't think > this should affect the channel bandwidth. I've tried specifying > transmit data rates of both 1.5 and 6.0 Mb/s. Interestingly, at 1.5 > Mb/s the receiver shows that the receive data rate is 1.5 Mb/s, but the > actual throughput is ~3 Mb/s (which maybe sorta almost makes sense if > it's still transmitting on a 20MHz channel?) I hope to capture the > transmissions on a third radio with tcpdump to see what's really > happening there. Maybe that will provide additional insight into the 5 > vs 20MHz issue. > > awn2# sysctl dev.ath.0.countrycode=843 > dev.ath.0.countrycode: 0 -> 843 > > awn2# 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 > > awn2# sysctl hw.ath > hw.ath.hal.version: 0.9.30.7 > hw.ath.hal.dma_brt: 2 > hw.ath.hal.sw_brt: 10 > hw.ath.hal.swba_backoff: 0 > hw.ath.dwell: 200 > hw.ath.calibrate: 30 > hw.ath.outdoor: 1 > hw.ath.xchanmode: 1 > hw.ath.countrycode: 0 > hw.ath.regdomain: 0 > hw.ath.rxbuf: 40 > hw.ath.txbuf: 100 > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >