Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2006 08:08:45 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Marcin Jessa <lists@yazzy.org>
Cc:        konfer@mikulas.com, freebsd-mobile@freebsd.org
Subject:   Re: ath countrycode
Message-ID:  <43E9FB6D.1000903@centtech.com>
In-Reply-To: <20060208142827.0e29b6c9.lists@yazzy.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcin Jessa wrote:
> On Wed, 08 Feb 2006 14:13:12 +0100
> Michal Mertl <mime@traveller.cz> 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.
------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E9FB6D.1000903>