mesh: Add variable length MTK support
[mech_eap.git] / src / ap / sta_info.h
index 10bdfe1..6b520bc 100644 (file)
@@ -85,7 +85,8 @@ struct sta_info {
        u8 my_nonce[WPA_NONCE_LEN];
        u8 peer_nonce[WPA_NONCE_LEN];
        u8 aek[32];     /* SHA256 digest length */
-       u8 mtk[16];
+       u8 mtk[WPA_TK_MAX_LEN];
+       size_t mtk_len;
        u8 mgtk[16];
        u8 sae_auth_retry;
 #endif /* CONFIG_MESH */