Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 13:36:56 -0700
From:      Sam Leffler <sam@errno.com>
To:        Douglas Berry <bitnix@bitnix.ca>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140)
Message-ID:  <444E8868.7050406@errno.com>
In-Reply-To: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca>
References:  <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Douglas Berry wrote:
> Dlink DWL-AG530 can't scan, can't connect.
> ifconfig ath0 up ; ifconfig ath0 list scan
> returns nothing. On the same machine, same 'net, a different ath
> card works (TRENDnet TEW-503PI).
> 
> Does anyone have this Dlink card working on RELENG_6?
> 
> pciconf output:
> ath0@pci0:14:0: class=0x020000 card=0x3a141186 chip=0x0013168c rev=0x01 hdr=0x00
> 
> dmesg snippet:
> ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> ath_rate: version 1.2 <SampleRate bit-rate selection algorithm>
> pci0: driver added
> found-> vendor=0x1106, dev=0x3057, revid=0x40
>         bus=0, slot=7, func=4
>         class=06-80-00, hdrtype=0x00, mfdev=0
>         cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords)
>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>         powerspec 2  supports D0 D3  current D0
> pci0:7:4: reprobing on driver added
> found-> vendor=0x1106, dev=0x3058, revid=0x50
>         bus=0, slot=7, func=5
>         class=04-01-00, hdrtype=0x00, mfdev=0
>         cmdreg=0x0001, statreg=0x0210, cachelnsz=0 (dwords)
>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>         intpin=c, irq=5
>         powerspec 2  supports D0 D3  current D0
> pci0:7:5: reprobing on driver added
> found-> vendor=0x168c, dev=0x0013, revid=0x01
>         bus=0, slot=14, func=0
>         class=02-00-00, hdrtype=0x00, mfdev=0
>         cmdreg=0x0006, statreg=0x0290, cachelnsz=8 (dwords)
>         lattimer=0x20 (960 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
>         intpin=a, irq=15
>         powerspec 2  supports D0 D3  current D0
> pci0:14:0: reprobing on driver added
> ath0: <Atheros 5212> mem 0xe5810000-0xe581ffff irq 15 at device 14.0 on pci0
> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xe5810000
> ath0: [MPSAFE]
> ath0: bpf attached
> ath0: Ethernet address: 00:11:95:ff:fe:f0
> ath0: bpf attached
> ath0: bpf attached
> ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> ath0: mac 5.9 phy 4.3 radio 3.6
> ath0: Use hw queue 1 for WME_AC_BE traffic
> ath0: Use hw queue 0 for WME_AC_BK traffic
> ath0: Use hw queue 2 for WME_AC_VI traffic
> ath0: Use hw queue 3 for WME_AC_VO traffic
> ath0: Use hw queue 8 for CAB traffic
> ath0: Use hw queue 9 for beacons
> pci1: driver added
> found-> vendor=0x1023, dev=0x8500, revid=0x6a
>         bus=1, slot=0, func=0
>         class=03-00-00, hdrtype=0x00, mfdev=0
>         cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords)
>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>         intpin=a, irq=255
>         powerspec 1  supports D0 D1 D2 D3  current D0
> pci1:0:0: reprobing on driver added
> ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140)

flags 0x3e0 = Passive+5Ghz+2Ghz+OFDM+CCK
hal flags 0x140 = 5Ghz+OFDM
Both of these make no sense for a frequency of 2432 Mhz, hence the hal 
got upset.

What are the regulatory domain settings for the card; sysctl dev.ath.0 
will show them?  Please also show the output of ifconfig ath0 list channel.

	Sam





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444E8868.7050406>