Home
last modified time | relevance | path

Searched refs:pw_id (Results 1 – 16 of 16) sorted by relevance

/external/wpa_supplicant_8/src/common/
Dsae.c121 os_free(tmp->pw_id); in sae_clear_temp_data()
1282 if (sae->tmp->pw_id) { in sae_parse_password_identifier()
1285 sae->tmp->pw_id); in sae_parse_password_identifier()
1288 os_free(sae->tmp->pw_id); in sae_parse_password_identifier()
1289 sae->tmp->pw_id = NULL; in sae_parse_password_identifier()
1293 if (sae->tmp->pw_id && in sae_parse_password_identifier()
1294 (pos[1] - 1 != (int) os_strlen(sae->tmp->pw_id) || in sae_parse_password_identifier()
1295 os_memcmp(sae->tmp->pw_id, pos + 3, pos[1] - 1) != 0)) { in sae_parse_password_identifier()
1298 sae->tmp->pw_id); in sae_parse_password_identifier()
1302 os_free(sae->tmp->pw_id); in sae_parse_password_identifier()
[all …]
Dsae.h42 char *pw_id; member
/external/wpa_supplicant_8/src/wps/
Dwps_registrar.c35 u16 pw_id; member
49 static void wps_free_nfc_pw_tokens(struct dl_list *tokens, u16 pw_id) in wps_free_nfc_pw_tokens() argument
54 if (pw_id == 0 || pw_id == token->pw_id) in wps_free_nfc_pw_tokens()
61 u16 pw_id) in wps_get_nfc_pw_token() argument
65 if (pw_id == token->pw_id) in wps_get_nfc_pw_token()
1419 if (wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) in wps_get_dev_password()
1928 wps->nfc_pw_token->pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { in wps_build_m2()
2253 static int wps_process_dev_password_id(struct wps_data *wps, const u8 *pw_id) in wps_process_dev_password_id() argument
2255 if (pw_id == NULL) { in wps_process_dev_password_id()
2260 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id()
[all …]
Dwps.c494 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, in wps_build_probe_req_ie() argument
516 wps_build_dev_password_id(ie, pw_id) || in wps_build_probe_req_ie()
Dwps.h245 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev,
865 const u8 *pubkey_hash, u16 pw_id,
/external/tcpdump/
Dprint-lspping.c353 uint8_t pw_id [4]; member
372 uint8_t pw_id [4]; member
829 … EXTRACT_32BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_l2vpn_vcid_old->pw_id), in lspping_print()
849 … EXTRACT_32BITS(subtlv_ptr.lspping_tlv_targetfec_subtlv_l2vpn_vcid->pw_id), in lspping_print()
/external/wpa_supplicant_8/src/p2p/
Dp2p_go_neg.c144 u16 pw_id; in p2p_build_go_neg_req() local
192 pw_id = p2p_wps_method_pw_id(peer->wps_method); in p2p_build_go_neg_req()
194 pw_id = peer->oob_pw_id; in p2p_build_go_neg_req()
195 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_req()
280 u16 pw_id; in p2p_build_go_neg_resp() local
351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY); in p2p_build_go_neg_resp()
353 pw_id = peer->oob_pw_id; in p2p_build_go_neg_resp()
354 if (p2p_build_wps_ie(p2p, buf, pw_id, 0) < 0) { in p2p_build_go_neg_resp()
Dp2p_build.c736 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, in p2p_build_wps_ie() argument
759 if (pw_id >= 0) { in p2p_build_wps_ie()
766 pw_id); in p2p_build_wps_ie()
767 wpabuf_put_be16(buf, pw_id); in p2p_build_wps_ie()
Dp2p_i.h807 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
Dp2p.h631 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id);
Dp2p.c1004 u16 pw_id = DEV_PW_DEFAULT; in p2p_search() local
1032 p2p->find_dev_id, pw_id); in p2p_search()
2215 int pw_id = -1; in p2p_build_probe_resp_ies() local
2235 pw_id = p2p_wps_method_pw_id(p2p->go_neg_peer->wps_method); in p2p_build_probe_resp_ies()
2238 if (p2p_build_wps_ie(p2p, buf, pw_id, 1) < 0) { in p2p_build_probe_resp_ies()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_rsn.c340 if (sta->sae->tmp && !sta->sae->tmp->pw_id && ssid->sae_password_id) { in mesh_rsn_build_sae_commit()
341 sta->sae->tmp->pw_id = os_strdup(ssid->sae_password_id); in mesh_rsn_build_sae_commit()
342 if (!sta->sae->tmp->pw_id) in mesh_rsn_build_sae_commit()
Dap.h75 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id,
Dap.c1448 int wpas_ap_wps_add_nfc_pw(struct wpa_supplicant *wpa_s, u16 pw_id, in wpas_ap_wps_add_nfc_pw() argument
1485 pw_id, in wpas_ap_wps_add_nfc_pw()
Dp2p_supplicant.c353 const u8 *req_dev_types, const u8 *dev_id, u16 pw_id) in wpas_p2p_scan() argument
386 wps_ie = wps_build_probe_req_ie(pw_id, &wpa_s->wps->dev, in wpas_p2p_scan()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c398 rx_id = sta->sae->tmp->pw_id; in auth_build_sae_commit()
470 if (!data && sta->sae->tmp && sta->sae->tmp->pw_id) in auth_sae_send_commit()