aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@Atheros.com>2008-12-09 20:11:14 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-09 20:11:14 (GMT)
commit6d1584905c5897aa1ce117cb4e6b16d28a0f397f (patch)
tree2d41f08708e9e19f1dac606fdec5bee691686f2d /wpa_supplicant/config.h
parent556f5a2a281dc725f16cbf986c3f17aff4115e13 (diff)
downloadhostap-6d1584905c5897aa1ce117cb4e6b16d28a0f397f.zip
hostap-6d1584905c5897aa1ce117cb4e6b16d28a0f397f.tar.gz
hostap-6d1584905c5897aa1ce117cb4e6b16d28a0f397f.tar.bz2
wpa_supplicant: Add support for setting of a regulatory domain
This adds support for setting of a regulatory domain to wpa_supplicant drivers. It also adds regulatory domain setting for the nl80211 driver. We expect an ISO / IEC 3166 alpha2 in the wpa configuration file as a global.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index b05576d..3ec2a01 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -252,6 +252,14 @@ struct wpa_config {
* uuid - Universally Unique IDentifier (UUID; see RFC 4122) for WPS
*/
u8 uuid[16];
+
+ /**
+ * alpha2 - Country code
+ *
+ * This is the ISO/IEC alpha2 country code for which we are operating
+ * in
+ */
+ char alpha2[2];
};