aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-04-18 15:17:07 (GMT)
committerJouni Malinen <j@w1.fi>2019-04-18 22:12:30 (GMT)
commit8a576f5ea5ac7e73222d6063ea6f5f2128cc7b43 (patch)
tree49cb3f913a2b5fc79736e1be7c06c0c34894d7d6 /src/ap/wpa_auth_i.h
parent09ab81b9e899730bcd257eb1c216e7bacd44a352 (diff)
downloadhostap-8a576f5ea5ac7e73222d6063ea6f5f2128cc7b43.zip
hostap-8a576f5ea5ac7e73222d6063ea6f5f2128cc7b43.tar.gz
hostap-8a576f5ea5ac7e73222d6063ea6f5f2128cc7b43.tar.bz2
FT: Maintain PMK-R1 for a connected STA
This is needed to allow PTK rekeying to be performed through 4-way handshake in an association started through FT protocol. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 1551236..4babd0c 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -119,6 +119,8 @@ struct wpa_state_machine {
u8 xxkey[PMK_LEN_MAX]; /* PSK or the second 256 bits of MSK, or the
* first 384 bits of MSK */
size_t xxkey_len;
+ u8 pmk_r1[PMK_LEN_MAX];
+ unsigned int pmk_r1_len;
u8 pmk_r1_name[WPA_PMK_NAME_LEN]; /* PMKR1Name derived from FT Auth
* Request */
u8 r0kh_id[FT_R0KH_ID_MAX_LEN]; /* R0KH-ID from FT Auth Request */