Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.h343 u16 dev_password_id, u8 request_type,
540 u16 dev_password_id; member
Dwps_enrollee.c966 wps_process_dev_pw_id(wps, attr->dev_password_id)) { in wps_process_m2()
1075 if (attr->dev_password_id) in wps_process_m2d()
1076 m2d->dev_password_id = in wps_process_m2d()
1077 WPA_GET_BE16(attr->dev_password_id); in wps_process_m2d()
Dwps_registrar.c160 u16 dev_password_id, u8 request_type,
1166 if (attr.dev_password_id == NULL) { in wps_registrar_probe_req_rx()
1185 WPA_GET_BE16(attr.dev_password_id), in wps_registrar_probe_req_rx()
1190 if (WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_registrar_probe_req_rx()
2677 wps_process_dev_password_id(wps, attr->dev_password_id) || in wps_process_m1()
3495 s->dev_password_id, s->config_methods); in wps_registrar_sel_reg_add()
3498 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
2668 wps_process_dev_password_id(wps, attr->dev_password_id) || in wps_process_m1()
3487 s->dev_password_id, s->config_methods); in wps_registrar_sel_reg_add()
3490 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_go_neg.c856 msg.dev_password_id))) { in p2p_process_go_neg_req()
861 msg.dev_password_id, in p2p_process_go_neg_req()
924 switch (msg.dev_password_id) { in p2p_process_go_neg_req()
963 if (msg.dev_password_id && in p2p_process_go_neg_req()
964 msg.dev_password_id == dev->oob_pw_id) { in p2p_process_go_neg_req()
977 msg.dev_password_id == in p2p_process_go_neg_req()
986 msg.dev_password_id); in p2p_process_go_neg_req()
1304 switch (msg.dev_password_id) { in p2p_process_go_neg_resp()
1342 if (msg.dev_password_id && in p2p_process_go_neg_resp()
1343 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h607 u16 dev_password_id; member

12