/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
D | iface_config_utils.cpp | 45 std::string convertWpsConfigMethodsMaskToString(uint16_t config_methods) in convertWpsConfigMethodsMaskToString() argument 68 if ((config_methods & flag) == flag) { in convertWpsConfigMethodsMaskToString() 155 struct wpa_supplicant* wpa_s, uint16_t config_methods) in setWpsConfigMethods() argument 159 wpa_s, convertWpsConfigMethodsMaskToString(config_methods), in setWpsConfigMethods() 161 &wpa_s->conf->config_methods)) { in setWpsConfigMethods()
|
D | iface_config_utils.h | 48 struct wpa_supplicant* wpa_s, uint16_t config_methods);
|
D | hidl.h | 85 enum p2p_prov_disc_status status, u16 config_methods, 198 enum p2p_prov_disc_status status, u16 config_methods, in wpas_hidl_notify_p2p_provision_discovery() argument
|
D | sta_iface.h | 148 uint16_t config_methods, setWpsConfigMethods_cb _hidl_cb) override; 222 SupplicantStatus setWpsConfigMethodsInternal(uint16_t config_methods);
|
/external/wpa_supplicant_8/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 …]
|
/external/wpa_supplicant_8/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 | 262 u16 config_methods; member 361 u16 config_methods; member 532 u16 config_methods; member 855 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods, 872 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods); 1180 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods); 1366 struct p2ps_provision *p2ps_prov, u16 config_methods, 2358 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()
|
D | p2p.c | 453 dev->info.config_methods = cli->config_methods; in p2p_copy_client_info() 615 new_config_methods = msg->config_methods ? in p2p_copy_wps_info() 616 msg->config_methods : msg->wps_config_methods; in p2p_copy_wps_info() 618 dev->info.config_methods != new_config_methods) { in p2p_copy_wps_info() 622 dev->info.config_methods, in p2p_copy_wps_info() 624 dev->info.config_methods = new_config_methods; in p2p_copy_wps_info() 878 if (dev->info.config_methods == 0 && in p2p_add_device() 2731 const char *adv_str, u8 svc_state, u16 config_methods, in p2p_service_add_asp() argument 2742 if (!(config_methods & p2p->cfg->config_methods)) { in p2p_service_add_asp() 2744 config_methods, p2p->cfg->config_methods); in p2p_service_add_asp() [all …]
|
/external/wpa_supplicant_8/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 335 const u8 *pri_dev_type, u16 config_methods, 489 u16 config_methods; member 546 u16 config_methods; member 659 u16 config_methods; member
|
D | wps_enrollee.c | 107 u16 config_methods; in wps_build_m1() local 119 config_methods = wps->wps->config_methods; in wps_build_m1() 122 (config_methods & WPS_CONFIG_DISPLAY))) { in wps_build_m1() 132 config_methods &= ~WPS_CONFIG_PUSHBUTTON; in wps_build_m1() 133 config_methods &= ~(WPS_CONFIG_VIRT_PUSHBUTTON | in wps_build_m1() 146 wps_build_config_methods(msg, config_methods) || in wps_build_m1() 1054 if (attr->config_methods) in wps_process_m2d() 1055 m2d->config_methods = in wps_process_m2d() 1056 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_er.h | 18 u16 config_methods; member
|
D | wps.c | 512 wps_build_config_methods(ie, dev->config_methods) || in wps_build_probe_req_ie() 639 if (attr.config_methods) { in wps_attr_text() 642 WPA_GET_BE16(attr.config_methods)); in wps_attr_text()
|
D | wps_attr_parse.h | 26 const u8 *config_methods; /* 2 octets */ member
|
D | wps_registrar.c | 159 const u8 *pri_dev_type, u16 config_methods, 567 methods = reg->wps->config_methods; in wps_build_sel_reg_config_methods() 572 wps_set_pushbutton(&methods, reg->wps->config_methods); in wps_build_sel_reg_config_methods() 592 methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON; in wps_build_probe_config_methods() 606 return wps_build_config_methods(msg, reg->wps->config_methods); in wps_build_config_methods_r() 1109 if (attr.config_methods == NULL) { in wps_registrar_probe_req_rx() 1133 WPA_GET_BE16(attr.config_methods), in wps_registrar_probe_req_rx() 1224 methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON; in wps_cb_set_sel_reg() 1228 wps_set_pushbutton(&methods, reg->wps->config_methods); in wps_cb_set_sel_reg() 1233 reg->selected_registrar, reg->wps->config_methods, in wps_cb_set_sel_reg() [all …]
|
D | wps_upnp_i.h | 100 u16 config_methods; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 765 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add() 1446 static u16 wps_fix_config_methods(u16 config_methods) in wps_fix_config_methods() argument 1448 if ((config_methods & in wps_fix_config_methods() 1453 config_methods |= WPS_CONFIG_VIRT_DISPLAY; in wps_fix_config_methods() 1455 if ((config_methods & in wps_fix_config_methods() 1460 config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in wps_fix_config_methods() 1463 return config_methods; in wps_fix_config_methods() 1536 wps->config_methods = in wpas_wps_init() 1537 wps_config_methods_str2bin(wpa_s->conf->config_methods); in wpas_wps_init() 1538 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()
|
D | notify.c | 717 u16 config_methods, in wpas_notify_p2p_provision_discovery() argument 721 status, config_methods, in wpas_notify_p2p_provision_discovery() 725 status, config_methods, in wpas_notify_p2p_provision_discovery()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers_wps.c | 417 wpa_s->conf->config_methods, in wpas_dbus_getter_config_methods() 447 os_free(wpa_s->conf->config_methods); in wpas_dbus_setter_config_methods() 448 wpa_s->conf->config_methods = new_methods; in wpas_dbus_setter_config_methods()
|
D | dbus_new.h | 188 u16 config_methods, 391 u16 config_methods, in wpas_dbus_signal_p2p_provision_discovery() argument
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 252 u16 config_methods, in hostapd_wps_enrollee_seen_cb() argument 268 config_methods, dev_password_id, request_type, dev_name); in hostapd_wps_enrollee_seen_cb() 1027 wps->config_methods = in hostapd_init_wps() 1028 wps_config_methods_str2bin(hapd->conf->config_methods); in hostapd_init_wps() 1029 if ((wps->config_methods & in hostapd_init_wps() 1034 wps->config_methods |= WPS_CONFIG_VIRT_DISPLAY; in hostapd_init_wps() 1036 if ((wps->config_methods & in hostapd_init_wps() 1041 wps->config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in hostapd_init_wps()
|