Home | History | Annotate | Download | only in ap

Lines Matching refs:conf

60 	xhdr->version = hapd->conf->eapol_version;
146 if (hapd->conf->eapol_key_index_workaround) {
177 hdr->version = hapd->conf->eapol_version;
214 hapd->conf->default_wep_key_len);
217 if (hapd->conf->individual_wep_key_len > 0) {
219 ikey = os_malloc(hapd->conf->individual_wep_key_len);
221 random_get_bytes(ikey, hapd->conf->individual_wep_key_len))
230 ikey, hapd->conf->individual_wep_key_len);
233 hapd->conf->individual_wep_key_len);
237 if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP,
239 hapd->conf->individual_wep_key_len)) {
251 switch (hapd->iface->conf->hw_mode) {
329 suite = wpa_cipher_to_suite((hapd->conf->wpa & 0x2) ?
331 hapd->conf->wpa_group);
352 if (hapd->conf->ieee80211w != NO_MGMT_FRAME_PROTECTION) {
354 hapd->conf->group_mgmt_cipher);
422 if (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) &&
430 hapd->conf->mobility_domain))) {
436 if (hapd->conf->wpa && sta->wpa_sm &&
454 hapd->conf->own_ip_addr.af == AF_INET &&
456 (u8 *) &hapd->conf->own_ip_addr.u.v4, 4)) {
464 hapd->conf->own_ip_addr.af == AF_INET6 &&
466 (u8 *) &hapd->conf->own_ip_addr.u.v6, 16)) {
474 hapd->conf->nas_identifier &&
476 (u8 *) hapd->conf->nas_identifier,
477 os_strlen(hapd->conf->nas_identifier))) {
484 wpa_ssid_txt(hapd->conf->ssid.ssid,
485 hapd->conf->ssid.ssid_len));
504 if (hapd->conf->interworking &&
505 !is_zero_ether_addr(hapd->conf->hessid)) {
507 MAC2STR(hapd->conf->hessid));
568 if (add_common_radius_attr(hapd, hapd->conf->radius_auth_req_attr, sta,
575 if (!hostapd_config_get_radius_attr(hapd->conf
603 if (hapd->conf->radius_request_cui) {
623 if (hapd->conf->hs20) {
786 if (!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen &&
787 !hapd->conf->wps_state)
837 if (!hapd->conf->ieee802_1x && !hapd->conf->osen &&
857 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state) {
964 if (hapd->conf->wps_state && hapd->conf->wpa &&
975 if (!force_1x && !hapd->conf->ieee802_1x && !hapd->conf->osen) {
1013 if (!hapd->conf->ieee802_1x && hapd->conf->wps_state &&
1238 if (!hapd->conf->radius->acct_server || hapd->radius == NULL ||
1383 ap_sta_session_timeout(hapd, sta, hapd->conf->hs20_deauth_req_timeout);
1580 if (hapd->conf->acct_interim_interval == 0 &&
1606 hostapd_vlan_id_valid(hapd->conf->vlan, sta->vlan_id)) {
1725 if (hapd->conf
1729 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len);
1732 hapd->conf->default_wep_key_len)) {
1741 hapd->conf->default_wep_key_len);
1765 hapd->conf->individual_wep_key_len > 0 ? 1 : 0;
1783 if (hostapd_drv_set_key(hapd->conf->iface, hapd, WPA_ALG_WEP,
1787 hapd->conf->default_wep_key_len)) {
1798 if (hapd->conf->wep_rekeying_period > 0) {
1799 eloop_register_timeout(hapd->conf->wep_rekeying_period, 0,
1978 struct eapol_auth_config conf;
1981 os_memset(&conf, 0, sizeof(conf));
1982 conf.ctx = hapd;
1983 conf.eap_reauth_period = hapd->conf->eap_reauth_period;
1984 conf.wpa = hapd->conf->wpa;
1985 conf.individual_wep_key_len = hapd->conf->individual_wep_key_len;
1986 conf.eap_server = hapd->conf->eap_server;
1987 conf.ssl_ctx = hapd->ssl_ctx;
1988 conf.msg_ctx = hapd->msg_ctx;
1989 conf.eap_sim_db_priv = hapd->eap_sim_db_priv;
1990 conf.eap_req_id_text = hapd->conf->eap_req_id_text;
1991 conf.eap_req_id_text_len = hapd->conf->eap_req_id_text_len;
1992 conf.pac_opaque_encr_key = hapd->conf->pac_opaque_encr_key;
1993 conf.eap_fast_a_id = hapd->conf->eap_fast_a_id;
1994 conf.eap_fast_a_id_len = hapd->conf->eap_fast_a_id_len;
1995 conf.eap_fast_a_id_info = hapd->conf->eap_fast_a_id_info;
1996 conf.eap_fast_prov = hapd->conf->eap_fast_prov;
1997 conf.pac_key_lifetime = hapd->conf->pac_key_lifetime;
1998 conf.pac_key_refresh_time = hapd->conf->pac_key_refresh_time;
1999 conf.eap_sim_aka_result_ind = hapd->conf->eap_sim_aka_result_ind;
2000 conf.tnc = hapd->conf->tnc;
2001 conf.wps = hapd->wps;
2002 conf.fragment_size = hapd->conf->fragment_size;
2003 conf.pwd_group = hapd->conf->pwd_group;
2004 conf.pbc_in_m1 = hapd->conf->pbc_in_m1;
2005 if (hapd->conf->server_id) {
2006 conf.server_id = (const u8 *) hapd->conf->server_id;
2007 conf.server_id_len = os_strlen(hapd->conf->server_id);
2009 conf.server_id = (const u8 *) "hostapd";
2010 conf.server_id_len = 7;
2025 hapd->eapol_auth = eapol_auth_init(&conf, &cb);
2029 if ((hapd->conf->ieee802_1x || hapd->conf->wpa) &&
2030 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1))
2039 if (hapd->conf->default_wep_key_len) {
2041 hostapd_drv_set_key(hapd->conf->iface, hapd,
2060 (hapd->conf->ieee802_1x || hapd->conf->wpa))
2061 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 0);
2409 os_strdup(hapd->conf->subscr_remediation_url);