Date: Sat, 29 Apr 2006 18:25:16 -0300 From: JoaoBR <joao@matik.com.br> To: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) Message-ID: <200604291825.17780.joao@matik.com.br> In-Reply-To: <444EF0C7.8040407@errno.com> References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> <444EF0C7.8040407@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 April 2006 01:02, Sam Leffler wrote: > Attached are two patches; one for the ath driver and another for > sys/net80211/ieee80211.c in releng6 (note changes to the latter in head > are different). I believe this will resolve your problem; you can check > by updating your code and looking at what ifconfig ath0 list chan gives > you. > I checked now with an unaltered ag530 (regdomain18) and look how strange Channel 1 : 2412 Mhz 11g Channel 136 : 4942* Mhz 11a Channel 2 : 2417 Mhz 11g Channel 136 : 4945* Mhz 11a Channel 3 : 2422 Mhz 11g Channel 136 : 4950* Mhz 11a Channel 4 : 2427 Mhz 11g Channel 137 : 4955* Mhz 11a Channel 5 : 2432 Mhz 11g Channel 137 : 4960* Mhz 11a Channel 6 : 2437 Mhz 11g Channel 137 : 4965* Mhz 11a Channel 7 : 2442 Mhz 11g Channel 137 : 4970* Mhz 11a Channel 8 : 2447 Mhz 11g Channel 138 : 4975* Mhz 11a Channel 9 : 2452 Mhz 11g Channel 138 : 4980* Mhz 11a Channel 10 : 2457 Mhz 11g Channel 138 : 4985* Mhz 11a Channel 11 : 2462 Mhz 11g the 5,3 and 5.8Ghz range is gone this card should show the 2.4b/g range as usual, the 4.9, the 5.3 and the 5= =2E8=20 range ath sysctl from this machine hw.ath.hal.swba_backoff: 0 hw.ath.hal.sw_brt: 10 hw.ath.hal.dma_brt: 2 hw.ath.hal.version: 0.9.16.16 hw.ath.txbuf: 100 hw.ath.rxbuf: 40 hw.ath.regdomain: 0 hw.ath.countrycode: 0 hw.ath.xchanmode: 1 hw.ath.outdoor: 1 hw.ath.calibrate: 30 hw.ath.dwell: 200 user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin: dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=3D8 function=3D0 dev.ath.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x1186=20 subdevice=3D0x3a14 class=3D0x020000 dev.ath.0.%parent: pci0 dev.ath.0.rate_interval: 1000 dev.ath.0.rate_raise: 10 dev.ath.0.rate_raise_threshold: 10 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 18 dev.ath.0.slottime: 20 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: 0 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.monpass: 24 setting 0x10 I get then Channel 1 : 2412 Mhz 11g Channel 48 : 5240 Mhz 11a Channel 2 : 2417 Mhz 11g Channel 50 : 5250 Mhz 11a Turbo Channel 3 : 2422 Mhz 11g Channel 52 : 5260 Mhz 11a Channel 4 : 2427 Mhz 11g Channel 56 : 5280 Mhz 11a Channel 5 : 2432 Mhz 11g Channel 58 : 5290 Mhz 11a Turbo Channel 6 : 2437 Mhz 11g Channel 60 : 5300 Mhz 11a Channel 7 : 2442 Mhz 11g Channel 64 : 5320 Mhz 11a Channel 8 : 2447 Mhz 11g Channel 149 : 5745 Mhz 11a Channel 9 : 2452 Mhz 11g Channel 152 : 5760 Mhz 11a Turbo Channel 10 : 2457 Mhz 11g Channel 153 : 5765 Mhz 11a Channel 11 : 2462 Mhz 11g Channel 157 : 5785 Mhz 11a Channel 36 : 5180 Mhz 11a Channel 160 : 5800 Mhz 11a Turbo Channel 40 : 5200 Mhz 11a Channel 161 : 5805 Mhz 11a Channel 42 : 5210 Mhz 11a Turbo Channel 165 : 5825 Mhz 11a Channel 44 : 5220 Mhz 11a ath sysctl from this machine: hw.ath.hal.swba_backoff: 0 hw.ath.hal.sw_brt: 10 hw.ath.hal.dma_brt: 2 hw.ath.hal.version: 0.9.16.16 hw.ath.txbuf: 100 hw.ath.rxbuf: 40 hw.ath.regdomain: 0 hw.ath.countrycode: 0 hw.ath.xchanmode: 1 hw.ath.outdoor: 1 hw.ath.calibrate: 30 hw.ath.dwell: 200 dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=3D11 function=3D0 dev.ath.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x1186=20 subdevice=3D0x3a14 class=3D0x020000 dev.ath.0.%parent: pci0 dev.ath.0.rate_interval: 1000 dev.ath.0.rate_raise: 10 dev.ath.0.rate_raise_threshold: 10 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 16 dev.ath.0.slottime: 20 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: 1 dev.ath.0.diversity: 0 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.monpass: 24 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604291825.17780.joao>