Home
last modified time | relevance | path

Searched refs:mesh_rsn (Results 1 – 11 of 11) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh_rsn.c81 struct mesh_rsn *mesh_rsn = ctx; in auth_get_psk() local
82 struct hostapd_data *hapd = mesh_rsn->wpa_s->ifmsh->bss[0]; in auth_get_psk()
105 struct mesh_rsn *mesh_rsn = ctx; in auth_set_key() local
120 return wpa_drv_set_key(mesh_rsn->wpa_s, alg, addr, idx, in auth_set_key()
127 struct mesh_rsn *mesh_rsn = ctx; in auth_start_ampe() local
131 if (mesh_rsn->wpa_s->current_ssid->mode != WPAS_MODE_MESH) in auth_start_ampe()
134 hapd = mesh_rsn->wpa_s->ifmsh->bss[0]; in auth_start_ampe()
137 eloop_cancel_timeout(mesh_auth_timer, mesh_rsn->wpa_s, sta); in auth_start_ampe()
139 mesh_mpm_auth_peer(mesh_rsn->wpa_s, addr); in auth_start_ampe()
144 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr, in __mesh_rsn_auth_init()
[all …]
Dmesh_rsn.h12 struct mesh_rsn { struct
30 struct mesh_rsn * mesh_rsn_auth_init(struct wpa_supplicant *wpa_s, argument
34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
Dmesh.c35 os_free(wpa_s->mesh_rsn); in wpa_supplicant_mesh_deinit()
36 wpa_s->mesh_rsn = NULL; in wpa_supplicant_mesh_deinit()
188 wpa_s->mesh_rsn = mesh_rsn_auth_init(wpa_s, ifmsh->mconf); in wpas_mesh_init_rsn()
189 return !wpa_s->mesh_rsn ? -1 : 0; in wpas_mesh_init_rsn()
216 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpas_mesh_complete()
217 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
218 wpa_s->mgmt_group_cipher = wpa_s->mesh_rsn->mgmt_group_cipher; in wpas_mesh_complete()
Dwpa_supplicant_i.h821 struct mesh_rsn *mesh_rsn; member
Dmesh_mpm.c353 mesh_rsn_get_pmkid(wpa_s->mesh_rsn, sta, in mesh_mpm_send_plink_action()
407 if (ampe && mesh_rsn_protect_frame(wpa_s->mesh_rsn, sta, cat, buf)) { in mesh_mpm_send_plink_action()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dmesh_rsn.c81 struct mesh_rsn *mesh_rsn = ctx; in auth_get_psk() local
82 struct hostapd_data *hapd = mesh_rsn->wpa_s->ifmsh->bss[0]; in auth_get_psk()
106 struct mesh_rsn *mesh_rsn = ctx; in auth_set_key() local
121 return wpa_drv_set_key(mesh_rsn->wpa_s, alg, addr, idx, in auth_set_key()
128 struct mesh_rsn *mesh_rsn = ctx; in auth_start_ampe() local
132 if (mesh_rsn->wpa_s->current_ssid->mode != WPAS_MODE_MESH) in auth_start_ampe()
135 hapd = mesh_rsn->wpa_s->ifmsh->bss[0]; in auth_start_ampe()
138 eloop_cancel_timeout(mesh_auth_timer, mesh_rsn->wpa_s, sta); in auth_start_ampe()
140 mesh_mpm_auth_peer(mesh_rsn->wpa_s, addr); in auth_start_ampe()
145 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr, in __mesh_rsn_auth_init()
[all …]
Dmesh_rsn.h12 struct mesh_rsn { struct
30 struct mesh_rsn * mesh_rsn_auth_init(struct wpa_supplicant *wpa_s, argument
34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
Dmesh.c44 os_free(wpa_s->mesh_rsn); in wpa_supplicant_mesh_deinit()
45 wpa_s->mesh_rsn = NULL; in wpa_supplicant_mesh_deinit()
204 wpa_s->mesh_rsn = mesh_rsn_auth_init(wpa_s, ifmsh->mconf); in wpas_mesh_init_rsn()
205 return !wpa_s->mesh_rsn ? -1 : 0; in wpas_mesh_init_rsn()
276 wpa_s->pairwise_cipher = wpa_s->mesh_rsn->pairwise_cipher; in wpas_mesh_complete()
277 wpa_s->group_cipher = wpa_s->mesh_rsn->group_cipher; in wpas_mesh_complete()
278 wpa_s->mgmt_group_cipher = wpa_s->mesh_rsn->mgmt_group_cipher; in wpas_mesh_complete()
Dmesh_mpm.c355 mesh_rsn_get_pmkid(wpa_s->mesh_rsn, sta, in mesh_mpm_send_plink_action()
410 if (ampe && mesh_rsn_protect_frame(wpa_s->mesh_rsn, sta, cat, buf)) { in mesh_mpm_send_plink_action()
Dwpa_supplicant_i.h1054 struct mesh_rsn *mesh_rsn; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/
DCMakeLists.txt905 wpa_supplicant/mesh_rsn.c
906 wpa_supplicant/mesh_rsn.h