Lines Matching refs:conf
134 if (hapd->conf->p2p & P2P_MANAGE) { in hostapd_build_ap_extra_ies()
152 if (hapd->conf->wps_state) { in hostapd_build_ap_extra_ies()
160 if (hapd->conf->p2p & P2P_MANAGE) { in hostapd_build_ap_extra_ies()
192 if (hapd->conf->mbo_enabled || in hostapd_build_ap_extra_ies()
209 add_buf(&beacon, hapd->conf->vendor_elements); in hostapd_build_ap_extra_ies()
210 add_buf(&proberesp, hapd->conf->vendor_elements); in hostapd_build_ap_extra_ies()
212 add_buf(&proberesp, hapd->conf->presp_elements); in hostapd_build_ap_extra_ies()
214 add_buf(&assocresp, hapd->conf->assocresp_elements); in hostapd_build_ap_extra_ies()
350 params.wpa = hapd->conf->wpa; in hostapd_set_drv_ieee8021x()
351 params.ieee802_1x = hapd->conf->ieee802_1x; in hostapd_set_drv_ieee8021x()
352 params.wpa_group = hapd->conf->wpa_group; in hostapd_set_drv_ieee8021x()
353 if ((hapd->conf->wpa & (WPA_PROTO_WPA | WPA_PROTO_RSN)) == in hostapd_set_drv_ieee8021x()
355 params.wpa_pairwise = hapd->conf->wpa_pairwise | in hostapd_set_drv_ieee8021x()
356 hapd->conf->rsn_pairwise; in hostapd_set_drv_ieee8021x()
357 else if (hapd->conf->wpa & WPA_PROTO_RSN) in hostapd_set_drv_ieee8021x()
358 params.wpa_pairwise = hapd->conf->rsn_pairwise; in hostapd_set_drv_ieee8021x()
359 else if (hapd->conf->wpa & WPA_PROTO_WPA) in hostapd_set_drv_ieee8021x()
360 params.wpa_pairwise = hapd->conf->wpa_pairwise; in hostapd_set_drv_ieee8021x()
361 params.wpa_key_mgmt = hapd->conf->wpa_key_mgmt; in hostapd_set_drv_ieee8021x()
362 params.rsn_preauth = hapd->conf->rsn_preauth; in hostapd_set_drv_ieee8021x()
363 params.ieee80211w = hapd->conf->ieee80211w; in hostapd_set_drv_ieee8021x()
391 if (hapd->conf->wds_bridge[0]) in hostapd_set_wds_sta()
392 bridge = hapd->conf->wds_bridge; in hostapd_set_wds_sta()
393 else if (hapd->conf->bridge[0]) in hostapd_set_wds_sta()
394 bridge = hapd->conf->bridge; in hostapd_set_wds_sta()
511 if (hapd->conf->mld_ap) { in hostapd_sta_add()
600 if (hapd->conf->mld_ap) in hostapd_if_remove()
636 if (hapd->conf && hapd->conf->mld_ap) in hostapd_flush()
675 if (hapd->conf->mld_ap) { in hostapd_set_freq()
739 if (hapd->conf->mld_ap) in hostapd_set_tx_queue_params()
837 if (hapd->conf->mld_ap && !(key_flag & KEY_FLAG_PAIRWISE)) in hostapd_drv_set_key()
853 if (hapd->conf->mld_ap) in hostapd_drv_send_mlme()
872 if (hapd->conf->mld_ap) { in hostapd_drv_sta_deauth()
894 if (hapd->conf->mld_ap) { in hostapd_drv_sta_disassoc()
952 } else if (hapd->conf->mld_ap) { in hapd_drv_send_action()
1000 if (!iface->conf->ieee80211h) { in hostapd_start_dfs_cac()
1057 (hapd->iface->conf->acs_freq_list.num && in hostapd_get_hw_mode_any_channels()
1059 &hapd->iface->conf->acs_freq_list, in hostapd_get_hw_mode_any_channels()
1063 (!hapd->iface->conf->acs_freq_list_present && in hostapd_get_hw_mode_any_channels()
1064 hapd->iface->conf->acs_ch_list.num && in hostapd_get_hw_mode_any_channels()
1066 &hapd->iface->conf->acs_ch_list, in hostapd_get_hw_mode_any_channels()
1070 ((hapd->iface->conf->acs_exclude_6ghz_non_psc && in hostapd_get_hw_mode_any_channels()
1072 (!hapd->iface->conf->ieee80211ax && in hostapd_get_hw_mode_any_channels()
1073 !hapd->iface->conf->ieee80211be))) in hostapd_get_hw_mode_any_channels()
1076 !(hapd->iface->conf->acs_exclude_dfs && in hostapd_get_hw_mode_any_channels()
1078 !(chan->max_tx_power < hapd->iface->conf->min_tx_power)) in hostapd_get_hw_mode_any_channels()
1133 params.hw_mode = hapd->iface->conf->hw_mode; in hostapd_drv_do_acs()
1136 if (hapd->conf->mld_ap && hapd->iconf->ieee80211be && in hostapd_drv_do_acs()
1137 !hapd->conf->disable_11be) in hostapd_drv_do_acs()
1145 if (hapd->iface->conf->acs_freq_list_present) in hostapd_drv_do_acs()
1146 acs_ch_list_all = !hapd->iface->conf->acs_freq_list.num; in hostapd_drv_do_acs()
1148 acs_ch_list_all = !hapd->iface->conf->acs_ch_list.num; in hostapd_drv_do_acs()
1171 params.edmg_enabled = hapd->iface->conf->enable_edmg; in hostapd_drv_do_acs()
1173 params.ht_enabled = !!(hapd->iface->conf->ieee80211n); in hostapd_drv_do_acs()
1174 params.ht40_enabled = !!(hapd->iface->conf->ht_capab & in hostapd_drv_do_acs()
1176 params.vht_enabled = !!(hapd->iface->conf->ieee80211ac); in hostapd_drv_do_acs()
1177 params.eht_enabled = !!(hapd->iface->conf->ieee80211be); in hostapd_drv_do_acs()
1179 if (hapd->iface->conf->ieee80211n && params.ht40_enabled) in hostapd_drv_do_acs()
1184 if ((hapd->iface->conf->ieee80211be || in hostapd_drv_do_acs()
1185 hapd->iface->conf->ieee80211ax || in hostapd_drv_do_acs()
1186 hapd->iface->conf->ieee80211ac) && in hostapd_drv_do_acs()
1190 oper_chwidth = hostapd_get_oper_chwidth(hapd->iface->conf); in hostapd_drv_do_acs()
1200 if (hapd->iface->conf->op_class) in hostapd_drv_do_acs()
1202 hapd->iface->conf->op_class); in hostapd_drv_do_acs()