From owner-freebsd-current@FreeBSD.ORG Thu Feb 15 23:29:03 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 851EA16A407 for ; Thu, 15 Feb 2007 23:29:03 +0000 (UTC) (envelope-from Larry@syatech.com) Received: from syatech.com (syatech.com [69.36.162.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF7913C48E for ; Thu, 15 Feb 2007 23:29:01 +0000 (UTC) (envelope-from Larry@syatech.com) Received: from wags.syatech.com (71-34-156-29.clsp.qwest.net [71.34.156.29]) (authenticated bits=0) by syatech.com (8.12.11.20060308/8.12.11) with ESMTP id l1FMp2L8008014 for ; Thu, 15 Feb 2007 15:51:03 -0700 Message-Id: <200702152251.l1FMp2L8008014@syatech.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 15 Feb 2007 15:48:55 -0700 To: freebsd-current@freebsd.org From: Larry Martin Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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: Thu, 15 Feb 2007 23:29:03 -0000 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? 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