Home
last modified time | relevance | path

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

/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap.c77 static struct eap_method_type *config_methods; variable
594 if (!config_methods) { in eap_peer_config_init()
602 config_methods = os_malloc(mcount * sizeof(struct eap_method_type)); in eap_peer_config_init()
603 if (config_methods == NULL) { in eap_peer_config_init()
610 config_methods[allowed_method_count].vendor = EAP_VENDOR_IETF; in eap_peer_config_init()
611 config_methods[allowed_method_count++].method = EAP_TYPE_PEAP; in eap_peer_config_init()
613 config_methods[allowed_method_count].vendor = EAP_VENDOR_IETF; in eap_peer_config_init()
614 config_methods[allowed_method_count++].method = EAP_TYPE_TTLS; in eap_peer_config_init()
618 config_methods[allowed_method_count].vendor = EAP_VENDOR_IETF; in eap_peer_config_init()
619 config_methods[allowed_method_count++].method = EAP_TYPE_TLS; in eap_peer_config_init()
[all …]
/hal_espressif-latest/components/wpa_supplicant/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
347 const u8 *pri_dev_type, u16 config_methods,
537 u16 config_methods; member
594 u16 config_methods; member
707 u16 config_methods; member
Dwps_enrollee.c109 u16 config_methods; in wps_build_m1() local
122 config_methods = wps->wps->config_methods; in wps_build_m1()
125 (config_methods & WPS_CONFIG_DISPLAY))) { in wps_build_m1()
135 config_methods &= ~WPS_CONFIG_PUSHBUTTON; in wps_build_m1()
136 config_methods &= ~(WPS_CONFIG_VIRT_PUSHBUTTON | in wps_build_m1()
152 wps_build_config_methods(msg, config_methods) || in wps_build_m1()
1101 if (attr->config_methods) in wps_process_m2d()
1102 m2d->config_methods = in wps_process_m2d()
1103 WPA_GET_BE16(attr->config_methods); in wps_process_m2d()
Dwps_attr_parse.h26 const u8 *config_methods; /* 2 octets */ member
Dwps.c585 wps_build_config_methods(ie, dev->config_methods) || in wps_build_probe_req_ie()
735 if (attr->config_methods) { in wps_attr_text()
738 WPA_GET_BE16(attr->config_methods)); in wps_attr_text()
Dwps_registrar.c158 const u8 *pri_dev_type, u16 config_methods,
598 methods = reg->wps->config_methods; in wps_build_sel_reg_config_methods()
603 wps_set_pushbutton(&methods, reg->wps->config_methods); in wps_build_sel_reg_config_methods()
623 methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON; in wps_build_probe_config_methods()
637 return wps_build_config_methods(msg, reg->wps->config_methods); in wps_build_config_methods_r()
1163 if (attr.config_methods == NULL) { in wps_registrar_probe_req_rx()
1187 WPA_GET_BE16(attr.config_methods), in wps_registrar_probe_req_rx()
1291 methods = reg->wps->config_methods & ~WPS_CONFIG_PUSHBUTTON; in wps_cb_set_sel_reg()
1295 wps_set_pushbutton(&methods, reg->wps->config_methods); in wps_cb_set_sel_reg()
1300 reg->selected_registrar, reg->wps->config_methods, in wps_cb_set_sel_reg()
[all …]
Dwps_attr_parse.c234 attr->config_methods = pos; in wps_set_attr()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c432 sm->dev->config_methods |= WPS_CONFIG_DISPLAY | WPS_CONFIG_VIRT_DISPLAY; in wps_parse_scan_result()
433 sm->wps->wps->config_methods |= WPS_CONFIG_DISPLAY | WPS_CONFIG_VIRT_DISPLAY; in wps_parse_scan_result()
1172 dev->config_methods = WPS_CONFIG_VIRT_PUSHBUTTON; in wps_dev_init()
1174 dev->config_methods |= WPS_CONFIG_DISPLAY | WPS_CONFIG_VIRT_DISPLAY; in wps_dev_init()
1457 cfg.wps->config_methods = sm->wps_ctx->dev.config_methods; in wifi_station_wps_init()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dap_config.h265 char *config_methods; member