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.4/
Diface_config_utils.cpp48 std::string convertWpsConfigMethodsMaskToString(uint16_t config_methods) in convertWpsConfigMethodsMaskToString() argument
71 if ((config_methods & flag) == flag) { in convertWpsConfigMethodsMaskToString()
160 struct wpa_supplicant* wpa_s, uint16_t config_methods) in setWpsConfigMethods() argument
164 wpa_s, convertWpsConfigMethodsMaskToString(config_methods), in setWpsConfigMethods()
166 &wpa_s->conf->config_methods)) { in setWpsConfigMethods()
Diface_config_utils.h49 struct wpa_supplicant* wpa_s, uint16_t config_methods);
Dhidl.h93 enum p2p_prov_disc_status status, u16 config_methods,
223 enum p2p_prov_disc_status status, u16 config_methods, in wpas_hidl_notify_p2p_provision_discovery() argument
Dp2p_iface.h179 uint16_t config_methods, setWpsConfigMethods_cb _hidl_cb) override;
300 SupplicantStatus setWpsConfigMethodsInternal(uint16_t config_methods);
Dsta_iface.h171 uint16_t config_methods, setWpsConfigMethods_cb _hidl_cb) override;
289 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()
524 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.h269 u16 config_methods; member
368 u16 config_methods; member
544 u16 config_methods; member
869 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods,
886 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods);
1194 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods);
1380 struct p2ps_provision *p2ps_prov, u16 config_methods,
2380 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.c454 dev->info.config_methods = cli->config_methods; in p2p_copy_client_info()
620 new_config_methods = msg->config_methods ? in p2p_copy_wps_info()
621 msg->config_methods : msg->wps_config_methods; in p2p_copy_wps_info()
623 dev->info.config_methods != new_config_methods) { in p2p_copy_wps_info()
627 dev->info.config_methods, in p2p_copy_wps_info()
629 dev->info.config_methods = new_config_methods; in p2p_copy_wps_info()
885 if (dev->info.config_methods == 0 && in p2p_add_device()
2741 const char *adv_str, u8 svc_state, u16 config_methods, in p2p_service_add_asp() argument
2752 if (!(config_methods & p2p->cfg->config_methods)) { in p2p_service_add_asp()
2754 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
343 const u8 *pri_dev_type, u16 config_methods,
531 u16 config_methods; member
588 u16 config_methods; member
701 u16 config_methods; member
Dwps_enrollee.c107 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()
Dwps_upnp_ap.c53 s->config_methods = attr.sel_reg_config_methods ? in upnp_er_set_selected_registrar()
Dwps.c510 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()
Dwps_er.h18 u16 config_methods; member
Dwps_attr_parse.h26 const u8 *config_methods; /* 2 octets */ member
Dwps_registrar.c160 const u8 *pri_dev_type, u16 config_methods,
599 methods = reg->wps->config_methods; in wps_build_sel_reg_config_methods()
604 wps_set_pushbutton(&methods, reg->wps->config_methods); in wps_build_sel_reg_config_methods()
624 methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON; in wps_build_probe_config_methods()
638 return wps_build_config_methods(msg, reg->wps->config_methods); in wps_build_config_methods_r()
1161 if (attr.config_methods == NULL) { in wps_registrar_probe_req_rx()
1185 WPA_GET_BE16(attr.config_methods), in wps_registrar_probe_req_rx()
1276 methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON; in wps_cb_set_sel_reg()
1280 wps_set_pushbutton(&methods, reg->wps->config_methods); in wps_cb_set_sel_reg()
1285 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.c788 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
1489 static u16 wps_fix_config_methods(u16 config_methods) in wps_fix_config_methods() argument
1491 if ((config_methods & in wps_fix_config_methods()
1496 config_methods |= WPS_CONFIG_VIRT_DISPLAY; in wps_fix_config_methods()
1498 if ((config_methods & in wps_fix_config_methods()
1503 config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in wps_fix_config_methods()
1506 return config_methods; in wps_fix_config_methods()
1582 wps->config_methods = in wpas_wps_init()
1583 wps_config_methods_str2bin(wpa_s->conf->config_methods); in wpas_wps_init()
1584 if ((wps->config_methods & (WPS_CONFIG_DISPLAY | WPS_CONFIG_LABEL)) == in wpas_wps_init()
[all …]
Dp2p_supplicant_sd.c655 wpabuf_put_be16(resp, adv_data->config_methods); in wpas_sd_req_asp()
830 u16 config_methods; in wpas_sd_p2ps_serv_response() local
850 config_methods = WPA_GET_BE16(pos); in wpas_sd_p2ps_serv_response()
884 svc_status, config_methods, svc_str, in wpas_sd_p2ps_serv_response()
891 svc_status, config_methods, svc_str); in wpas_sd_p2ps_serv_response()
1197 u16 config_methods, const char *svc_info, in wpas_p2p_service_add_asp() argument
1203 adv_str, svc_state, config_methods, in wpas_p2p_service_add_asp()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c421 wpa_s->conf->config_methods, in wpas_dbus_getter_config_methods()
451 os_free(wpa_s->conf->config_methods); in wpas_dbus_setter_config_methods()
452 wpa_s->conf->config_methods = new_methods; in wpas_dbus_setter_config_methods()
Ddbus_new.h204 u16 config_methods,
428 u16 config_methods, in wpas_dbus_signal_p2p_provision_discovery() argument
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c254 u16 config_methods, in hostapd_wps_enrollee_seen_cb() argument
270 config_methods, dev_password_id, request_type, dev_name); in hostapd_wps_enrollee_seen_cb()
1135 wps->config_methods = in hostapd_init_wps()
1136 wps_config_methods_str2bin(hapd->conf->config_methods); in hostapd_init_wps()
1137 if ((wps->config_methods & in hostapd_init_wps()
1142 wps->config_methods |= WPS_CONFIG_VIRT_DISPLAY; in hostapd_init_wps()
1144 if ((wps->config_methods & in hostapd_init_wps()
1149 wps->config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in hostapd_init_wps()

123