New Atheros card: channel reset error [sorry for posting of not
ready message]
Sam Leffler
sam at freebsd.org
Wed Feb 11 15:46:11 PST 2009
Lev Serebryakov wrote:
> Hello, Freebsd-net.
>
> I'm getting this error on every operation with new Atheros MiniPCI
> card:
>
> ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12
>
>
status 12 is:
HAL_EINVAL = 12, /* Invalid parameter to function */
(from ah.h). The first flags translate to a 2GHz Dynamic Turbo channel
(see _ieee80211.h). The hal flags translate to a 5GHz Dynamic Turbo
channel (see ah.h).
So the driver is mis-mapping the channel and causing the hal to reject
the request. If I recall this causes scanning to stop on RELENG_7 so
you'll want to force this channel to not be requested by disabling
dynamic turbo mode. I can't recall how that's done on RELENG_7; consult
ifconfig(8).
> What does it mean? Maybe, card is broken?
>
> # pciconf -lv
> ath0 at pci0:0:17:0: class=0x020000 card=0x1600185f chip=0x001b168c rev=0x01 hdr=0x00
> vendor = 'Atheros Communications Inc.'
> device = 'AR5006 family 802.11abg Wireless NIC'
> class = network
> subclass = ethernet
>
> # grep ath /var/run/dmesg.boot
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> ath0: <Atheros 5212> mem 0xa0060000-0xa006ffff irq 15 at device 17.0 on pci0
> ath0: [ITHREAD]
> ath0: WARNING: using obsoleted if_watchdog interface
> ath0: Ethernet address: 00:0b:6b:2d:e8:1e
> ath0: mac 10.5 phy 6.1 radio 6.3
>
> # sysctl dev.ath
> dev.ath.0.%desc: Atheros 5212
> dev.ath.0.%driver: ath
> dev.ath.0.%location: slot=17 function=0
> dev.ath.0.%pnpinfo: vendor=0x168c device=0x001b subvendor=0x185f subdevice=0x1600 class=0x020000
> dev.ath.0.%parent: pci0
> dev.ath.0.smoothing_rate: 95
> dev.ath.0.sample_rate: 10
> dev.ath.0.countrycode: 0
> dev.ath.0.regdomain: 0
> dev.ath.0.slottime: 9
> dev.ath.0.acktimeout: 48
> dev.ath.0.ctstimeout: 48
> dev.ath.0.softled: 0
> dev.ath.0.ledpin: 0
> dev.ath.0.ledon: 0
> dev.ath.0.ledidle: 2700
> dev.ath.0.txantenna: 0
> dev.ath.0.rxantenna: 2
> dev.ath.0.diversity: 1
> dev.ath.0.txintrperiod: 5
> dev.ath.0.diag: 0
> dev.ath.0.tpscale: 0
> dev.ath.0.tpc: 0
> dev.ath.0.tpack: 63
> dev.ath.0.tpcts: 63
> dev.ath.0.fftxqmin: 2
> dev.ath.0.fftxqmax: 50
> dev.ath.0.rfsilent: 1
> dev.ath.0.rfkill: 1
> dev.ath.0.monpass: 24
>
> # sysctl hw.ath
> hw.ath.hal.swba_backoff: 0
> hw.ath.hal.sw_brt: 10
> hw.ath.hal.dma_brt: 2
> hw.ath.hal.version: 0.9.20.3
> hw.ath.txbuf: 200
> hw.ath.rxbuf: 40
> hw.ath.regdomain: 0
> hw.ath.countrycode: 0
> hw.ath.xchanmode: 1
> hw.ath.outdoor: 1
> hw.ath.calibrate: 30
>
>
More information about the freebsd-net
mailing list