Home
last modified time | relevance | path

Searched refs:dev_password_id (Results 1 – 17 of 17) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ap.c51 s->dev_password_id = attr.dev_password_id ? in upnp_er_set_selected_registrar()
52 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT; in upnp_er_set_selected_registrar()
Dwps.c246 !attr.dev_password_id || in wps_is_selected_pbc_registrar()
247 WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_is_selected_pbc_registrar()
274 if (attr->dev_password_id != NULL && in is_selected_pin_registrar()
275 WPA_GET_BE16(attr->dev_password_id) == DEV_PW_PUSHBUTTON) in is_selected_pin_registrar()
584 if (attr.dev_password_id) { in wps_attr_text()
587 WPA_GET_BE16(attr.dev_password_id)); in wps_attr_text()
Dwps_validate.c281 static int wps_validate_dev_password_id(const u8 *dev_password_id, in wps_validate_dev_password_id() argument
286 if (dev_password_id == NULL) { in wps_validate_dev_password_id()
294 val = WPA_GET_BE16(dev_password_id); in wps_validate_dev_password_id()
1105 wps_validate_dev_password_id(attr.dev_password_id, sel_reg) || in wps_validate_beacon()
1145 wps_validate_dev_password_id(attr.dev_password_id, sel_reg) || in wps_validate_beacon_probe_resp()
1206 wps_validate_dev_password_id(attr.dev_password_id, 1) || in wps_validate_probe_req()
1323 wps_validate_dev_password_id(attr.dev_password_id, 1) || in wps_validate_m1()
1379 wps_validate_dev_password_id(attr.dev_password_id, 1) || in wps_validate_m2()
1959 wps_validate_dev_password_id(attr.dev_password_id, sel_reg) || in wps_validate_upnp_set_selected_registrar()
Dwps_attr_parse.h32 const u8 *dev_password_id; /* 2 octets */ member
Dwps_upnp_i.h99 u16 dev_password_id; member
Dwps.h336 u16 dev_password_id, u8 request_type,
502 u16 dev_password_id; member
Dwps_enrollee.c962 wps_process_dev_pw_id(wps, attr->dev_password_id)) { in wps_process_m2()
1071 if (attr->dev_password_id) in wps_process_m2d()
1072 m2d->dev_password_id = in wps_process_m2d()
1073 WPA_GET_BE16(attr->dev_password_id); in wps_process_m2d()
Dwps_registrar.c160 u16 dev_password_id, u8 request_type,
1117 if (attr.dev_password_id == NULL) { in wps_registrar_probe_req_rx()
1136 WPA_GET_BE16(attr.dev_password_id), in wps_registrar_probe_req_rx()
1141 if (WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_registrar_probe_req_rx()
2604 wps_process_dev_password_id(wps, attr->dev_password_id) || in wps_process_m1()
3421 s->dev_password_id, s->config_methods); in wps_registrar_sel_reg_add()
3424 reg->sel_reg_dev_password_id_override = s->dev_password_id; in wps_registrar_sel_reg_add()
Dwps_attr_parse.c271 attr->dev_password_id = pos; in wps_set_attr()
Dwps_er.c794 if (attr->dev_password_id && (!probe_req || !sta->m1_received)) in wps_er_add_sta_data()
795 sta->dev_passwd_id = WPA_GET_BE16(attr->dev_password_id); in wps_er_add_sta_data()
/external/wpa_supplicant_8/src/p2p/
Dp2p_go_neg.c854 msg.dev_password_id))) { in p2p_process_go_neg_req()
859 msg.dev_password_id, in p2p_process_go_neg_req()
922 switch (msg.dev_password_id) { in p2p_process_go_neg_req()
961 if (msg.dev_password_id && in p2p_process_go_neg_req()
962 msg.dev_password_id == dev->oob_pw_id) { in p2p_process_go_neg_req()
975 msg.dev_password_id == in p2p_process_go_neg_req()
984 msg.dev_password_id); in p2p_process_go_neg_req()
1302 switch (msg.dev_password_id) { in p2p_process_go_neg_resp()
1340 if (msg.dev_password_id && in p2p_process_go_neg_resp()
1341 msg.dev_password_id == dev->oob_pw_id) { in p2p_process_go_neg_resp()
[all …]
Dp2p_parse.c473 if (attr.dev_password_id) { in p2p_parse_wps_ie()
474 msg->dev_password_id = WPA_GET_BE16(attr.dev_password_id); in p2p_parse_wps_ie()
476 msg->dev_password_id); in p2p_parse_wps_ie()
Dp2p_invitation.c261 msg.dev_password_id_present ? msg.dev_password_id : -1); in p2p_process_invitation_req()
Dp2p_i.h616 u16 dev_password_id; member
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c253 u16 dev_password_id, u8 request_type, in hostapd_wps_enrollee_seen_cb() argument
268 config_methods, dev_password_id, request_type, dev_name); in hostapd_wps_enrollee_seen_cb()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c583 m2d->dev_password_id, m2d->config_error); in wpa_supplicant_wps_event_m2d()
589 m2d->dev_password_id, m2d->config_error); in wpa_supplicant_wps_event_m2d()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c705 m2d->dev_password_id) || in wpas_dbus_signal_wps_event_m2d()