Using GeoClue to send a Linux wireless regulatory hint
Luis R. Rodriguez
mcgrof at gmail.com
Fri Jul 17 09:10:30 PDT 2009
On Fri, Jul 17, 2009 at 4:17 AM, Hin-Tak Leung<hintak.leung at gmail.com> wrote:
> I thought the reason for using GeoClue is to cater for frequent
> travellers who can cross timezone
No, you use it for whatever you want. For wireless we want it to get
the country so the user does not have to bother with setting the
regulatory domain themselves.
> (and not neccesarily reset their
> laptop's computer/clock for it)?
That seems to be just one use for GeoClue.
> So it is orthogonal to one-off static
> setup where the computer mostly stay in the same country/location.
Sure, a static computer still can use location information and I won't
get into the use cases for that outside the scope of wireless. As far
as distributions are concerned it would still be nice to provide the
country the user is in to the kernel even for statically placed
computers and not have the user set this.
The idea is to just automate informing the kernel of your country and
using the best resources possible to do this.
> there an iw/cfg80211 interface/field for regulatory info?
Yes. See iw documentation about this , wpa_supplicant also has
support for this as well.
> AFAIK there isn't in wext,
No and there won't be.
> but that's on its way out and probably not important...
Wireless extensions is not going to be removed, we just stop advancing
it and now that we have a good replacement API (cfg80211) we push
driver developers to use it for new drivers to be merged.
More information about the GeoClue