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.c248 !attr.dev_password_id || in wps_is_selected_pbc_registrar()
249 WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_is_selected_pbc_registrar()
276 if (attr->dev_password_id != NULL && in is_selected_pin_registrar()
277 WPA_GET_BE16(attr->dev_password_id) == DEV_PW_PUSHBUTTON) in is_selected_pin_registrar()
586 if (attr.dev_password_id) { in wps_attr_text()
589 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.h344 u16 dev_password_id, u8 request_type,
544 u16 dev_password_id; member
Dwps_enrollee.c977 wps_process_dev_pw_id(wps, attr->dev_password_id)) { in wps_process_m2()
1086 if (attr->dev_password_id) in wps_process_m2d()
1087 m2d->dev_password_id = in wps_process_m2d()
1088 WPA_GET_BE16(attr->dev_password_id); in wps_process_m2d()
Dwps_registrar.c161 u16 dev_password_id, u8 request_type,
1167 if (attr.dev_password_id == NULL) { in wps_registrar_probe_req_rx()
1186 WPA_GET_BE16(attr.dev_password_id), in wps_registrar_probe_req_rx()
1191 if (WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_registrar_probe_req_rx()
2678 wps_process_dev_password_id(wps, attr->dev_password_id) || in wps_process_m1()
3497 s->dev_password_id, s->config_methods); in wps_registrar_sel_reg_add()
3500 reg->sel_reg_dev_password_id_override = s->dev_password_id; in wps_registrar_sel_reg_add()
Dwps_attr_parse.c282 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.c865 msg.dev_password_id))) { in p2p_process_go_neg_req()
870 msg.dev_password_id, in p2p_process_go_neg_req()
933 switch (msg.dev_password_id) { in p2p_process_go_neg_req()
972 if (msg.dev_password_id && in p2p_process_go_neg_req()
973 msg.dev_password_id == dev->oob_pw_id) { in p2p_process_go_neg_req()
986 msg.dev_password_id == in p2p_process_go_neg_req()
995 msg.dev_password_id); in p2p_process_go_neg_req()
1313 switch (msg.dev_password_id) { in p2p_process_go_neg_resp()
1351 if (msg.dev_password_id && in p2p_process_go_neg_resp()
1352 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.h615 u16 dev_password_id; member
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c255 u16 dev_password_id, u8 request_type, in hostapd_wps_enrollee_seen_cb() argument
270 config_methods, dev_password_id, request_type, dev_name); in hostapd_wps_enrollee_seen_cb()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c606 m2d->dev_password_id, m2d->config_error); in wpa_supplicant_wps_event_m2d()
612 m2d->dev_password_id, m2d->config_error); in wpa_supplicant_wps_event_m2d()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c707 m2d->dev_password_id) || in wpas_dbus_signal_wps_event_m2d()