linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Removing CONFIG_WIRELESS_OLD_REGULATORY plan
@ 2009-03-24 19:30 Luis R. Rodriguez
  2009-03-25  6:44 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-03-24 19:30 UTC (permalink / raw)
  To: linux-wireless, linux-kernel@vger.kernel.org
  Cc: Al Viro, k roy, Till Kamppeter, Jussi Kukkonen, Marcel Holtmann

As a lot of you know we have a new regulatory implementation for Linux
wireless now [1]. We have kept the old regulatory implementation
through a Kconfig option, CONFIG_WIRELESS_OLD_REGULATORY.
Distributions are slowly converging to start setting this to "N" -- as
of 2.6.28. Distributions are also now shipping wireless-regdb [2] and
CRDA [3]. In the case of the absence of either of these we world roam.
For the 2.6.30 kernel we have added a new set of world roaming
improvements which include the ability to enable active scanning when
a beacon from an AP is found [4], and to also default to do passive
scan on the 5 GHz band [6].

We have had CONFIG_WIRELESS_OLD_REGULATORY in the feature removal
schedule marked for 2.6.29 but we have avoided doing so due to the the
distribution-catchup game and OLD_REG was still being set to default
to "Y".

Now with 2.6.29 released 2.6.30 merge window is closing, and I'd like
to review our current updated plans for the feature removal of the old
regulatory infrastructure. The plan is to ship 2.6.30 with OLD_REG
defaulting to "N", move along the ieee80211_regdom module parameter to
be available when OLD_REG is set to "N" and to not remove OLD_REG
until distributions being shipped start carrying decent userspace
replacements to provide regulatory hint information to the kernel.

For example, the cheap way to do this is to simply pick your country
someway and use iw to set the regulatory domain from part of an init
script. The next best thing is to get Network Manager to support
country selection and then pass that to wpa_supplicant to inform the
kernel. The impressive solution will be to integrate GeoClue [6] to
the standard Linux desktop and to make use of all location-aware
inputs on the desktop to determine your location. To this end the
GNOME and the Linux Foundation have Google Summer of Code projects [6]
to accomplish this. We will work with the GNOME folks to work together
on this so we can each help mentor each component involved
respectively. For details of the current ideas please see the links to
the project.

I should briefly note that this helps mostly Linux wireless drivers
which completely lack regulatory information or which rely on it
completely from userspace (examples are drivers which rely on the
Windows registry files for regdomain information). For drivers which
already have regulatory information that is always respected of
course, but we still let users help compliance even further. For
further details please to our regulatory implementation documentation
[1].

Our plan then is to not remove OLD_REG completely until we see some
decent userspace replacement on the Linux desktop being shipped and
help mentor the Linux wireless GeoClue GSoC 2009 project [8] (hint:
applications were opened yesterday, deadline is April 03).

For those still not clear exactly on what
CONFIG_WIRELESS_OLD_REGULATORY means please see our documentation [9]
on this.

So this is the plan... if there are any questions, hate mail or
comments please let me know.

  Luis

[1] http://wireless.kernel.org/en/developers/Regulatory
[2] http://wireless.kernel.org/en/developers/Regulatory#Theregulatorydatabase
[3] http://wireless.kernel.org/en/developers/Regulatory/CRDA
[4] http://marc.info/?l=linux-wireless&m=123519365605046&w=2
[5] http://marc.info/?l=linux-wireless&m=123519439405554&w=2
[6] http://www.freedesktop.org/wiki/Software/GeoClue
[7] https://www.linuxfoundation.org/en/Google_Summer_of_Code_2009#802.11_Wireless
[8] https://www.linuxfoundation.org/en/Google_Summer_of_Code_2009#802.11_Wireless
[9] http://wireless.kernel.org/en/developers/Regulatory#Oldregulatoryimplementation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC] Removing CONFIG_WIRELESS_OLD_REGULATORY plan
  2009-03-24 19:30 [RFC] Removing CONFIG_WIRELESS_OLD_REGULATORY plan Luis R. Rodriguez
@ 2009-03-25  6:44 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2009-03-25  6:44 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless

"Luis R. Rodriguez" <mcgrof@gmail.com> writes:

> As a lot of you know we have a new regulatory implementation for Linux
> wireless now [1]. We have kept the old regulatory implementation
> through a Kconfig option, CONFIG_WIRELESS_OLD_REGULATORY.
> Distributions are slowly converging to start setting this to "N" -- as
> of 2.6.28. Distributions are also now shipping wireless-regdb [2] and
> CRDA [3].

Just of curiosity, what's happening with crda in debian? I still don't
see them in debian unstable.

I just found iw version 0.9.9-nogit in unstable, though. So things are
going forward.

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-25  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 19:30 [RFC] Removing CONFIG_WIRELESS_OLD_REGULATORY plan Luis R. Rodriguez
2009-03-25  6:44 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).