Lines Matching refs:os_strcmp
64 if (os_strcmp(value, "NULL") == 0) { in wpa_config_parse_str()
335 if (value[0] == '\0' || os_strcmp(value, "\"\"") == 0 || in wpa_config_parse_bssid()
336 os_strcmp(value, "any") == 0) { in wpa_config_parse_bssid()
546 if (os_strcmp(start, "WPA") == 0) in wpa_config_parse_proto()
548 else if (os_strcmp(start, "RSN") == 0 || in wpa_config_parse_proto()
549 os_strcmp(start, "WPA2") == 0) in wpa_config_parse_proto()
551 else if (os_strcmp(start, "OSEN") == 0) in wpa_config_parse_proto()
645 if (os_strcmp(start, "WPA-PSK") == 0) in wpa_config_parse_key_mgmt()
647 else if (os_strcmp(start, "WPA-EAP") == 0) in wpa_config_parse_key_mgmt()
649 else if (os_strcmp(start, "IEEE8021X") == 0) in wpa_config_parse_key_mgmt()
651 else if (os_strcmp(start, "NONE") == 0) in wpa_config_parse_key_mgmt()
653 else if (os_strcmp(start, "WPA-NONE") == 0) in wpa_config_parse_key_mgmt()
656 else if (os_strcmp(start, "FT-PSK") == 0) in wpa_config_parse_key_mgmt()
658 else if (os_strcmp(start, "FT-EAP") == 0) in wpa_config_parse_key_mgmt()
662 else if (os_strcmp(start, "WPA-PSK-SHA256") == 0) in wpa_config_parse_key_mgmt()
664 else if (os_strcmp(start, "WPA-EAP-SHA256") == 0) in wpa_config_parse_key_mgmt()
668 else if (os_strcmp(start, "WPS") == 0) in wpa_config_parse_key_mgmt()
672 else if (os_strcmp(start, "SAE") == 0) in wpa_config_parse_key_mgmt()
674 else if (os_strcmp(start, "FT-SAE") == 0) in wpa_config_parse_key_mgmt()
678 else if (os_strcmp(start, "OSEN") == 0) in wpa_config_parse_key_mgmt()
682 else if (os_strcmp(start, "WPA-EAP-SUITE-B") == 0) in wpa_config_parse_key_mgmt()
686 else if (os_strcmp(start, "WPA-EAP-SUITE-B-192") == 0) in wpa_config_parse_key_mgmt()
1020 if (os_strcmp(start, "OPEN") == 0) in wpa_config_parse_auth_alg()
1022 else if (os_strcmp(start, "SHARED") == 0) in wpa_config_parse_auth_alg()
1024 else if (os_strcmp(start, "LEAP") == 0) in wpa_config_parse_auth_alg()
1349 if (os_strcmp(value, "NULL") == 0) { in wpa_config_parse_password()
1578 if (value[0] == '\0' || os_strcmp(value, "\"\"") == 0 || in wpa_config_parse_go_p2p_dev_addr()
1579 os_strcmp(value, "any") == 0) { in wpa_config_parse_go_p2p_dev_addr()
2472 if (os_strcmp(var, field->name) != 0) in wpa_config_set()
2605 if (os_strcmp(var, field->name) == 0) in wpa_config_get()
2638 if (os_strcmp(var, field->name) == 0) { in wpa_config_get_no_key()
2749 if (os_strcmp(var, "temporary") == 0) { in wpa_config_set_cred()
2754 if (os_strcmp(var, "priority") == 0) { in wpa_config_set_cred()
2759 if (os_strcmp(var, "sp_priority") == 0) { in wpa_config_set_cred()
2767 if (os_strcmp(var, "pcsc") == 0) { in wpa_config_set_cred()
2772 if (os_strcmp(var, "eap") == 0) { in wpa_config_set_cred()
2789 if (os_strcmp(var, "password") == 0 && in wpa_config_set_cred()
2797 if (os_strcmp(var, "update_identifier") == 0) { in wpa_config_set_cred()
2802 if (os_strcmp(var, "min_dl_bandwidth_home") == 0) { in wpa_config_set_cred()
2807 if (os_strcmp(var, "min_ul_bandwidth_home") == 0) { in wpa_config_set_cred()
2812 if (os_strcmp(var, "min_dl_bandwidth_roaming") == 0) { in wpa_config_set_cred()
2817 if (os_strcmp(var, "min_ul_bandwidth_roaming") == 0) { in wpa_config_set_cred()
2822 if (os_strcmp(var, "max_bss_load") == 0) { in wpa_config_set_cred()
2827 if (os_strcmp(var, "req_conn_capab") == 0) in wpa_config_set_cred()
2830 if (os_strcmp(var, "ocsp") == 0) { in wpa_config_set_cred()
2835 if (os_strcmp(var, "sim_num") == 0) { in wpa_config_set_cred()
2847 if (os_strcmp(var, "realm") == 0) { in wpa_config_set_cred()
2853 if (os_strcmp(var, "username") == 0) { in wpa_config_set_cred()
2859 if (os_strcmp(var, "password") == 0) { in wpa_config_set_cred()
2866 if (os_strcmp(var, "ca_cert") == 0) { in wpa_config_set_cred()
2872 if (os_strcmp(var, "client_cert") == 0) { in wpa_config_set_cred()
2878 if (os_strcmp(var, "private_key") == 0) { in wpa_config_set_cred()
2884 if (os_strcmp(var, "private_key_passwd") == 0) { in wpa_config_set_cred()
2890 if (os_strcmp(var, "imsi") == 0) { in wpa_config_set_cred()
2896 if (os_strcmp(var, "milenage") == 0) { in wpa_config_set_cred()
2902 if (os_strcmp(var, "domain_suffix_match") == 0) { in wpa_config_set_cred()
2908 if (os_strcmp(var, "domain") == 0) { in wpa_config_set_cred()
2922 if (os_strcmp(var, "phase1") == 0) { in wpa_config_set_cred()
2928 if (os_strcmp(var, "phase2") == 0) { in wpa_config_set_cred()
2934 if (os_strcmp(var, "roaming_consortium") == 0) { in wpa_config_set_cred()
2948 if (os_strcmp(var, "required_roaming_consortium") == 0) { in wpa_config_set_cred()
2963 if (os_strcmp(var, "excluded_ssid") == 0) { in wpa_config_set_cred()
2991 if (os_strcmp(var, "roaming_partner") == 0) { in wpa_config_set_cred()
3048 if (os_strcmp(var, "provisioning_sp") == 0) { in wpa_config_set_cred()
3093 if (os_strcmp(var, "temporary") == 0) in wpa_config_get_cred_no_key()
3096 if (os_strcmp(var, "priority") == 0) in wpa_config_get_cred_no_key()
3099 if (os_strcmp(var, "sp_priority") == 0) in wpa_config_get_cred_no_key()
3102 if (os_strcmp(var, "pcsc") == 0) in wpa_config_get_cred_no_key()
3105 if (os_strcmp(var, "eap") == 0) { in wpa_config_get_cred_no_key()
3112 if (os_strcmp(var, "update_identifier") == 0) in wpa_config_get_cred_no_key()
3115 if (os_strcmp(var, "min_dl_bandwidth_home") == 0) in wpa_config_get_cred_no_key()
3118 if (os_strcmp(var, "min_ul_bandwidth_home") == 0) in wpa_config_get_cred_no_key()
3121 if (os_strcmp(var, "min_dl_bandwidth_roaming") == 0) in wpa_config_get_cred_no_key()
3124 if (os_strcmp(var, "min_ul_bandwidth_roaming") == 0) in wpa_config_get_cred_no_key()
3127 if (os_strcmp(var, "max_bss_load") == 0) in wpa_config_get_cred_no_key()
3130 if (os_strcmp(var, "req_conn_capab") == 0) { in wpa_config_get_cred_no_key()
3171 if (os_strcmp(var, "ocsp") == 0) in wpa_config_get_cred_no_key()
3174 if (os_strcmp(var, "realm") == 0) in wpa_config_get_cred_no_key()
3177 if (os_strcmp(var, "username") == 0) in wpa_config_get_cred_no_key()
3180 if (os_strcmp(var, "password") == 0) { in wpa_config_get_cred_no_key()
3186 if (os_strcmp(var, "ca_cert") == 0) in wpa_config_get_cred_no_key()
3189 if (os_strcmp(var, "client_cert") == 0) in wpa_config_get_cred_no_key()
3192 if (os_strcmp(var, "private_key") == 0) in wpa_config_get_cred_no_key()
3195 if (os_strcmp(var, "private_key_passwd") == 0) { in wpa_config_get_cred_no_key()
3201 if (os_strcmp(var, "imsi") == 0) in wpa_config_get_cred_no_key()
3204 if (os_strcmp(var, "milenage") == 0) { in wpa_config_get_cred_no_key()
3210 if (os_strcmp(var, "domain_suffix_match") == 0) in wpa_config_get_cred_no_key()
3213 if (os_strcmp(var, "domain") == 0) { in wpa_config_get_cred_no_key()
3238 if (os_strcmp(var, "phase1") == 0) in wpa_config_get_cred_no_key()
3241 if (os_strcmp(var, "phase2") == 0) in wpa_config_get_cred_no_key()
3244 if (os_strcmp(var, "roaming_consortium") == 0) { in wpa_config_get_cred_no_key()
3259 if (os_strcmp(var, "required_roaming_consortium") == 0) { in wpa_config_get_cred_no_key()
3274 if (os_strcmp(var, "excluded_ssid") == 0) { in wpa_config_get_cred_no_key()
3303 if (os_strcmp(var, "roaming_partner") == 0) { in wpa_config_get_cred_no_key()
3333 if (os_strcmp(var, "provisioning_sp") == 0) in wpa_config_get_cred_no_key()
3422 if (os_strcmp(blob->name, name) == 0) in wpa_config_get_blob()
3472 if (os_strcmp(pos->name, name) == 0) { in wpa_config_remove_blob()
4283 if (os_strcmp(name, field->name) != 0) in wpa_config_get_value()