Lines Matching refs:iconf
102 hapd->iconf->preamble == LONG_PREAMBLE) in ieee802_11_erp_info()
113 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params()
160 if (!hapd->iconf->ieee80211h && in hostapd_eid_pwr_constraint()
161 hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
172 if (dfs == 0 && hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
183 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
204 *pos++ = hapd->iconf->local_pwr_constraint; in hostapd_eid_pwr_constraint()
238 if (!hapd->iconf->ieee80211d || max_len < 6 || in hostapd_eid_country()
244 os_memcpy(pos, hapd->iconf->country, 3); /* e.g., 'US ' */ in hostapd_eid_country()
307 if (hapd->iface->cs_oper_class && hapd->iconf->ecsa_ie_only) in hostapd_eid_csa()
349 hapd->iconf->secondary_channel, in hostapd_eid_supported_op_classes()
350 hostapd_get_oper_chwidth(hapd->iconf), in hostapd_eid_supported_op_classes()
398 if (hapd->iconf->ieee80211ax) { in hostapd_gen_probe_resp()
423 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp()
501 if (hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac) { in hostapd_gen_probe_resp()
512 if (hapd->iconf->ieee80211ax) { in hostapd_gen_probe_resp()
753 if (hapd->iconf->track_sta_max_num) in handle_probe_req()
804 hapd->iconf->channel != elems.ds_params[0]) { in handle_probe_req()
807 hapd->iconf->channel, elems.ds_params[0]); in handle_probe_req()
953 if (hapd->iconf->ignore_probe_probability > 0.0 && in handle_probe_req()
954 drand48() < hapd->iconf->ignore_probe_probability) { in handle_probe_req()
1090 if (hapd->iconf->ieee80211ax) { in ieee802_11_build_ap_params()
1117 host_to_le16(hapd->iconf->beacon_int); in ieee802_11_build_ap_params()
1217 if (hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac) { in ieee802_11_build_ap_params()
1228 if (hapd->iconf->ieee80211ax) { in ieee802_11_build_ap_params()
1300 params->beacon_int = hapd->iconf->beacon_int; in ieee802_11_build_ap_params()
1302 params->beacon_rate = hapd->iconf->beacon_rate; in ieee802_11_build_ap_params()
1303 params->rate_type = hapd->iconf->rate_type; in ieee802_11_build_ap_params()
1334 params->smps_mode = hapd->iconf->ht_capab & HT_CAP_INFO_SMPS_MASK; in ieee802_11_build_ap_params()
1339 hapd->iconf->preamble == SHORT_PREAMBLE; in ieee802_11_build_ap_params()
1346 if (!hapd->iconf->ieee80211n || hapd->conf->disable_11n) in ieee802_11_build_ap_params()
1358 params->p2p_go_ctwindow = hapd->iconf->p2p_go_ctwindow; in ieee802_11_build_ap_params()
1401 struct hostapd_config *iconf = iface->conf; in ieee802_11_set_beacon() local
1427 hostapd_set_freq_params(&freq, iconf->hw_mode, iface->freq, in ieee802_11_set_beacon()
1428 iconf->channel, iconf->ieee80211n, in ieee802_11_set_beacon()
1429 iconf->ieee80211ac, iconf->ieee80211ax, in ieee802_11_set_beacon()
1430 iconf->secondary_channel, in ieee802_11_set_beacon()
1431 hostapd_get_oper_chwidth(iconf), in ieee802_11_set_beacon()
1432 hostapd_get_oper_centr_freq_seg0_idx(iconf), in ieee802_11_set_beacon()
1433 hostapd_get_oper_centr_freq_seg1_idx(iconf), in ieee802_11_set_beacon()