[PATCH 2/2] dbus: Add a Country global property

Samuel Ortiz sameo
Thu Dec 9 03:06:17 PST 2010

Hi Johannes,

On Thu, Dec 09, 2010 at 10:35:04AM +0100, Johannes Berg wrote:
> On Thu, 2010-12-09 at 00:57 +0100, Samuel Ortiz wrote:
> > This read-write property allows to pass an ISO 3166-1 alpha2 string to the
> > cfg80211 layer, through D-Bus.
> Shouldn't you also hook this up to the AP code's beacon IE? Or is that
> handled differently?
I think we should let the kernel regulatory code decide on which regulatory
domain to eventually use, be it for building beacons or not.
This codes only sends a user regulatory hint. If that conflicts with an EEPROM
based setting or (in the STA case) with a connected AP country IE, the kernel
cfg80211 layer should decide which one to pick (if the intersection is empty,
I suppose).


Intel Open Source Technology Centre

More information about the Hostap mailing list