aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorMathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>2018-08-06 19:46:25 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-16 18:31:21 (GMT)
commitce6829c284a316d5b7b610e83865af69b8ccfcf3 (patch)
tree53b932ccb1fae2731c31e79a1f319c813a2d7c52 /wpa_supplicant/config_ssid.h
parent9c55fdb02397ff03797067314a2fb8814ac36fa7 (diff)
downloadhostap-ce6829c284a316d5b7b610e83865af69b8ccfcf3.zip
hostap-ce6829c284a316d5b7b610e83865af69b8ccfcf3.tar.gz
hostap-ce6829c284a316d5b7b610e83865af69b8ccfcf3.tar.bz2
OCV: Add wpa_supplicant config parameter
Add wpa_supplicant network profile parameter ocv to disable or enable Operating Channel Verification (OCV) support. Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index d2a52d7..6427fbb 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -457,6 +457,17 @@ struct wpa_ssid {
enum mfp_options ieee80211w;
#endif /* CONFIG_IEEE80211W */
+#ifdef CONFIG_OCV
+ /**
+ * ocv - Enable/disable operating channel validation
+ *
+ * If this parameter is set to 1, stations will exchange OCI element
+ * to cryptographically verify the operating channel. Setting this
+ * parameter to 0 disables this option. Default value: 0.
+ */
+ int ocv;
+#endif /* CONFIG_OCV */
+
/**
* frequency - Channel frequency in megahertz (MHz) for IBSS
*