/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A 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 > in context_menu() 522 int config_methods = 0; add_p2p_group_client() local 908 int config_methods = 0; event_notify() local 1181 int config_methods = -1; event_notify() local 1259 int config_methods = items[4].toInt(0, 0); event_notify() local 1341 int config_methods = ctx_p2p_connect() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A 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 > in context_menu() 524 int config_methods = 0; add_p2p_group_client() local 910 int config_methods = 0; event_notify() local 1183 int config_methods = -1; event_notify() local 1261 int config_methods = items[4].toInt(0, 0); event_notify() local 1343 int config_methods = ctx_p2p_connect() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_pd.c | 27 u16 config_methods) in p2p_build_wps_ie_config_methods() 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() 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() 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 26 p2p_build_wps_ie_config_methods(struct wpabuf *buf, u16 config_methods) p2p_build_wps_ie_config_methods() argument 95 p2ps_add_pd_req_attrs(struct p2p_data *p2p, struct p2p_device *dev, struct wpabuf *buf, u16 config_methods) p2ps_add_pd_req_attrs() argument 246 p2p_build_prov_disc_resp(struct p2p_data *p2p, struct p2p_device *dev, u8 dialog_token, enum p2p_status_code status, u16 config_methods, u32 adv_id, const u8 *group_id, size_t group_id_len, const u8 *persist_ssid, size_t persist_ssid_len, const u8 *fcap, u16 fcap_len) p2p_build_prov_disc_resp() argument 1672 p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr, struct p2ps_provision *p2ps_prov, u16 config_methods, int join, int force_freq, int user_initiated_pd) p2p_prov_disc_req() argument [all...] |
H A 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() 487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info() 524 * Split adv_id, config_methods, and svc_name_len between two 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() 476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) p2p_buf_add_service_info() argument [all...] |
H A D | p2p.h | 265 * config_methods - WPS Methods which are allowed for this service 267 u16 config_methods; member 364 * config_methods - WPS Configuration Methods 366 u16 config_methods; member 537 u16 config_methods; member 849 * @config_methods: Requested WPS Config Method 862 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods, 872 * @config_methods: Value from p2p_prov_disc_req() or 0 on failure 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); [all...] |
H A 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() 734 " dev_capab=0x%x config_methods=0x%x " in p2p_group_info_text() 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_standard/src/p2p/ |
H A D | p2p_pd.c | 27 u16 config_methods) in p2p_build_wps_ie_config_methods() 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() 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() 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 26 p2p_build_wps_ie_config_methods(struct wpabuf *buf, u16 config_methods) p2p_build_wps_ie_config_methods() argument 95 p2ps_add_pd_req_attrs(struct p2p_data *p2p, struct p2p_device *dev, struct wpabuf *buf, u16 config_methods) p2ps_add_pd_req_attrs() argument 246 p2p_build_prov_disc_resp(struct p2p_data *p2p, struct p2p_device *dev, u8 dialog_token, enum p2p_status_code status, u16 config_methods, u32 adv_id, const u8 *group_id, size_t group_id_len, const u8 *persist_ssid, size_t persist_ssid_len, const u8 *fcap, u16 fcap_len) p2p_build_prov_disc_resp() argument 1672 p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr, struct p2ps_provision *p2ps_prov, u16 config_methods, int join, int force_freq, int user_initiated_pd) p2p_prov_disc_req() argument [all...] |
H A 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() 487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info() 524 * Split adv_id, config_methods, and svc_name_len between two 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() 476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) p2p_buf_add_service_info() argument [all...] |
H A D | p2p.h | 267 * config_methods - WPS Methods which are allowed for this service 269 u16 config_methods; member 379 * config_methods - WPS Configuration Methods 381 u16 config_methods; member 557 u16 config_methods; member 871 * @config_methods: Requested WPS Config Method 884 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods, 894 * @config_methods: Value from p2p_prov_disc_req() or 0 on failure 901 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods); 1209 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods); [all...] |
H A D | p2p_parse.c | 146 msg->config_methods = WPA_GET_BE16(pos); in p2p_parse_attribute() 183 anonymize_common(msg->device_name), msg->config_methods); in p2p_parse_attribute() 465 if (attr.config_methods) { in p2p_parse_wps_ie() 467 WPA_GET_BE16(attr.config_methods); in p2p_parse_wps_ie() 665 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse() 732 " dev_capab=0x%x config_methods=0x%x " in p2p_group_info_text() 734 cli->dev_capab, cli->config_methods, in p2p_group_info_text() 829 msg.config_methods); in p2p_attr_text()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A 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...] |
H A D | wps.h | 98 u16 config_methods; member 336 * @config_methods: Config Methods 342 const u8 *pri_dev_type, u16 config_methods, 527 u16 config_methods; member 584 u16 config_methods; member 693 * config_methods - Enabled configuration methods 697 u16 config_methods; member
|
H A 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() [all...] |
H A 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()
|
H A D | wps_er.h | 18 u16 config_methods; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A 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...] |
H A D | wps.h | 98 u16 config_methods; member 337 * @config_methods: Config Methods 343 const u8 *pri_dev_type, u16 config_methods, 531 u16 config_methods; member 588 u16 config_methods; member 697 * config_methods - Enabled configuration methods 701 u16 config_methods; member
|
H A 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() [all...] |
H A D | wps.c | 516 wps_build_config_methods(ie, dev->config_methods) || in wps_build_probe_req_ie() 643 if (attr.config_methods) { in wps_attr_text() 646 WPA_GET_BE16(attr.config_methods)); in wps_attr_text()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wps_supplicant.c | 782 " M1=%d config_methods=0x%x dev_passwd_id=%d pri_dev_type=%s " in wpa_supplicant_wps_event_er_enrollee_add() 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() [all...] |
H A 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() 1194 adv_str, svc_state, config_methods, in wpas_p2p_service_add_asp() 1185 wpas_p2p_service_add_asp(struct wpa_supplicant *wpa_s, int auto_accept, u32 adv_id, const char *adv_str, u8 svc_state, u16 config_methods, const char *svc_info, const u8 *cpt_priority) wpas_p2p_service_add_asp() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wps_supplicant.c | 805 " M1=%d config_methods=0x%x dev_passwd_id=%d pri_dev_type=%s " in wpa_supplicant_wps_event_er_enrollee_add() 808 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add() 1509 static u16 wps_fix_config_methods(u16 config_methods) in wps_fix_config_methods() argument 1511 if ((config_methods & in wps_fix_config_methods() 1516 config_methods |= WPS_CONFIG_VIRT_DISPLAY; in wps_fix_config_methods() 1518 if ((config_methods & in wps_fix_config_methods() 1523 config_methods |= WPS_CONFIG_VIRT_PUSHBUTTON; in wps_fix_config_methods() 1526 return config_methods; in wps_fix_config_methods() 1602 wps->config_methods = in wpas_wps_init() 1603 wps_config_methods_str2bin(wpa_s->conf->config_methods); in wpas_wps_init() [all...] |
H A D | p2p_supplicant_sd.c | 648 wpabuf_put_be16(resp, adv_data->config_methods); in wpas_sd_req_asp() 834 u16 config_methods; in wpas_sd_p2ps_serv_response() local 854 config_methods = WPA_GET_BE16(pos); in wpas_sd_p2ps_serv_response() 888 svc_status, config_methods, svc_str, in wpas_sd_p2ps_serv_response() 893 svc_status, config_methods, svc_str, in wpas_sd_p2ps_serv_response() 900 svc_status, config_methods, svc_str); in wpas_sd_p2ps_serv_response() 904 svc_status, config_methods, svc_str); in wpas_sd_p2ps_serv_response() 1218 u16 config_methods, const char *svc_info, in wpas_p2p_service_add_asp() 1224 adv_str, svc_state, config_methods, in wpas_p2p_service_add_asp() 1215 wpas_p2p_service_add_asp(struct wpa_supplicant *wpa_s, int auto_accept, u32 adv_id, const char *adv_str, u8 svc_state, u16 config_methods, const char *svc_info, const u8 *cpt_priority) wpas_p2p_service_add_asp() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_wps.c | 421 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_wps.c | 421 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()
|