Home
last modified time | relevance | path

Searched refs:config_methods (Results 1 – 25 of 51) sorted by relevance

123

/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Diface_config_utils.cpp45 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()
Diface_config_utils.h48 struct wpa_supplicant* wpa_s, uint16_t config_methods);
Dhidl.h85 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
Dsta_iface.h148 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/
Dpeers.cpp186 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/
Dp2p_pd.c27 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 …]
Dp2p_build.c210 } 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()
Dp2p.h262 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,
Dp2p_parse.c147 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()
Dp2p.c453 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/
Dwps_validate.c128 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 …]
Dwps.h98 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
Dwps_enrollee.c107 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()
Dwps_upnp_ap.c53 s->config_methods = attr.sel_reg_config_methods ? in upnp_er_set_selected_registrar()
Dwps_er.h18 u16 config_methods; member
Dwps.c512 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()
Dwps_attr_parse.h26 const u8 *config_methods; /* 2 octets */ member
Dwps_registrar.c159 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 …]
Dwps_upnp_i.h100 u16 config_methods; member
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c765 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 …]
Dp2p_supplicant_sd.c646 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()
Dnotify.c717 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/
Ddbus_new_handlers_wps.c417 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()
Ddbus_new.h188 u16 config_methods,
391 u16 config_methods, in wpas_dbus_signal_p2p_provision_discovery() argument
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c252 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()

123