wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mesh_rsn.h
Go to the documentation of this file.
1 
5 #ifndef MESH_RSN_H
6 #define MESH_RSN_H
7 
8 struct mesh_rsn {
9  struct wpa_supplicant *wpa_s;
10  struct wpa_authenticator *auth;
11  u8 mgtk[16];
12 #ifdef CONFIG_SAE
13  struct wpabuf *sae_token;
14  int sae_group_index;
15 #endif /* CONFIG_SAE */
16 };
17 
18 struct mesh_rsn * mesh_rsn_auth_init(struct wpa_supplicant *wpa_s,
19  struct mesh_conf *conf);
20 int mesh_rsn_auth_sae_sta(struct wpa_supplicant *wpa_s, struct sta_info *sta);
21 int mesh_rsn_derive_mtk(struct wpa_supplicant *wpa_s, struct sta_info *sta);
22 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
23 void mesh_rsn_init_ampe_sta(struct wpa_supplicant *wpa_s,
24  struct sta_info *sta);
25 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
26  const u8 *cat, struct wpabuf *buf);
27 int mesh_rsn_process_ampe(struct wpa_supplicant *wpa_s, struct sta_info *sta,
28  struct ieee802_11_elems *elems, const u8 *cat,
29  const u8 *start, size_t elems_len);
30 void mesh_auth_timer(void *eloop_ctx, void *user_data);
31 
32 #endif /* MESH_RSN_H */
Definition: sta_info.h:44
Definition: wpabuf.h:16
Definition: mesh_rsn.h:8
Definition: ieee802_11_common.h:19
Definition: wpa_auth_i.h:176
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
local MBSS state and settings
Definition: ap_config.h:20