/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_build.c | 28 if (wps->dev_pw_id != DEV_PW_DEFAULT && wps->wps->dh_privkey && in wps_build_public_key() 41 } else if ((wps->dev_pw_id >= 0x10 || in wps_build_public_key() 42 wps->dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) && in wps_build_public_key() 47 wps->dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER)) && in wps_build_public_key() 48 (wps->dev_pw_id == wps->wps->ap_nfc_dev_pw_id || in wps_build_public_key() 404 int wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, in wps_build_oob_dev_pw() argument 413 dev_pw_id); in wps_build_oob_dev_pw() 431 wpabuf_put_be16(msg, dev_pw_id); in wps_build_oob_dev_pw()
|
D | wps.c | 53 data->dev_pw_id = cfg->dev_pw_id; in wps_init() 67 cfg->dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) in wps_init() 68 data->dev_pw_id = cfg->dev_pw_id; in wps_init() 72 data->alt_dev_pw_id = data->dev_pw_id; in wps_init() 76 data->dev_pw_id = cfg->wps->ap_nfc_dev_pw_id; in wps_init() 95 data->dev_pw_id = DEV_PW_PUSHBUTTON; in wps_init()
|
D | wps_i.h | 72 u16 dev_pw_id; member 174 int wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, 209 u16 dev_pw_id);
|
D | wps_registrar.c | 1379 } else if (wps->dev_pw_id >= 0x10 && in wps_get_dev_password() 1380 wps->wps->ap_nfc_dev_pw_id == wps->dev_pw_id && in wps_get_dev_password() 1389 if (pin && wps->dev_pw_id >= 0x10) { in wps_get_dev_password() 1395 wps->dev_pw_id = DEV_PW_DEFAULT; in wps_get_dev_password() 1845 wps_build_dev_password_id(msg, wps->dev_pw_id) || in wps_build_m2() 2185 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id() 2186 wpa_printf(MSG_DEBUG, "WPS: Device Password ID %d", wps->dev_pw_id); in wps_process_dev_password_id() 2607 if (wps->dev_pw_id < 0x10 && in wps_process_m1() 2608 wps->dev_pw_id != DEV_PW_DEFAULT && in wps_process_m1() 2609 wps->dev_pw_id != DEV_PW_P2PS_DEFAULT && in wps_process_m1() [all …]
|
D | wps_enrollee.c | 152 wps_build_dev_password_id(msg, wps->dev_pw_id) || in wps_build_m1() 888 static int wps_process_dev_pw_id(struct wps_data *wps, const u8 *dev_pw_id) in wps_process_dev_pw_id() argument 892 if (dev_pw_id == NULL) { in wps_process_dev_pw_id() 897 id = WPA_GET_BE16(dev_pw_id); in wps_process_dev_pw_id() 898 if (wps->dev_pw_id == id) { in wps_process_dev_pw_id() 905 wps->dev_pw_id == DEV_PW_REGISTRAR_SPECIFIED) || in wps_process_dev_pw_id() 907 wps->dev_pw_id == DEV_PW_DEFAULT)) { in wps_process_dev_pw_id() 922 "ID from %u to %u", wps->dev_pw_id, id); in wps_process_dev_pw_id() 924 if (wps->dev_pw_id == DEV_PW_PUSHBUTTON && id == DEV_PW_DEFAULT) { in wps_process_dev_pw_id() 933 wps->dev_pw_id = wps->alt_dev_pw_id; in wps_process_dev_pw_id()
|
D | wps.h | 166 u16 dev_pw_id; member 878 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id,
|
D | wps_common.c | 409 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id, in wps_build_nfc_pw_token() argument 419 if (wps_build_oob_dev_pw(data, dev_pw_id, pubkey, in wps_build_nfc_pw_token()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_invitation.c | 21 int dev_pw_id) in p2p_build_invitation_req() argument 99 if (dev_pw_id >= 0) { in p2p_build_invitation_req() 101 p2p_build_wps_ie(p2p, buf, dev_pw_id, 0); in p2p_build_invitation_req() 566 const u8 *go_dev_addr, int dev_pw_id) in p2p_invite_send() argument 581 req = p2p_build_invitation_req(p2p, dev, go_dev_addr, dev_pw_id); in p2p_invite_send() 651 int persistent_group, unsigned int pref_freq, int dev_pw_id) in p2p_invite() argument 669 if (dev_pw_id >= 0) { in p2p_invite() 671 dev_pw_id); in p2p_invite() 673 p2p->invite_dev_pw_id = dev_pw_id; in p2p_invite() 718 return p2p_invite_send(p2p, dev, go_dev_addr, dev_pw_id); in p2p_invite()
|
D | p2p.h | 933 int dev_pw_id); 1447 int persistent_group, unsigned int pref_freq, int dev_pw_id); 2328 void p2p_set_authorized_oob_dev_pw_id(struct p2p_data *p2p, u16 dev_pw_id,
|
D | p2p_i.h | 839 const u8 *go_dev_addr, int dev_pw_id);
|
D | p2p.c | 5430 void p2p_set_authorized_oob_dev_pw_id(struct p2p_data *p2p, u16 dev_pw_id, in p2p_set_authorized_oob_dev_pw_id() argument 5435 p2p->authorized_oob_dev_pw_id = dev_pw_id; in p2p_set_authorized_oob_dev_pw_id() 5436 if (dev_pw_id == 0) { in p2p_set_authorized_oob_dev_pw_id() 5442 dev_pw_id); in p2p_set_authorized_oob_dev_pw_id()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 1174 const char *pin, int p2p_group, u16 dev_pw_id, in wpas_wps_start_dev_pw() argument 1234 pin, dev_pw_id, hash); in wpas_wps_start_dev_pw() 1235 else if (pin == NULL && dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { in wpas_wps_start_dev_pw() 1237 dev_pw_id, hash); in wpas_wps_start_dev_pw() 1244 rpin, dev_pw_id, hash); in wpas_wps_start_dev_pw() 1261 const char *pin, int p2p_group, u16 dev_pw_id) in wpas_wps_start_pin() argument 1265 dev_pw_id, NULL, NULL, 0, 0); in wpas_wps_start_pin() 2270 const struct wpabuf *dev_pw, u16 dev_pw_id, in wpas_wps_start_nfc() argument 2277 if (dev_pw_id != DEV_PW_NFC_CONNECTION_HANDOVER && dev_pw == NULL) { in wpas_wps_start_nfc() 2279 dev_pw_id = wpa_s->conf->wps_nfc_dev_pw_id; in wpas_wps_start_nfc() [all …]
|
D | wps_supplicant.h | 35 const char *pin, int p2p_group, u16 dev_pw_id); 70 const struct wpabuf *dev_pw, u16 dev_pw_id,
|
D | p2p_supplicant.c | 1655 u16 dev_pw_id = DEV_PW_DEFAULT; in wpas_start_wps_enrollee() local 1657 dev_pw_id = DEV_PW_P2PS_DEFAULT; in wpas_start_wps_enrollee() 1659 dev_pw_id = DEV_PW_REGISTRAR_SPECIFIED; in wpas_start_wps_enrollee() 1661 wpa_s->p2p_pin, 1, dev_pw_id); in wpas_start_wps_enrollee() 2853 int dev_pw_id) in wpas_invitation_process() argument 2875 if (dev_pw_id >= 0 && wpa_s->p2p_nfc_tag_enabled && in wpas_invitation_process() 2876 dev_pw_id == wpa_s->p2p_oob_dev_pw_id) { in wpas_invitation_process()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1879 u16 dev_pw_id; in hostapd_wps_nfc_report_handover() local 1941 dev_pw_id = WPA_GET_BE16(attr.oob_dev_password + in hostapd_wps_nfc_report_handover() 1943 if (dev_pw_id != DEV_PW_NFC_CONNECTION_HANDOVER) { in hostapd_wps_nfc_report_handover() 1945 "%u in Wi-Fi Handover Request Message", dev_pw_id); in hostapd_wps_nfc_report_handover()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_wsc.c | 217 cfg.dev_pw_id = id; in eap_wsc_init()
|