[PATCH] Add 'country CC' command to set regulatory domain
j at w1.fi
Mon Apr 18 05:25:09 EDT 2011
On Fri, Apr 15, 2011 at 05:13:40PM -0700, Sam Leffler wrote:
> With your change my dbus setter for Country needs to be changed.
Hmm.. What do you mean? It seems to be doing the exact same thing as the
control interface SET country command does now, i.e., update
wpa_s->conf->country and call wpa_drv_set_country().
> It so
> happens I had similar changes to Dmitry that I was preparing (my country cmd
> displayed the current setting w/ no args). While you can now use "set
> country US" how do you get the current setting? It looks like "get" isn't
> hooked up to a general mechanism like "set" is.
Currently, the is no mechanism for showing the current country
configuration. I would have no problems adding similar mechanism to
reading a global parameter that SET uses. However, that alone would not
be enough since there is no get_country() drivers_ops and
wpa_s->conf->country may be unconfigured (0x00 0x00).
Jouni Malinen PGP id EFC895FA
More information about the HostAP