aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorDavid Spinadel <david.spinadel@intel.com>2016-02-15 14:53:22 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-21 15:55:16 (GMT)
commitfacf2c728a59af817aad9fe70d23d8b2519d8a94 (patch)
treed01f4f8f0c49a6293ee019adb211019123c92cf8 /wpa_supplicant/config.c
parent425dd78ad23910afc6498a6acd2dd8b05efda514 (diff)
downloadhostap-facf2c728a59af817aad9fe70d23d8b2519d8a94.zip
hostap-facf2c728a59af817aad9fe70d23d8b2519d8a94.tar.gz
hostap-facf2c728a59af817aad9fe70d23d8b2519d8a94.tar.bz2
MBO: Add non-preferred channel configuration in wpa_supplicant
Add non-preferred channel configuration to wpa_config for MBO. Signed-off-by: David Spinadel <david.spinadel@intel.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index e345895..3319ed1 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -2286,6 +2286,9 @@ void wpa_config_free(struct wpa_config *config)
os_free(config->wowlan_triggers);
os_free(config->fst_group_id);
os_free(config->sched_scan_plans);
+#ifdef CONFIG_MBO
+ os_free(config->non_pref_chan);
+#endif /* CONFIG_MBO */
os_free(config);
}
@@ -4265,6 +4268,9 @@ static const struct global_parse_data global_fields[] = {
#endif /* CONFIG_FST */
{ INT_RANGE(wpa_rsc_relaxation, 0, 1), 0 },
{ STR(sched_scan_plans), CFG_CHANGED_SCHED_SCAN_PLANS },
+#ifdef CONFIG_MBO
+ { STR(non_pref_chan), 0 },
+#endif /*CONFIG_MBO */
};
#undef FUNC