Lines Matching refs:iconf
130 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_supp_rates()
132 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_supp_rates()
135 if (hapd->iconf->ieee80211ax && hapd->iconf->require_he) in hostapd_eid_supp_rates()
160 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht && count < 8) { in hostapd_eid_supp_rates()
165 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht && count < 8) { in hostapd_eid_supp_rates()
171 if (hapd->iconf->ieee80211ax && hapd->iconf->require_he && count < 8) { in hostapd_eid_supp_rates()
197 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_ext_supp_rates()
199 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_ext_supp_rates()
202 if (hapd->iconf->ieee80211ax && hapd->iconf->require_he) in hostapd_eid_ext_supp_rates()
228 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) { in hostapd_eid_ext_supp_rates()
234 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) { in hostapd_eid_ext_supp_rates()
241 if (hapd->iconf->ieee80211ax && hapd->iconf->require_he) { in hostapd_eid_ext_supp_rates()
296 hapd->iconf->preamble == SHORT_PREAMBLE) in hostapd_own_capab_info()
332 (hapd->iconf->spectrum_mgmt_required || dfs)) in hostapd_own_capab_info()
2898 if (hapd->iconf->ignore_auth_probability > 0.0 && in handle_auth()
2899 drand48() < hapd->iconf->ignore_auth_probability) { in handle_auth()
3046 if (other->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in handle_auth()
3048 else if (other->iconf->ieee80211ac) in handle_auth()
3050 else if (other->iconf->ieee80211n) in handle_auth()
3052 else if (other->iconf->hw_mode == in handle_auth()
3055 else if (other->iconf->hw_mode == in handle_auth()
3062 other->iconf->channel), in handle_auth()
3063 other->iconf->secondary_channel, in handle_auth()
3064 other->iconf->ieee80211ac, in handle_auth()
3067 channel = other->iconf->channel; in handle_auth()
3349 if (!hapd->iconf->mbssid || hapd->iface->num_bss <= 1) in hostapd_max_bssid_indicator()
3957 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht && in __check_assoc_ies()
3966 if (hapd->iconf->ieee80211ac) { in __check_assoc_ies()
3976 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht && in __check_assoc_ies()
3992 if (hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax) { in __check_assoc_ies()
3999 if (hapd->iconf->require_he && !(sta->flags & WLAN_STA_HE)) { in __check_assoc_ies()
4007 if (is_6ghz_op_class(hapd->iconf->op_class)) { in __check_assoc_ies()
4023 if (hapd->iconf->ieee80211be && !hapd->conf->disable_11be) { in __check_assoc_ies()
4472 if (hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac) { in ieee80211_ml_build_assoc_resp()
4477 if (hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax) { in ieee80211_ml_build_assoc_resp()
4483 if (hapd->iconf->ieee80211be && !hapd->conf->disable_11be) { in ieee80211_ml_build_assoc_resp()
4873 if (hapd->iconf->ieee80211be && !hapd->conf->disable_11be) { in send_assoc_resp()
4876 if (hapd->iconf->punct_bitmap) in send_assoc_resp()
4915 int delta = hapd->iconf->rssi_reject_assoc_rssi - rssi; in send_assoc_resp()
4963 if (hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac && in send_assoc_resp()
4964 !is_6ghz_op_class(hapd->iconf->op_class)) { in send_assoc_resp()
4987 if (hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax) { in send_assoc_resp()
5029 if (hapd->iconf->ieee80211be && !hapd->conf->disable_11be) { in send_assoc_resp()
5301 if (!hapd->iconf->ieee80211be || hapd->conf->disable_11be) in handle_mlo_translate()
5359 if (hapd->iconf->ignore_reassoc_probability > 0.0 && in handle_assoc()
5360 drand48() < hapd->iconf->ignore_reassoc_probability) { in handle_assoc()
5367 if (hapd->iconf->ignore_assoc_probability > 0.0 && in handle_assoc()
5368 drand48() < hapd->iconf->ignore_assoc_probability) { in handle_assoc()
5537 if (hapd->iconf->rssi_reject_assoc_rssi && rssi && in handle_assoc()
5538 rssi < hapd->iconf->rssi_reject_assoc_rssi && in handle_assoc()
5540 sta->auth_rssi < hapd->iconf->rssi_reject_assoc_rssi)) { in handle_assoc()
6325 if (hapd->iconf->track_sta_max_num) in ieee802_11_mgmt()
7082 struct hostapd_config *iconf = iface->conf; in hostapd_eid_txpower_envelope() local
7113 if (is_6ghz_op_class(iconf->op_class)) { in hostapd_eid_txpower_envelope()
7121 if (hapd->iconf->reg_def_cli_eirp_psd != -1) in hostapd_eid_txpower_envelope()
7122 tx_pwr = hapd->iconf->reg_def_cli_eirp_psd; in hostapd_eid_txpower_envelope()
7131 if (he_reg_is_indoor(iconf->he_6ghz_reg_pwr_type)) { in hostapd_eid_txpower_envelope()
7133 if (hapd->iconf->reg_sub_cli_eirp_psd != -1) in hostapd_eid_txpower_envelope()
7134 tx_pwr = hapd->iconf->reg_sub_cli_eirp_psd; in hostapd_eid_txpower_envelope()
7143 if (iconf->reg_def_cli_eirp != -1 && in hostapd_eid_txpower_envelope()
7144 he_reg_is_sp(iconf->he_6ghz_reg_pwr_type)) in hostapd_eid_txpower_envelope()
7148 hapd->iconf->reg_def_cli_eirp); in hostapd_eid_txpower_envelope()
7154 switch (hostapd_get_oper_chwidth(iconf)) { in hostapd_eid_txpower_envelope()
7156 if (iconf->secondary_channel == 0) { in hostapd_eid_txpower_envelope()
7193 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_txpower_envelope()
7196 local_pwr_constraint = hapd->iconf->local_pwr_constraint; in hostapd_eid_txpower_envelope()
7476 bool is_6ghz = is_6ghz_op_class(hapd->iconf->op_class); in get_colocation_mode()
7581 !hapd->iconf->mbssid) in hostapd_eid_rnr_len()
7598 hapd->iconf->mbssid != ENHANCED_MBSSID_ENABLED)) in hostapd_eid_rnr_len()
7695 *eid++ = bss->iconf->channel; in hostapd_eid_rnr_bss()
7713 if (is_6ghz_op_class(hapd->iconf->op_class) && in hostapd_eid_rnr_bss()
7776 hapd->iconf->secondary_channel, in hostapd_eid_rnr_iface()
7777 hostapd_get_oper_chwidth(hapd->iconf), in hostapd_eid_rnr_iface()
7904 !hapd->iconf->mbssid) in hostapd_eid_rnr()
7921 hapd->iconf->mbssid != ENHANCED_MBSSID_ENABLED)) in hostapd_eid_rnr()
8054 if (!hapd->iconf->mbssid || hapd->iface->num_bss <= 1 || in hostapd_eid_mbssid_len()
8077 if (hapd->iconf->mbssid == ENHANCED_MBSSID_ENABLED && rnr_len) { in hostapd_eid_mbssid_len()
8089 if (hapd->iconf->mbssid == ENHANCED_MBSSID_ENABLED && rnr_len) in hostapd_eid_mbssid_len()
8141 if (hapd->iconf->mbssid == ENHANCED_MBSSID_ENABLED && in hostapd_eid_mbssid_elem()
8225 if (!hapd->iconf->mbssid || hapd->iface->num_bss <= 1 || in hostapd_eid_mbssid()
8236 add_rnr = hapd->iconf->mbssid == ENHANCED_MBSSID_ENABLED && in hostapd_eid_mbssid()