aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2015-02-19 06:15:45 (GMT)
committerJouni Malinen <j@w1.fi>2015-02-21 14:07:53 (GMT)
commit4d9e6fba2a73b2b54df656452c5c872e5d192dd4 (patch)
treeeb07048a585233fdc2ab6b063d2aa16ec9452f4a /wpa_supplicant/config.c
parent6f5e1b0bf62e9f85fc8b0d24aa81f32a38bc434c (diff)
downloadhostap-4d9e6fba2a73b2b54df656452c5c872e5d192dd4.zip
hostap-4d9e6fba2a73b2b54df656452c5c872e5d192dd4.tar.gz
hostap-4d9e6fba2a73b2b54df656452c5c872e5d192dd4.tar.bz2
IBSS: Add fixed_freq network parameter
Add fixed_freq=<0/1> network block parameter and pass it to the driver when starting or joining an IBSS. If this flag is set, IBSS should not try to look for other IBSS networks to merge with on different channels. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 6c67f9f..30d9342 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -1896,6 +1896,7 @@ static const struct parse_data ssid_fields[] = {
{ INT_RANGE(peerkey, 0, 1) },
{ INT_RANGE(mixed_cell, 0, 1) },
{ INT_RANGE(frequency, 0, 65000) },
+ { INT_RANGE(fixed_freq, 0, 1) },
#ifdef CONFIG_MESH
{ FUNC(mesh_basic_rates) },
{ INT(dot11MeshMaxRetries) },