Date: Wed, 8 Feb 2006 13:50:24 +0100 From: Marcin Jessa <lists@yazzy.org> To: Eric Anderson <anderson@centtech.com> Cc: konfer@mikulas.com, freebsd-mobile@freebsd.org Subject: Re: ath countrycode Message-ID: <20060208135024.751ca9ec.lists@yazzy.org> In-Reply-To: <43E9E2CF.2010000@centtech.com> References: <43E9DCA0.4060704@mikulas.com> <43E9E2CF.2010000@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 08 Feb 2006 06:23:43 -0600 Eric Anderson <anderson@centtech.com> wrote: > Jiri Mikulas wrote: > > Hello > > I have ATH cards Wistron CM9 (AR5213), > > I want to set correct countrycode to use correct channels (ETSI) > > (channels 1-13 on 11g, channels 100-140 on 11a) > > but it's "disabled' > > > > osika:/# sysctl -a dev.ath.0.countrycode=203 > > sysctl: oid 'dev.ath.0.countrycode' is read only > > > > On most HW wireles AP I can switch country (for example COMPEX > > WPE54AG-5GHz), on NetBSD and Linux I can set it too (according to > > this article http://www.fehu.org/atheros.html ) so I'm little bit > > suprised, that it's 'forbiden' on Freebsd > > > > I have > > FreeBSD 6.0-STABLE #1: Thu Jan 19 10:40:33 CET 2006 > > dev.ath.0.countrycode: 0 > > dev.ath.0.regdomain: 0 > > hw.ath.hal.version: 0.9.14.9 > > ath0: <Atheros 5212> mem 0xff920000-0xff92ffff irq 17 at device > > 2.0 on pci1 ath0: Ethernet address: 00:0b:6b:35:46:d7 > > ath0: mac 5.9 phy 4.3 radio 3.6 > > > > osika:/# ifconfig ath0 list chan > > 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 > > > > > > Is there any way to switch countrycode on FBSD please ? > > > > Did you try setting it in /boot/loader.conf? IMHO that should be changed without booting with a rw sysctl value. It's indeed strange this value is ro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060208135024.751ca9ec.lists>