From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 8 13:13:29 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 6EA9A16A420 for ; Wed, 8 Feb 2006 13:13:29 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from ss.eunet.cz (ss.eunet.cz [193.85.228.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6AF443D49 for ; Wed, 8 Feb 2006 13:13:28 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from localhost.i.cz (ss.eunet.cz [193.85.228.13]) by ss.eunet.cz (8.13.3/8.13.1) with ESMTP id k18DDJwx047161 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 8 Feb 2006 14:13:19 +0100 (CET) (envelope-from mime@traveller.cz) From: Michal Mertl To: Marcin Jessa In-Reply-To: <20060208135024.751ca9ec.lists@yazzy.org> References: <43E9DCA0.4060704@mikulas.com> <43E9E2CF.2010000@centtech.com> <20060208135024.751ca9ec.lists@yazzy.org> Content-Type: text/plain Date: Wed, 08 Feb 2006 14:13:12 +0100 Message-Id: <1139404392.2344.16.camel@genius.i.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Eric Anderson , 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:13:29 -0000 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. Michal