[PATCH 2/2] dbus: Add a Country global property
Thu Dec 9 03:46:37 PST 2010
On Thu, 2010-12-09 at 12:06 +0100, Samuel Ortiz wrote:
> 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).
But hostapd is still responsible for putting it into the beacon, and I
believe there's some code for that already?
More information about the Hostap