aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.h
diff options
context:
space:
mode:
authorMathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>2018-08-06 19:46:27 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-16 22:02:14 (GMT)
commit17c2559caf0ce06e41015899e93b353cc8d7c031 (patch)
tree4f0d7eddcbeccc05d974980743c8f1857d2d5196 /src/rsn_supp/wpa.h
parent6ab73efa7245b8af0df7ba8c6b6ccc66732b2a12 (diff)
downloadhostap-17c2559caf0ce06e41015899e93b353cc8d7c031.zip
hostap-17c2559caf0ce06e41015899e93b353cc8d7c031.tar.gz
hostap-17c2559caf0ce06e41015899e93b353cc8d7c031.tar.bz2
OCV: Insert OCI in 4-way and group key handshake
If Operating Channel Verification is negotiated, include the OCI KDE element in EAPOL-Key msg 2/4 and 3/4 of the 4-way handshake and both messages of the group key handshake. Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r--src/rsn_supp/wpa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index b832267..9eee383 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -144,6 +144,7 @@ int wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param,
int wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
int verbose);
int wpa_sm_pmf_enabled(struct wpa_sm *sm);
+int wpa_sm_ocv_enabled(struct wpa_sm *sm);
void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise);
@@ -282,6 +283,11 @@ static inline int wpa_sm_pmf_enabled(struct wpa_sm *sm)
return 0;
}
+static inline int wpa_sm_ocv_enabled(struct wpa_sm *sm)
+{
+ return 0;
+}
+
static inline void wpa_sm_key_request(struct wpa_sm *sm, int error,
int pairwise)
{