Home
last modified time | relevance | path

Searched refs:os_strstr (Results 1 – 25 of 46) sorted by relevance

12

/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c66 if (os_strstr(start, "schemas-wifialliance-org:device:" in wps_er_ssdp_rx()
69 if (os_strstr(start, "schemas-wifialliance-org:service:" in wps_er_ssdp_rx()
78 if (os_strstr(start, "ssdp:byebye")) in wps_er_ssdp_rx()
82 pos2 = os_strstr(start, "max-age="); in wps_er_ssdp_rx()
89 pos2 = os_strstr(start, "uuid:"); in wps_er_ssdp_rx()
Dwps_common.c540 if (os_strstr(str, "ethernet")) in wps_config_methods_str2bin()
542 if (os_strstr(str, "label")) in wps_config_methods_str2bin()
544 if (os_strstr(str, "display")) in wps_config_methods_str2bin()
546 if (os_strstr(str, "ext_nfc_token")) in wps_config_methods_str2bin()
548 if (os_strstr(str, "int_nfc_token")) in wps_config_methods_str2bin()
550 if (os_strstr(str, "nfc_interface")) in wps_config_methods_str2bin()
552 if (os_strstr(str, "push_button")) in wps_config_methods_str2bin()
554 if (os_strstr(str, "keypad")) in wps_config_methods_str2bin()
556 if (os_strstr(str, "virtual_display")) in wps_config_methods_str2bin()
558 if (os_strstr(str, "physical_display")) in wps_config_methods_str2bin()
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1079 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab()
1081 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1085 if (os_strstr(capab, "[HT40+]")) { in hostapd_config_ht_capab()
1089 if (os_strstr(capab, "[SMPS-STATIC]")) { in hostapd_config_ht_capab()
1093 if (os_strstr(capab, "[SMPS-DYNAMIC]")) { in hostapd_config_ht_capab()
1097 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab()
1099 if (os_strstr(capab, "[SHORT-GI-20]")) in hostapd_config_ht_capab()
1101 if (os_strstr(capab, "[SHORT-GI-40]")) in hostapd_config_ht_capab()
1103 if (os_strstr(capab, "[TX-STBC]")) in hostapd_config_ht_capab()
1105 if (os_strstr(capab, "[RX-STBC1]")) { in hostapd_config_ht_capab()
[all …]
Dctrl_iface.c855 pos = os_strstr(cmd, " disassoc_timer="); in hostapd_ctrl_iface_bss_tm_req()
865 pos = os_strstr(cmd, " valid_int="); in hostapd_ctrl_iface_bss_tm_req()
871 pos = os_strstr(cmd, " bss_term="); in hostapd_ctrl_iface_bss_tm_req()
900 pos = os_strstr(pos, " neighbor="); in hostapd_ctrl_iface_bss_tm_req()
982 pos = os_strstr(cmd, " url="); in hostapd_ctrl_iface_bss_tm_req()
999 if (os_strstr(cmd, " pref=1")) in hostapd_ctrl_iface_bss_tm_req()
1001 if (os_strstr(cmd, " abridged=1")) in hostapd_ctrl_iface_bss_tm_req()
1003 if (os_strstr(cmd, " disassoc_imminent=1")) in hostapd_ctrl_iface_bss_tm_req()
1007 pos = os_strstr(cmd, "mbo="); in hostapd_ctrl_iface_bss_tm_req()
1476 pos = os_strstr(param, "freq="); in hostapd_ctrl_iface_radar()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c63 if (os_strstr(txt, "tls_allow_md5=1")) in eap_tls_params_flags()
65 if (os_strstr(txt, "tls_disable_time_checks=1")) in eap_tls_params_flags()
67 if (os_strstr(txt, "tls_disable_session_ticket=1")) in eap_tls_params_flags()
69 if (os_strstr(txt, "tls_disable_session_ticket=0")) in eap_tls_params_flags()
71 if (os_strstr(txt, "tls_disable_tlsv1_0=1")) in eap_tls_params_flags()
73 if (os_strstr(txt, "tls_disable_tlsv1_0=0")) in eap_tls_params_flags()
75 if (os_strstr(txt, "tls_disable_tlsv1_1=1")) in eap_tls_params_flags()
77 if (os_strstr(txt, "tls_disable_tlsv1_1=0")) in eap_tls_params_flags()
79 if (os_strstr(txt, "tls_disable_tlsv1_2=1")) in eap_tls_params_flags()
81 if (os_strstr(txt, "tls_disable_tlsv1_2=0")) in eap_tls_params_flags()
[all …]
Dtncc.c609 char *pos = os_strstr(start, "<Type>"); in tncc_get_type()
623 pos = os_strstr(start, "<Base64>"); in tncc_get_base64()
628 pos2 = os_strstr(pos, "</Base64>"); in tncc_get_base64()
649 pos = os_strstr(start, "<TNCCS-Recommendation "); in tncc_get_recommendation()
654 pos = os_strstr(pos, " type="); in tncc_get_recommendation()
703 start = os_strstr(buf, "<TNCCS-Batch "); in tncc_process_if_tnccs()
704 end = os_strstr(buf, "</TNCCS-Batch>"); in tncc_process_if_tnccs()
715 pos = os_strstr(start, "BatchId="); in tncc_process_if_tnccs()
756 pos = os_strstr(start, "<IMC-IMV-Message>"); in tncc_process_if_tnccs()
760 end = os_strstr(start, "</IMC-IMV-Message>"); in tncc_process_if_tnccs()
[all …]
Deap_wsc.c66 pos = os_strstr(params, "new_ssid="); in eap_wsc_new_ap_settings()
82 pos = os_strstr(params, "new_auth="); in eap_wsc_new_ap_settings()
98 pos = os_strstr(params, "new_encr="); in eap_wsc_new_ap_settings()
118 pos = os_strstr(params, "new_key="); in eap_wsc_new_ap_settings()
192 pos = os_strstr(phase1, "pin="); in eap_wsc_init()
206 pos = os_strstr(phase1, "pbc=1"); in eap_wsc_init()
211 pos = os_strstr(phase1, "dev_pw_id="); in eap_wsc_init()
227 pos = os_strstr(phase1, " pkhash="); in eap_wsc_init()
Deap_peap.c78 pos = os_strstr(phase1, "peapver="); in eap_peap_parse_phase1()
86 if (os_strstr(phase1, "peaplabel=1")) { in eap_peap_parse_phase1()
92 if (os_strstr(phase1, "peap_outer_success=0")) { in eap_peap_parse_phase1()
96 } else if (os_strstr(phase1, "peap_outer_success=1")) { in eap_peap_parse_phase1()
100 } else if (os_strstr(phase1, "peap_outer_success=2")) { in eap_peap_parse_phase1()
106 if (os_strstr(phase1, "crypto_binding=0")) { in eap_peap_parse_phase1()
109 } else if (os_strstr(phase1, "crypto_binding=1")) { in eap_peap_parse_phase1()
112 } else if (os_strstr(phase1, "crypto_binding=2")) { in eap_peap_parse_phase1()
118 if (os_strstr(phase1, "tnc=soh2")) { in eap_peap_parse_phase1()
121 } else if (os_strstr(phase1, "tnc=soh1")) { in eap_peap_parse_phase1()
[all …]
Deap_eke.c101 pos = os_strstr(phase1, "dhgroup="); in eap_eke_init()
108 pos = os_strstr(phase1, "encr="); in eap_eke_init()
115 pos = os_strstr(phase1, "prf="); in eap_eke_init()
122 pos = os_strstr(phase1, "mac="); in eap_eke_init()
Deap_fast.c121 pos = os_strstr(phase1, "fast_provisioning="); in eap_fast_parse_phase1()
128 pos = os_strstr(phase1, "fast_max_pac_list_len="); in eap_fast_parse_phase1()
137 pos = os_strstr(phase1, "fast_pac_format=binary"); in eap_fast_parse_phase1()
1629 os_strstr(cipher, "ADH-") || in eap_fast_process()
1630 os_strstr(cipher, "anon"))) { in eap_fast_process()
/external/wpa_supplicant_8/src/ap/
Dctrl_iface_ap.c320 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_deauthenticate()
324 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_deauthenticate()
348 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_deauthenticate()
380 pos = os_strstr(txtaddr, " reason="); in hostapd_ctrl_iface_disassociate()
384 pos = os_strstr(txtaddr, " test="); in hostapd_ctrl_iface_disassociate()
408 pos = os_strstr(txtaddr, " p2p="); in hostapd_ctrl_iface_disassociate()
547 const char *pos2 = os_strstr(pos, " " #str "="); \ in hostapd_parse_csa_settings()
558 settings->freq_params.ht_enabled = !!os_strstr(pos, " ht"); in hostapd_parse_csa_settings()
559 settings->freq_params.vht_enabled = !!os_strstr(pos, " vht"); in hostapd_parse_csa_settings()
560 settings->block_tx = !!os_strstr(pos, " blocktx"); in hostapd_parse_csa_settings()
/external/wpa_supplicant_8/src/eap_server/
Dtncs.c659 char *pos = os_strstr(start, "<Type>"); in tncs_get_type()
673 pos = os_strstr(start, "<Base64>"); in tncs_get_base64()
678 pos2 = os_strstr(pos, "</Base64>"); in tncs_get_base64()
792 start = os_strstr(buf, "<TNCCS-Batch "); in tncs_process_if_tnccs()
793 end = os_strstr(buf, "</TNCCS-Batch>"); in tncs_process_if_tnccs()
804 pos = os_strstr(start, "BatchId="); in tncs_process_if_tnccs()
845 pos = os_strstr(start, "<IMC-IMV-Message>"); in tncs_process_if_tnccs()
849 end = os_strstr(start, "</IMC-IMV-Message>"); in tncs_process_if_tnccs()
890 pos = os_strstr(start, "<TNCC-TNCS-Message>"); in tncs_process_if_tnccs()
894 end = os_strstr(start, "</TNCC-TNCS-Message>"); in tncs_process_if_tnccs()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c276 pos = os_strstr(params, "freq="); in wpas_ctrl_pno()
745 const char *pos2 = os_strstr(pos, " " #str "="); \ in wpa_supplicant_ctrl_iface_tdls_chan_switch()
758 freq_params.ht_enabled = !!os_strstr(pos, " ht"); in wpa_supplicant_ctrl_iface_tdls_chan_switch()
759 freq_params.vht_enabled = !!os_strstr(pos, " vht"); in wpa_supplicant_ctrl_iface_tdls_chan_switch()
2632 pos = os_strstr(cmd, "ifname="); in wpa_supplicant_ctrl_iface_mesh_interface_add()
2750 pos = os_strstr(cmd, " duration="); in wpa_supplicant_ctrl_iface_mesh_peer_add()
2795 pos = os_strstr(cmd, " freq="); in wpa_supplicant_ctrl_iface_select_network()
2839 if (os_strstr(cmd, " no-connect")) { in wpa_supplicant_ctrl_iface_enable_network()
4497 if ((ctmp = os_strstr(cmd, "MASK=")) != NULL) { in wpa_supplicant_ctrl_iface_bss()
4669 if (os_strstr(cmd, "type=social")) in p2p_ctrl_find()
[all …]
Dp2p_supplicant_sd.c441 os_strstr(usrv->service, str) == NULL) in wpas_sd_req_upnp()
1083 if (os_strstr(role, "[source]")) in wpas_p2p_sd_request_wifi_display()
1085 if (os_strstr(role, "[pri-sink]")) in wpas_p2p_sd_request_wifi_display()
1087 if (os_strstr(role, "[sec-sink]")) in wpas_p2p_sd_request_wifi_display()
1089 if (os_strstr(role, "[source+sink]")) in wpas_p2p_sd_request_wifi_display()
Dctrl_iface_udp.c402 pos = os_strstr(wpa_s->conf->ctrl_interface, "udp:");
720 pos = os_strstr(global->params.ctrl_interface, "udp:");
Dctrl_iface_unix.c246 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_path()
514 gid_str = os_strstr(dir, " GROUP="); in wpas_ctrl_iface_open_sock()
829 gid_str = os_strstr(dir, " GROUP="); in wpa_supplicant_ctrl_iface_deinit()
Dwpa_cli.c2382 if (!discovered || os_strstr(pos, "[PROBE_REQ_ONLY]") == NULL) in wpa_ctrl_command_p2p_peer()
3736 pos = os_strstr(pos, "[id="); in wpa_cli_action_process()
3866 s = os_strstr(start, " p2p_dev_addr="); in cli_event()
3874 s = os_strstr(start, " p2p_dev_addr="); in cli_event()
4093 pos = os_strstr(pos, "bssid="); in update_bssid_list()
/external/wpa_supplicant_8/src/utils/
Dos.h451 char * os_strstr(const char *haystack, const char *needle);
544 #ifndef os_strstr
545 #define os_strstr(h, n) strstr((h), (n)) macro
Dos_none.c232 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
Dtrace.c319 os_strstr(sym[i], "__libc_start_main")) in wpa_trace_dump_func()
Dos_internal.c488 char * os_strstr(const char *haystack, const char *needle) in os_strstr() function
Dxml-utils.c140 start = os_strstr(buf, "<!DOCTYPE "); in node_from_file()
/external/wpa_supplicant_8/src/fst/
Dfst_ctrl_iface.c900 pos = os_strstr(endp, FST_ATTACH_CMD_PNAME_LLT); in fst_parse_attach_command()
910 pos = os_strstr(endp, FST_ATTACH_CMD_PNAME_PRIORITY); in fst_parse_attach_command()
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c652 pos = os_strstr(param, "own_dir="); in wpa_driver_privsep_set_param()
670 pos = os_strstr(param, "priv_dir="); in wpa_driver_privsep_set_param()
Ddriver_roboswitch.c212 if (param == NULL || os_strstr(param, "multicast_only=1") == NULL) { in wpa_driver_roboswitch_set_param()

12