CFT: newath hal
Sam Leffler
sam at errno.com
Fri Feb 16 05:07:31 UTC 2007
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
>
More information about the freebsd-current
mailing list