From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 8 13:28:23 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 0A33B16A420 for ; Wed, 8 Feb 2006 13:28:23 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.net (mail.yazzy.net [217.8.140.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5443D46 for ; Wed, 8 Feb 2006 13:28:22 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mail.yazzy.net with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1F6pMK-0002Gn-Kx; Wed, 08 Feb 2006 14:27:49 +0100 Date: Wed, 8 Feb 2006 14:28:27 +0100 From: Marcin Jessa To: Michal Mertl Message-Id: <20060208142827.0e29b6c9.lists@yazzy.org> In-Reply-To: <1139404392.2344.16.camel@genius.i.cz> References: <43E9DCA0.4060704@mikulas.com> <43E9E2CF.2010000@centtech.com> <20060208135024.751ca9ec.lists@yazzy.org> <1139404392.2344.16.camel@genius.i.cz> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.11; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 (--) Cc: anderson@centtech.com, 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 13:28:23 -0000 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. Cheers, Marcin.