Lines Matching refs:bss

24 void hostapd_config_defaults_bss(struct hostapd_bss_config *bss)  in hostapd_config_defaults_bss()  argument
26 bss->auth_algs = WPA_AUTH_ALG_OPEN | WPA_AUTH_ALG_SHARED; in hostapd_config_defaults_bss()
28 bss->wep_rekeying_period = 300; in hostapd_config_defaults_bss()
30 bss->broadcast_key_idx_min = 1; in hostapd_config_defaults_bss()
31 bss->broadcast_key_idx_max = 2; in hostapd_config_defaults_bss()
33 bss->wpa_group_rekey = 600; in hostapd_config_defaults_bss()
34 bss->wpa_gmk_rekey = 86400; in hostapd_config_defaults_bss()
35 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hostapd_config_defaults_bss()
36 bss->wpa_pairwise = WPA_CIPHER_TKIP; in hostapd_config_defaults_bss()
37 bss->wpa_group = WPA_CIPHER_TKIP; in hostapd_config_defaults_bss()
38 bss->rsn_pairwise = 0; in hostapd_config_defaults_bss()
40 bss->max_num_sta = MAX_STA_COUNT; in hostapd_config_defaults_bss()
42 bss->dtim_period = 2; in hostapd_config_defaults_bss()
44 bss->ap_max_inactivity = 5*60; //AP_MAX_INACTIVITY; in hostapd_config_defaults_bss()
45 bss->eapol_version = EAPOL_VERSION; in hostapd_config_defaults_bss()
47 bss->max_listen_interval = 65535; in hostapd_config_defaults_bss()
50 bss->assoc_sa_query_max_timeout = 1000; in hostapd_config_defaults_bss()
51 bss->assoc_sa_query_retry_timeout = 201; in hostapd_config_defaults_bss()
55 bss->eap_fast_prov = 3; in hostapd_config_defaults_bss()
56 bss->pac_key_lifetime = 7 * 24 * 60 * 60; in hostapd_config_defaults_bss()
57 bss->pac_key_refresh_time = 1 * 24 * 60 * 60; in hostapd_config_defaults_bss()
61 bss->wmm_enabled = -1; in hostapd_config_defaults_bss()
64 bss->ft_over_ds = 1; in hostapd_config_defaults_bss()
75 struct hostapd_bss_config *bss; in hostapd_config_defaults() local
79 bss = (struct hostapd_bss_config *)os_zalloc(sizeof(*bss)); in hostapd_config_defaults()
80 if (conf == NULL || bss == NULL) { in hostapd_config_defaults()
84 os_free(bss); in hostapd_config_defaults()
88 hostapd_config_defaults_bss(bss); in hostapd_config_defaults()
91 conf->bss = bss; in hostapd_config_defaults()