• Home
  • Raw
  • Download

Lines Matching refs:os_strcmp

308 				if (os_strcmp(start, "TTLS-PAP") == 0) {  in hostapd_config_read_eap_user()
312 if (os_strcmp(start, "TTLS-CHAP") == 0) { in hostapd_config_read_eap_user()
316 if (os_strcmp(start, "TTLS-MSCHAP") == 0) { in hostapd_config_read_eap_user()
321 if (os_strcmp(start, "TTLS-MSCHAPV2") == 0) { in hostapd_config_read_eap_user()
523 if (os_strcmp(start, "WPA-PSK") == 0) in hostapd_config_parse_key_mgmt()
525 else if (os_strcmp(start, "WPA-EAP") == 0) in hostapd_config_parse_key_mgmt()
528 else if (os_strcmp(start, "FT-PSK") == 0) in hostapd_config_parse_key_mgmt()
530 else if (os_strcmp(start, "FT-EAP") == 0) in hostapd_config_parse_key_mgmt()
534 else if (os_strcmp(start, "WPA-PSK-SHA256") == 0) in hostapd_config_parse_key_mgmt()
536 else if (os_strcmp(start, "WPA-EAP-SHA256") == 0) in hostapd_config_parse_key_mgmt()
582 if (os_strcmp(start, "CCMP") == 0) in hostapd_config_parse_cipher()
584 else if (os_strcmp(start, "TKIP") == 0) in hostapd_config_parse_cipher()
586 else if (os_strcmp(start, "WEP104") == 0) in hostapd_config_parse_cipher()
588 else if (os_strcmp(start, "WEP40") == 0) in hostapd_config_parse_cipher()
590 else if (os_strcmp(start, "NONE") == 0) in hostapd_config_parse_cipher()
788 if (os_strcmp(pos, "aifs") == 0) { in hostapd_config_tx_queue()
795 } else if (os_strcmp(pos, "cwmin") == 0) { in hostapd_config_tx_queue()
802 } else if (os_strcmp(pos, "cwmax") == 0) { in hostapd_config_tx_queue()
809 } else if (os_strcmp(pos, "burst") == 0) { in hostapd_config_tx_queue()
848 if (os_strcmp(pos, "aifs") == 0) { in hostapd_config_wmm_ac()
855 } else if (os_strcmp(pos, "cwmin") == 0) { in hostapd_config_wmm_ac()
862 } else if (os_strcmp(pos, "cwmax") == 0) { in hostapd_config_wmm_ac()
869 } else if (os_strcmp(pos, "txop_limit") == 0) { in hostapd_config_wmm_ac()
876 } else if (os_strcmp(pos, "acm") == 0) { in hostapd_config_wmm_ac()
1212 if (os_strcmp(buf, "interface") == 0) { in hostapd_config_read()
1215 } else if (os_strcmp(buf, "bridge") == 0) { in hostapd_config_read()
1217 } else if (os_strcmp(buf, "wds_bridge") == 0) { in hostapd_config_read()
1220 } else if (os_strcmp(buf, "driver") == 0) { in hostapd_config_read()
1225 if (os_strcmp(pos, wpa_drivers[j]->name) == 0) in hostapd_config_read()
1236 } else if (os_strcmp(buf, "debug") == 0) { in hostapd_config_read()
1240 } else if (os_strcmp(buf, "logger_syslog_level") == 0) { in hostapd_config_read()
1242 } else if (os_strcmp(buf, "logger_stdout_level") == 0) { in hostapd_config_read()
1244 } else if (os_strcmp(buf, "logger_syslog") == 0) { in hostapd_config_read()
1246 } else if (os_strcmp(buf, "logger_stdout") == 0) { in hostapd_config_read()
1248 } else if (os_strcmp(buf, "dump_file") == 0) { in hostapd_config_read()
1250 } else if (os_strcmp(buf, "ssid") == 0) { in hostapd_config_read()
1263 } else if (os_strcmp(buf, "macaddr_acl") == 0) { in hostapd_config_read()
1272 } else if (os_strcmp(buf, "accept_mac_file") == 0) { in hostapd_config_read()
1281 } else if (os_strcmp(buf, "deny_mac_file") == 0) { in hostapd_config_read()
1289 } else if (os_strcmp(buf, "wds_sta") == 0) { in hostapd_config_read()
1291 } else if (os_strcmp(buf, "ap_isolate") == 0) { in hostapd_config_read()
1293 } else if (os_strcmp(buf, "ap_max_inactivity") == 0) { in hostapd_config_read()
1295 } else if (os_strcmp(buf, "country_code") == 0) { in hostapd_config_read()
1299 } else if (os_strcmp(buf, "ieee80211d") == 0) { in hostapd_config_read()
1301 } else if (os_strcmp(buf, "ieee8021x") == 0) { in hostapd_config_read()
1303 } else if (os_strcmp(buf, "eapol_version") == 0) { in hostapd_config_read()
1315 } else if (os_strcmp(buf, "eap_authenticator") == 0) { in hostapd_config_read()
1320 } else if (os_strcmp(buf, "eap_server") == 0) { in hostapd_config_read()
1322 } else if (os_strcmp(buf, "eap_user_file") == 0) { in hostapd_config_read()
1325 } else if (os_strcmp(buf, "ca_cert") == 0) { in hostapd_config_read()
1328 } else if (os_strcmp(buf, "server_cert") == 0) { in hostapd_config_read()
1331 } else if (os_strcmp(buf, "private_key") == 0) { in hostapd_config_read()
1334 } else if (os_strcmp(buf, "private_key_passwd") == 0) { in hostapd_config_read()
1337 } else if (os_strcmp(buf, "check_crl") == 0) { in hostapd_config_read()
1339 } else if (os_strcmp(buf, "dh_file") == 0) { in hostapd_config_read()
1342 } else if (os_strcmp(buf, "fragment_size") == 0) { in hostapd_config_read()
1345 } else if (os_strcmp(buf, "pac_opaque_encr_key") == 0) { in hostapd_config_read()
1358 } else if (os_strcmp(buf, "eap_fast_a_id") == 0) { in hostapd_config_read()
1377 } else if (os_strcmp(buf, "eap_fast_a_id_info") == 0) { in hostapd_config_read()
1380 } else if (os_strcmp(buf, "eap_fast_prov") == 0) { in hostapd_config_read()
1382 } else if (os_strcmp(buf, "pac_key_lifetime") == 0) { in hostapd_config_read()
1384 } else if (os_strcmp(buf, "pac_key_refresh_time") == 0) { in hostapd_config_read()
1388 } else if (os_strcmp(buf, "eap_sim_db") == 0) { in hostapd_config_read()
1391 } else if (os_strcmp(buf, "eap_sim_aka_result_ind") == 0) { in hostapd_config_read()
1395 } else if (os_strcmp(buf, "tnc") == 0) { in hostapd_config_read()
1399 } else if (os_strcmp(buf, "pwd_group") == 0) { in hostapd_config_read()
1403 } else if (os_strcmp(buf, "eap_message") == 0) { in hostapd_config_read()
1423 } else if (os_strcmp(buf, "wep_key_len_broadcast") == 0) { in hostapd_config_read()
1434 } else if (os_strcmp(buf, "wep_key_len_unicast") == 0) { in hostapd_config_read()
1444 } else if (os_strcmp(buf, "wep_rekey_period") == 0) { in hostapd_config_read()
1452 } else if (os_strcmp(buf, "eap_reauth_period") == 0) { in hostapd_config_read()
1460 } else if (os_strcmp(buf, "eapol_key_index_workaround") == 0) { in hostapd_config_read()
1463 } else if (os_strcmp(buf, "iapp_interface") == 0) { in hostapd_config_read()
1468 } else if (os_strcmp(buf, "own_ip_addr") == 0) { in hostapd_config_read()
1474 } else if (os_strcmp(buf, "nas_identifier") == 0) { in hostapd_config_read()
1477 } else if (os_strcmp(buf, "auth_server_addr") == 0) { in hostapd_config_read()
1487 os_strcmp(buf, "auth_server_port") == 0) { in hostapd_config_read()
1490 os_strcmp(buf, "auth_server_shared_secret") == 0) { in hostapd_config_read()
1501 } else if (os_strcmp(buf, "acct_server_addr") == 0) { in hostapd_config_read()
1511 os_strcmp(buf, "acct_server_port") == 0) { in hostapd_config_read()
1514 os_strcmp(buf, "acct_server_shared_secret") == 0) { in hostapd_config_read()
1525 } else if (os_strcmp(buf, "radius_retry_primary_interval") == in hostapd_config_read()
1528 } else if (os_strcmp(buf, "radius_acct_interim_interval") == 0) in hostapd_config_read()
1532 } else if (os_strcmp(buf, "auth_algs") == 0) { in hostapd_config_read()
1540 } else if (os_strcmp(buf, "max_num_sta") == 0) { in hostapd_config_read()
1550 } else if (os_strcmp(buf, "wpa") == 0) { in hostapd_config_read()
1552 } else if (os_strcmp(buf, "wpa_group_rekey") == 0) { in hostapd_config_read()
1554 } else if (os_strcmp(buf, "wpa_strict_rekey") == 0) { in hostapd_config_read()
1556 } else if (os_strcmp(buf, "wpa_gmk_rekey") == 0) { in hostapd_config_read()
1558 } else if (os_strcmp(buf, "wpa_ptk_rekey") == 0) { in hostapd_config_read()
1560 } else if (os_strcmp(buf, "wpa_passphrase") == 0) { in hostapd_config_read()
1571 } else if (os_strcmp(buf, "wpa_psk") == 0) { in hostapd_config_read()
1586 } else if (os_strcmp(buf, "wpa_psk_file") == 0) { in hostapd_config_read()
1594 } else if (os_strcmp(buf, "wpa_key_mgmt") == 0) { in hostapd_config_read()
1599 } else if (os_strcmp(buf, "wpa_pairwise") == 0) { in hostapd_config_read()
1613 } else if (os_strcmp(buf, "rsn_pairwise") == 0) { in hostapd_config_read()
1628 } else if (os_strcmp(buf, "rsn_preauth") == 0) { in hostapd_config_read()
1630 } else if (os_strcmp(buf, "rsn_preauth_interfaces") == 0) { in hostapd_config_read()
1634 } else if (os_strcmp(buf, "peerkey") == 0) { in hostapd_config_read()
1638 } else if (os_strcmp(buf, "mobility_domain") == 0) { in hostapd_config_read()
1647 } else if (os_strcmp(buf, "r1_key_holder") == 0) { in hostapd_config_read()
1656 } else if (os_strcmp(buf, "r0_key_lifetime") == 0) { in hostapd_config_read()
1658 } else if (os_strcmp(buf, "reassociation_deadline") == 0) { in hostapd_config_read()
1660 } else if (os_strcmp(buf, "r0kh") == 0) { in hostapd_config_read()
1667 } else if (os_strcmp(buf, "r1kh") == 0) { in hostapd_config_read()
1674 } else if (os_strcmp(buf, "pmk_r1_push") == 0) { in hostapd_config_read()
1676 } else if (os_strcmp(buf, "ft_over_ds") == 0) { in hostapd_config_read()
1680 } else if (os_strcmp(buf, "ctrl_interface") == 0) { in hostapd_config_read()
1683 } else if (os_strcmp(buf, "ctrl_interface_group") == 0) { in hostapd_config_read()
1713 } else if (os_strcmp(buf, "radius_server_clients") == 0) { in hostapd_config_read()
1716 } else if (os_strcmp(buf, "radius_server_auth_port") == 0) { in hostapd_config_read()
1718 } else if (os_strcmp(buf, "radius_server_ipv6") == 0) { in hostapd_config_read()
1721 } else if (os_strcmp(buf, "test_socket") == 0) { in hostapd_config_read()
1724 } else if (os_strcmp(buf, "use_pae_group_addr") == 0) { in hostapd_config_read()
1726 } else if (os_strcmp(buf, "hw_mode") == 0) { in hostapd_config_read()
1727 if (os_strcmp(pos, "a") == 0) in hostapd_config_read()
1729 else if (os_strcmp(pos, "b") == 0) in hostapd_config_read()
1731 else if (os_strcmp(pos, "g") == 0) in hostapd_config_read()
1738 } else if (os_strcmp(buf, "channel") == 0) { in hostapd_config_read()
1740 } else if (os_strcmp(buf, "beacon_int") == 0) { in hostapd_config_read()
1754 } else if (os_strcmp(buf, "dtim_period") == 0) { in hostapd_config_read()
1762 } else if (os_strcmp(buf, "rts_threshold") == 0) { in hostapd_config_read()
1771 } else if (os_strcmp(buf, "fragm_threshold") == 0) { in hostapd_config_read()
1780 } else if (os_strcmp(buf, "send_probe_response") == 0) { in hostapd_config_read()
1788 } else if (os_strcmp(buf, "supported_rates") == 0) { in hostapd_config_read()
1794 } else if (os_strcmp(buf, "basic_rates") == 0) { in hostapd_config_read()
1800 } else if (os_strcmp(buf, "preamble") == 0) { in hostapd_config_read()
1805 } else if (os_strcmp(buf, "ignore_broadcast_ssid") == 0) { in hostapd_config_read()
1807 } else if (os_strcmp(buf, "wep_default_key") == 0) { in hostapd_config_read()
1815 } else if (os_strcmp(buf, "wep_key0") == 0 || in hostapd_config_read()
1816 os_strcmp(buf, "wep_key1") == 0 || in hostapd_config_read()
1817 os_strcmp(buf, "wep_key2") == 0 || in hostapd_config_read()
1818 os_strcmp(buf, "wep_key3") == 0) { in hostapd_config_read()
1826 } else if (os_strcmp(buf, "dynamic_vlan") == 0) { in hostapd_config_read()
1828 } else if (os_strcmp(buf, "vlan_file") == 0) { in hostapd_config_read()
1835 } else if (os_strcmp(buf, "vlan_tagged_interface") == 0) { in hostapd_config_read()
1839 } else if (os_strcmp(buf, "ap_table_max_size") == 0) { in hostapd_config_read()
1841 } else if (os_strcmp(buf, "ap_table_expiration_time") == 0) { in hostapd_config_read()
1849 } else if (os_strcmp(buf, "wme_enabled") == 0 || in hostapd_config_read()
1850 os_strcmp(buf, "wmm_enabled") == 0) { in hostapd_config_read()
1852 } else if (os_strcmp(buf, "uapsd_advertisement_enabled") == 0) { in hostapd_config_read()
1861 } else if (os_strcmp(buf, "bss") == 0) { in hostapd_config_read()
1867 } else if (os_strcmp(buf, "bssid") == 0) { in hostapd_config_read()
1874 } else if (os_strcmp(buf, "ieee80211w") == 0) { in hostapd_config_read()
1876 } else if (os_strcmp(buf, "assoc_sa_query_max_timeout") == 0) { in hostapd_config_read()
1883 } else if (os_strcmp(buf, "assoc_sa_query_retry_timeout") == 0) in hostapd_config_read()
1894 } else if (os_strcmp(buf, "ieee80211n") == 0) { in hostapd_config_read()
1896 } else if (os_strcmp(buf, "ht_capab") == 0) { in hostapd_config_read()
1902 } else if (os_strcmp(buf, "require_ht") == 0) { in hostapd_config_read()
1905 } else if (os_strcmp(buf, "max_listen_interval") == 0) { in hostapd_config_read()
1907 } else if (os_strcmp(buf, "disable_pmksa_caching") == 0) { in hostapd_config_read()
1909 } else if (os_strcmp(buf, "okc") == 0) { in hostapd_config_read()
1912 } else if (os_strcmp(buf, "wps_state") == 0) { in hostapd_config_read()
1919 } else if (os_strcmp(buf, "ap_setup_locked") == 0) { in hostapd_config_read()
1921 } else if (os_strcmp(buf, "uuid") == 0) { in hostapd_config_read()
1927 } else if (os_strcmp(buf, "wps_pin_requests") == 0) { in hostapd_config_read()
1930 } else if (os_strcmp(buf, "device_name") == 0) { in hostapd_config_read()
1938 } else if (os_strcmp(buf, "manufacturer") == 0) { in hostapd_config_read()
1946 } else if (os_strcmp(buf, "model_name") == 0) { in hostapd_config_read()
1954 } else if (os_strcmp(buf, "model_number") == 0) { in hostapd_config_read()
1962 } else if (os_strcmp(buf, "serial_number") == 0) { in hostapd_config_read()
1970 } else if (os_strcmp(buf, "device_type") == 0) { in hostapd_config_read()
1973 } else if (os_strcmp(buf, "config_methods") == 0) { in hostapd_config_read()
1976 } else if (os_strcmp(buf, "os_version") == 0) { in hostapd_config_read()
1982 } else if (os_strcmp(buf, "ap_pin") == 0) { in hostapd_config_read()
1985 } else if (os_strcmp(buf, "skip_cred_build") == 0) { in hostapd_config_read()
1987 } else if (os_strcmp(buf, "extra_cred") == 0) { in hostapd_config_read()
1997 } else if (os_strcmp(buf, "wps_cred_processing") == 0) { in hostapd_config_read()
1999 } else if (os_strcmp(buf, "ap_settings") == 0) { in hostapd_config_read()
2009 } else if (os_strcmp(buf, "upnp_iface") == 0) { in hostapd_config_read()
2011 } else if (os_strcmp(buf, "friendly_name") == 0) { in hostapd_config_read()
2014 } else if (os_strcmp(buf, "manufacturer_url") == 0) { in hostapd_config_read()
2017 } else if (os_strcmp(buf, "model_description") == 0) { in hostapd_config_read()
2020 } else if (os_strcmp(buf, "model_url") == 0) { in hostapd_config_read()
2023 } else if (os_strcmp(buf, "upc") == 0) { in hostapd_config_read()
2026 } else if (os_strcmp(buf, "pbc_in_m1") == 0) { in hostapd_config_read()
2030 } else if (os_strcmp(buf, "manage_p2p") == 0) { in hostapd_config_read()
2036 } else if (os_strcmp(buf, "allow_cross_connection") == 0) { in hostapd_config_read()
2042 } else if (os_strcmp(buf, "disassoc_low_ack") == 0) { in hostapd_config_read()
2044 } else if (os_strcmp(buf, "tdls_prohibit") == 0) { in hostapd_config_read()
2050 } else if (os_strcmp(buf, "tdls_prohibit_chan_switch") == 0) { in hostapd_config_read()
2057 } else if (os_strcmp(buf, "rsn_testing") == 0) { in hostapd_config_read()