From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 8 14:08:49 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A1E16A420 for ; Wed, 8 Feb 2006 14:08:49 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B255043D48 for ; Wed, 8 Feb 2006 14:08:48 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k18E8j2n092835; Wed, 8 Feb 2006 08:08:45 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43E9FB6D.1000903@centtech.com> Date: Wed, 08 Feb 2006 08:08:45 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Marcin Jessa References: <43E9DCA0.4060704@mikulas.com> <43E9E2CF.2010000@centtech.com> <20060208135024.751ca9ec.lists@yazzy.org> <1139404392.2344.16.camel@genius.i.cz> <20060208142827.0e29b6c9.lists@yazzy.org> In-Reply-To: <20060208142827.0e29b6c9.lists@yazzy.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1280/Tue Feb 7 04:11:53 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: konfer@mikulas.com, freebsd-mobile@freebsd.org Subject: Re: ath countrycode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 14:08:49 -0000 Marcin Jessa wrote: > On Wed, 08 Feb 2006 14:13:12 +0100 > Michal Mertl wrote: > > >> Marcin Jessa 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 >>>>> >>> IMHO that should be changed without booting with a rw sysctl value. >>> It's indeed strange this value is ro. >>> >> It probably won't be easy to do change (like just allowing to write to >> the variable) and I don't really see a need for it. The device is >> configured/initialized according to this value during device attach >> (on boot). >> >> Why you need to change it during run time? Normally it's a set-once >> value. In consumer products it should even be set correctly by the >> vendor/reseller in the HW. >> > > You're thinking a normal user and I'm thinking an WISP and Access > points. > You're right, this does not need to be changed more than once > but it's neverless silly if you have to reboot each time you do. > All the comercial implementations allows you to change this value on > the fly. > Does unloading/reloading the hal set the new value, or only bootup? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------