/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
D | peers.cpp | 186 int config_methods = -1; in context_menu() local 189 config_methods = var.toInt(); in context_menu() 201 (config_methods == -1 || (config_methods & 0x010c))) { in context_menu() 210 config_methods > -1 && in context_menu() 211 config_methods & 0x0080 /* PBC */ && in context_menu() 212 config_methods != 0x0080) in context_menu() 222 if (config_methods > -1 && (config_methods & 0x0100)) { in context_menu() 228 if (config_methods > -1 && (config_methods & 0x000c)) { in context_menu() 268 config_methods >= 0 && (config_methods & 0x0080)) { in context_menu() 524 int config_methods = 0; in add_p2p_group_client() local [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
D | peers.cpp | 186 int config_methods = -1; in context_menu() local 189 config_methods = var.toInt(); in context_menu() 201 (config_methods == -1 || (config_methods & 0x010c))) { in context_menu() 210 config_methods > -1 && in context_menu() 211 config_methods & 0x0080 /* PBC */ && in context_menu() 212 config_methods != 0x0080) in context_menu() 222 if (config_methods > -1 && (config_methods & 0x0100)) { in context_menu() 228 if (config_methods > -1 && (config_methods & 0x000c)) { in context_menu() 268 config_methods >= 0 && (config_methods & 0x0080)) { in context_menu() 522 int config_methods = 0; in add_p2p_group_client() local [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
D | p2p_pd.c | 27 u16 config_methods) in p2p_build_wps_ie_config_methods() argument 37 wpabuf_put_be16(buf, config_methods); in p2p_build_wps_ie_config_methods() 96 struct wpabuf *buf, u16 config_methods) in p2ps_add_pd_req_attrs() argument 116 prov->method = config_methods; in p2ps_add_pd_req_attrs() 186 u16 config_methods = dev->req_config_methods; in p2p_build_prov_disc_req() local 224 p2ps_add_pd_req_attrs(p2p, dev, buf, config_methods); in p2p_build_prov_disc_req() 232 p2p_build_wps_ie_config_methods(buf, config_methods); in p2p_build_prov_disc_req() 250 u16 config_methods, in p2p_build_prov_disc_resp() argument 391 p2p_build_wps_ie_config_methods(buf, config_methods); in p2p_build_prov_disc_resp() 571 u16 config_methods; in p2p_process_prov_disc_req() local [all …]
|
D | p2p_build.c | 210 } else if (p2p->cfg->config_methods) { in p2p_buf_add_device_info() 211 methods |= p2p->cfg->config_methods & in p2p_buf_add_device_info() 477 u32 adv_id, u16 config_methods, in p2p_buf_add_service_info() argument 487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info() 532 WPA_PUT_BE16(&holder[sizeof(u32)], config_methods); in p2p_buf_add_service_info() 546 wpabuf_put_be16(buf, config_methods); in p2p_buf_add_service_info() 548 remaining -= sizeof(adv_id) + sizeof(config_methods) + in p2p_buf_add_service_info() 648 adv->config_methods, in p2p_buf_add_service_instance() 802 wpabuf_put_be16(buf, p2p->cfg->config_methods); in p2p_build_wps_ie()
|
D | p2p.h | 269 u16 config_methods; member 368 u16 config_methods; member 544 u16 config_methods; member 871 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods, 888 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods); 1196 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods); 1384 struct p2ps_provision *p2ps_prov, u16 config_methods, 2384 u16 config_methods, const char *svc_info,
|
D | p2p_parse.c | 147 msg->config_methods = WPA_GET_BE16(pos); in p2p_parse_attribute() 184 msg->device_name, msg->config_methods); in p2p_parse_attribute() 467 if (attr.config_methods) { in p2p_parse_wps_ie() 469 WPA_GET_BE16(attr.config_methods); in p2p_parse_wps_ie() 667 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse() 736 cli->dev_capab, cli->config_methods, in p2p_group_info_text() 831 msg.config_methods); in p2p_attr_text()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
D | p2p_pd.c | 27 u16 config_methods) in p2p_build_wps_ie_config_methods() argument 37 wpabuf_put_be16(buf, config_methods); in p2p_build_wps_ie_config_methods() 96 struct wpabuf *buf, u16 config_methods) in p2ps_add_pd_req_attrs() argument 116 prov->method = config_methods; in p2ps_add_pd_req_attrs() 186 u16 config_methods = dev->req_config_methods; in p2p_build_prov_disc_req() local 224 p2ps_add_pd_req_attrs(p2p, dev, buf, config_methods); in p2p_build_prov_disc_req() 232 p2p_build_wps_ie_config_methods(buf, config_methods); in p2p_build_prov_disc_req() 250 u16 config_methods, in p2p_build_prov_disc_resp() argument 391 p2p_build_wps_ie_config_methods(buf, config_methods); in p2p_build_prov_disc_resp() 571 u16 config_methods; in p2p_process_prov_disc_req() local [all …]
|
D | p2p_build.c | 210 } else if (p2p->cfg->config_methods) { in p2p_buf_add_device_info() 211 methods |= p2p->cfg->config_methods & in p2p_buf_add_device_info() 477 u32 adv_id, u16 config_methods, in p2p_buf_add_service_info() argument 487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info() 532 WPA_PUT_BE16(&holder[sizeof(u32)], config_methods); in p2p_buf_add_service_info() 546 wpabuf_put_be16(buf, config_methods); in p2p_buf_add_service_info() 548 remaining -= sizeof(adv_id) + sizeof(config_methods) + in p2p_buf_add_service_info() 648 adv->config_methods, in p2p_buf_add_service_instance() 802 wpabuf_put_be16(buf, p2p->cfg->config_methods); in p2p_build_wps_ie()
|
D | p2p.h | 267 u16 config_methods; member 366 u16 config_methods; member 537 u16 config_methods; member 862 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods, 879 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods); 1187 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods); 1373 struct p2ps_provision *p2ps_prov, u16 config_methods, 2370 u16 config_methods, const char *svc_info,
|
D | p2p_parse.c | 147 msg->config_methods = WPA_GET_BE16(pos); in p2p_parse_attribute() 184 msg->device_name, msg->config_methods); in p2p_parse_attribute() 467 if (attr.config_methods) { in p2p_parse_wps_ie() 469 WPA_GET_BE16(attr.config_methods); in p2p_parse_wps_ie() 667 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse() 736 cli->dev_capab, cli->config_methods, in p2p_group_info_text() 831 msg.config_methods); in p2p_attr_text()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_validate.c | 128 static int wps_validate_config_methods(const u8 *config_methods, int wps2, in wps_validate_config_methods() argument 133 if (config_methods == NULL) { in wps_validate_config_methods() 142 val = WPA_GET_BE16(config_methods); in wps_validate_config_methods() 152 static int wps_validate_ap_config_methods(const u8 *config_methods, int wps2, in wps_validate_ap_config_methods() argument 157 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods() 159 if (config_methods == NULL) in wps_validate_ap_config_methods() 161 val = WPA_GET_BE16(config_methods); in wps_validate_ap_config_methods() 500 static int wps_validate_sel_reg_config_methods(const u8 *config_methods, in wps_validate_sel_reg_config_methods() argument 505 if (config_methods == NULL) { in wps_validate_sel_reg_config_methods() 514 val = WPA_GET_BE16(config_methods); in wps_validate_sel_reg_config_methods() [all …]
|
D | wps.h | 98 u16 config_methods; member 342 const u8 *pri_dev_type, u16 config_methods, 527 u16 config_methods; member 584 u16 config_methods; member 697 u16 config_methods; member
|
D | wps_enrollee.c | 107 u16 config_methods; in wps_build_m1() local 120 config_methods = wps->wps->config_methods; in wps_build_m1() 123 (config_methods & WPS_CONFIG_DISPLAY))) { in wps_build_m1() 133 config_methods &= ~WPS_CONFIG_PUSHBUTTON; in wps_build_m1() 134 config_methods &= ~(WPS_CONFIG_VIRT_PUSHBUTTON | in wps_build_m1() 150 wps_build_config_methods(msg, config_methods) || in wps_build_m1() 1058 if (attr->config_methods) in wps_process_m2d() 1059 m2d->config_methods = in wps_process_m2d() 1060 WPA_GET_BE16(attr->config_methods); in wps_process_m2d()
|
D | wps_upnp_ap.c | 53 s->config_methods = attr.sel_reg_config_methods ? in upnp_er_set_selected_registrar()
|
D | wps.c | 510 wps_build_config_methods(ie, dev->config_methods) || in wps_build_probe_req_ie() 637 if (attr.config_methods) { in wps_attr_text() 640 WPA_GET_BE16(attr.config_methods)); in wps_attr_text()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_validate.c | 128 static int wps_validate_config_methods(const u8 *config_methods, int wps2, in wps_validate_config_methods() argument 133 if (config_methods == NULL) { in wps_validate_config_methods() 142 val = WPA_GET_BE16(config_methods); in wps_validate_config_methods() 152 static int wps_validate_ap_config_methods(const u8 *config_methods, int wps2, in wps_validate_ap_config_methods() argument 157 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods() 159 if (config_methods == NULL) in wps_validate_ap_config_methods() 161 val = WPA_GET_BE16(config_methods); in wps_validate_ap_config_methods() 500 static int wps_validate_sel_reg_config_methods(const u8 *config_methods, in wps_validate_sel_reg_config_methods() argument 505 if (config_methods == NULL) { in wps_validate_sel_reg_config_methods() 514 val = WPA_GET_BE16(config_methods); in wps_validate_sel_reg_config_methods() [all …]
|
D | wps.h | 98 u16 config_methods; member 343 const u8 *pri_dev_type, u16 config_methods, 531 u16 config_methods; member 588 u16 config_methods; member 701 u16 config_methods; member
|
D | wps_enrollee.c | 107 u16 config_methods; in wps_build_m1() local 120 config_methods = wps->wps->config_methods; in wps_build_m1() 123 (config_methods & WPS_CONFIG_DISPLAY))) { in wps_build_m1() 133 config_methods &= ~WPS_CONFIG_PUSHBUTTON; in wps_build_m1() 134 config_methods &= ~(WPS_CONFIG_VIRT_PUSHBUTTON | in wps_build_m1() 150 wps_build_config_methods(msg, config_methods) || in wps_build_m1() 1069 if (attr->config_methods) in wps_process_m2d() 1070 m2d->config_methods = in wps_process_m2d() 1071 WPA_GET_BE16(attr->config_methods); in wps_process_m2d()
|
D | wps_upnp_ap.c | 53 s->config_methods = attr.sel_reg_config_methods ? in upnp_er_set_selected_registrar()
|
D | wps.c | 510 wps_build_config_methods(ie, dev->config_methods) || in wps_build_probe_req_ie() 637 if (attr.config_methods) { in wps_attr_text() 640 WPA_GET_BE16(attr.config_methods)); in wps_attr_text()
|
D | wps_er.h | 18 u16 config_methods; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wps_supplicant.c | 785 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add() 1471 static u16 wps_fix_config_methods(u16 config_methods) in wps_fix_config_methods() argument 1473 if ((config_methods & in wps_fix_config_methods() 1478 config_methods |= WPS_CONFIG_VIRT_DISPLAY; in wps_fix_config_methods() 1480 if ((config_methods & in wps_fix_config_methods() 1485 config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in wps_fix_config_methods() 1488 return config_methods; in wps_fix_config_methods() 1564 wps->config_methods = in wpas_wps_init() 1565 wps_config_methods_str2bin(wpa_s->conf->config_methods); in wpas_wps_init() 1566 if ((wps->config_methods & (WPS_CONFIG_DISPLAY | WPS_CONFIG_LABEL)) == in wpas_wps_init() [all …]
|
D | p2p_supplicant_sd.c | 646 wpabuf_put_be16(resp, adv_data->config_methods); in wpas_sd_req_asp() 821 u16 config_methods; in wpas_sd_p2ps_serv_response() local 841 config_methods = WPA_GET_BE16(pos); in wpas_sd_p2ps_serv_response() 875 svc_status, config_methods, svc_str, in wpas_sd_p2ps_serv_response() 882 svc_status, config_methods, svc_str); in wpas_sd_p2ps_serv_response() 1188 u16 config_methods, const char *svc_info, in wpas_p2p_service_add_asp() argument 1194 adv_str, svc_state, config_methods, in wpas_p2p_service_add_asp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | wps_supplicant.c | 793 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add() 1494 static u16 wps_fix_config_methods(u16 config_methods) in wps_fix_config_methods() argument 1496 if ((config_methods & in wps_fix_config_methods() 1501 config_methods |= WPS_CONFIG_VIRT_DISPLAY; in wps_fix_config_methods() 1503 if ((config_methods & in wps_fix_config_methods() 1508 config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in wps_fix_config_methods() 1511 return config_methods; in wps_fix_config_methods() 1587 wps->config_methods = in wpas_wps_init() 1588 wps_config_methods_str2bin(wpa_s->conf->config_methods); in wpas_wps_init() 1589 if ((wps->config_methods & (WPS_CONFIG_DISPLAY | WPS_CONFIG_LABEL)) == in wpas_wps_init() [all …]
|
D | p2p_supplicant_sd.c | 646 wpabuf_put_be16(resp, adv_data->config_methods); in wpas_sd_req_asp() 821 u16 config_methods; in wpas_sd_p2ps_serv_response() local 841 config_methods = WPA_GET_BE16(pos); in wpas_sd_p2ps_serv_response() 875 svc_status, config_methods, svc_str, in wpas_sd_p2ps_serv_response() 882 svc_status, config_methods, svc_str); in wpas_sd_p2ps_serv_response() 1188 u16 config_methods, const char *svc_info, in wpas_p2p_service_add_asp() argument 1194 adv_str, svc_state, config_methods, in wpas_p2p_service_add_asp()
|