Home
last modified time | relevance | path

Searched refs:iconf (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/wpa/src/ap/
H A Dbeacon.c82 hapd->iconf->preamble == LONG_PREAMBLE) in ieee802_11_erp_info()
91 enum hostapd_hw_mode hw_mode = hapd->iconf->hw_mode; in hostapd_eid_ds_params()
99 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params()
146 if (!hapd->iconf->ieee80211h && in hostapd_eid_pwr_constraint()
147 hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
158 if (dfs == 0 && hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
169 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
190 *pos++ = hapd->iconf->local_pwr_constraint; in hostapd_eid_pwr_constraint()
209 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_country_add()
266 if (!hapd->iconf->ieee80211d || max_len < 6 || in hostapd_eid_country()
[all …]
H A Dneighbor_db.c211 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_get_nr_chan_width()
215 if (!hapd->iconf->secondary_channel) in hostapd_get_nr_chan_width()
234 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_neighbor_set_own_report()
235 int vht = hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac; in hostapd_neighbor_set_own_report()
236 int he = hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax; in hostapd_neighbor_set_own_report()
237 bool eht = he && hapd->iconf->ieee80211be && !hapd->conf->disable_11be; in hostapd_neighbor_set_own_report()
282 hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
283 hostapd_get_oper_chwidth(hapd->iconf), in hostapd_neighbor_set_own_report()
290 hapd->iconf); in hostapd_neighbor_set_own_report()
294 hapd->iconf); in hostapd_neighbor_set_own_report()
[all …]
H A Dieee802_11_ht.c29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities()
30 hapd->conf->disable_11n || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_ht_capabilities()
38 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); in hostapd_eid_ht_capabilities()
49 if (hapd->iconf->obss_interval) { in hostapd_eid_ht_capabilities()
58 host_to_le16(hapd->iconf->obss_interval); in hostapd_eid_ht_capabilities()
87 if (!hapd->iconf->ieee80211n || hapd->conf->disable_11n || in hostapd_eid_ht_operation()
88 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_ht_operation()
97 oper->primary_chan = hapd->iconf->channel; in hostapd_eid_ht_operation()
99 if (hapd->iconf->secondary_channel == 1) in hostapd_eid_ht_operation()
102 if (hapd->iconf->secondary_channel == -1) in hostapd_eid_ht_operation()
[all …]
H A Dieee802_11_he.c182 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_operation()
222 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_eid_he_operation()
224 hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_he_operation()
225 u8 seg0 = hapd->iconf->he_oper_centr_freq_seg0_idx; in hostapd_eid_he_operation()
226 u8 seg1 = hostapd_get_oper_centr_freq_seg1_idx(hapd->iconf); in hostapd_eid_he_operation()
233 hapd->iconf->channel, in hostapd_eid_he_operation()
239 seg0 = hapd->iconf->channel; in hostapd_eid_he_operation()
247 *pos++ = hapd->iconf->channel; /* Primary Channel */ in hostapd_eid_he_operation()
260 control |= hapd->iconf->he_6ghz_reg_pwr_type << in hostapd_eid_he_operation()
273 if (hapd->iconf->channel < seg0) in hostapd_eid_he_operation()
[all …]
H A Dieee802_11_vht.c30 if (!mode || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_capabilities()
80 hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_vht_operation()
81 u8 seg0 = hapd->iconf->vht_oper_centr_freq_seg0_idx; in hostapd_eid_vht_operation()
82 u8 seg1 = hapd->iconf->vht_oper_centr_freq_seg1_idx; in hostapd_eid_vht_operation()
87 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_operation()
99 hapd->iconf->channel, in hostapd_eid_vht_operation()
121 if (hapd->iconf->channel < in hostapd_eid_vht_operation()
122 hapd->iconf->vht_oper_centr_freq_seg0_idx) in hostapd_eid_vht_operation()
189 !hapd->iconf->ieee80211ac || hapd->conf->disable_11ac || in copy_sta_vht_capab()
322 own_cap = hapd->iconf->vht_capab; in hostapd_get_vht_capab()
H A Ddrv_callbacks.c1136 freq, ht, hapd->iconf->ch_switch_vht_config, in hostapd_event_ch_switch()
1137 hapd->iconf->ch_switch_he_config, in hostapd_event_ch_switch()
1138 hapd->iconf->ch_switch_eht_config, offset, in hostapd_event_ch_switch()
1210 hapd->iconf->channel = channel; in hostapd_event_ch_switch()
1211 hapd->iconf->ieee80211n = ht; in hostapd_event_ch_switch()
1213 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
1214 if (hapd->iconf->ch_switch_vht_config) { in hostapd_event_ch_switch()
1216 if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
1218 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1219 else if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
[all …]
H A Dhostapd.c98 if (hapd->iconf->mbssid) in hostapd_mbssid_get_tx_bss()
107 if (hapd->iconf->mbssid) { in hostapd_mbssid_get_bss_index()
139 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n | in hostapd_reload_bss()
140 hapd->iconf->ieee80211ax; in hostapd_reload_bss()
273 oldconf = hapd->iconf; in hostapd_reload_config()
313 hapd->iconf = newconf; in hostapd_reload_config()
314 hapd->iconf->channel = oldconf->channel; in hostapd_reload_config()
315 hapd->iconf->acs = oldconf->acs; in hostapd_reload_config()
316 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
317 hapd->iconf->ieee80211n = oldconf->ieee80211n; in hostapd_reload_config()
[all …]
H A Dieee802_11.c130 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()
[all …]
H A Dieee802_11_eht.c124 len += ieee80211_eht_mcs_set_size(mode->mode, hapd->iconf->op_class, in hostapd_eid_eht_capab_len()
125 hapd->iconf->he_oper_chwidth, in hostapd_eid_eht_capab_len()
161 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_eht_capab()
179 hapd->iconf->op_class, in hostapd_eid_eht_capab()
180 hapd->iconf->he_oper_chwidth, in hostapd_eid_eht_capab()
203 struct hostapd_config *conf = hapd->iconf; in hostapd_eid_eht_operation()
235 if (hapd->iconf->eht_default_pe_duration) in hostapd_eid_eht_operation()
254 if (hapd->iconf->channel < seg0) in hostapd_eid_eht_operation()
262 if (hapd->iconf->channel < seg0) in hostapd_eid_eht_operation()
278 oper->oper_info.ccfs0 = seg0 ? seg0 : hapd->iconf->channel; in hostapd_eid_eht_operation()
[all …]
H A Dwmm.c70 os_memcpy(acp, hapd->iconf->wmm_ac_params, in wmm_calc_regulatory_limit()
71 sizeof(hapd->iconf->wmm_ac_params)); in wmm_calc_regulatory_limit()
80 wmm_set_regulatory_limit(hapd->iconf->wmm_ac_params, in wmm_calc_regulatory_limit()
90 sizeof(hapd->iconf->wmm_ac_params)) != 0) { in wmm_calc_regulatory_limit()
92 sizeof(hapd->iconf->wmm_ac_params)); in wmm_calc_regulatory_limit()
H A Dieee802_11_shared.c372 if (hapd->iconf->obss_interval) in hostapd_ext_capab_byte()
390 if (hapd->iconf->mbssid) in hostapd_ext_capab_byte()
465 if (hapd->iconf->mbssid == ENHANCED_MBSSID_ENABLED) in hostapd_ext_capab_byte()
509 if (i == 10 && hapd->iconf->mbssid < ENHANCED_MBSSID_ENABLED) in hostapd_eid_ext_capab()
511 if (i == 2 && !hapd->iconf->mbssid) in hostapd_eid_ext_capab()
786 mbo[3] = hapd->iconf->rssi_reject_assoc_timeout; in hostapd_eid_mbo_rssi_assoc_rej()
1223 return hapd->iconf->ht_vht_twt_responder && in hostapd_get_ht_vht_twt_responder()
1224 ((hapd->iconf->ieee80211n && !hapd->conf->disable_11n) || in hostapd_get_ht_vht_twt_responder()
1225 (hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac)) && in hostapd_get_ht_vht_twt_responder()
H A Dctrl_iface_ap.c788 struct hostapd_config *iconf = hapd->iconf; in hostapd_ctrl_iface_status() local
831 if (iconf->country[0] && iconf->country[1]) { in hostapd_ctrl_iface_status()
834 iconf->country[0], iconf->country[1], in hostapd_ctrl_iface_status()
835 iconf->country[2]); in hostapd_ctrl_iface_status()
965 if (!iconf->he_op.he_bss_color_disabled && in hostapd_ctrl_iface_status()
966 iconf->he_op.he_bss_color) { in hostapd_ctrl_iface_status()
969 iconf->he_op.he_bss_color); in hostapd_ctrl_iface_status()
1008 hapd->iconf->ht_capab); in hostapd_ctrl_iface_status()
H A Dairtime_policy.c61 sta->backlogged_until.usec += hapd->iconf->airtime_update_interval * in set_new_backlog_time()
246 if (hapd->iconf->airtime_mode == AIRTIME_MODE_STATIC) { in airtime_policy_new_sta()
H A Dbss_load.c23 unsigned int beacon_int = hapd->iconf->beacon_int; in get_bss_load_update_timeout()
H A Dwps_hostapd.c393 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_reconfig_in_memory()
625 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
947 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
949 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1165 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1167 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
1336 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_init_wps()
2071 hapd->iconf->channel); in hostapd_wps_nfc_config_token()
H A Dwpa_auth_glue.c39 struct hostapd_config *iconf, in hostapd_wpa_auth_conf() argument
120 iconf->corrupt_gtk_rekey_mic_probability; in hostapd_wpa_auth_conf()
121 wconf->delay_eapol_tx = iconf->delay_eapol_tx; in hostapd_wpa_auth_conf()
1665 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &_conf); in hostapd_setup_wpa()
1791 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &wpa_auth_conf); in hostapd_reconfig_wpa()
H A Dwnm_ap.c743 if (!hapd->iconf->ieee80211ax || hapd->conf->disable_11ax) in ieee802_11_rx_wnm_event_report()
759 if (!hapd->iconf->ieee80211ax || hapd->conf->disable_11ax) in ieee802_11_rx_wnm_event_report()
892 beacon_int = hapd->iconf->beacon_int; in set_disassoc_timer()
H A Dhostapd.h175 struct hostapd_config *iconf; member
H A Dhw_features.c119 int dfs_enabled = hapd->iconf->ieee80211h && in hostapd_get_hw_features()
H A Dap_drv_ops.c1136 if (hapd->conf->mld_ap && hapd->iconf->ieee80211be && in hostapd_drv_do_acs()
/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c511 int rc, iconf; in set_filter_mode() local
514 iconf = mode_to_iconf(mode); in set_filter_mode()
516 if ((iconf == -1 || iconf == tp->vnic_mode) && fconf == tp->filter_mode) in set_filter_mode()
543 rc = -t4_set_filter_cfg(sc, fconf, -1, iconf); in set_filter_mode()
553 int rc, iconf; in set_filter_mask() local
556 iconf = mode_to_iconf(mode); in set_filter_mask()
558 if ((iconf == -1 || iconf == tp->vnic_mode) && fmask == tp->filter_mask) in set_filter_mask()
567 if (iconf != -1 && iconf != tp->vnic_mode) in set_filter_mask()
/freebsd/contrib/wpa/hostapd/
H A Dmain.c242 params.driver_params = hapd->iconf->driver_params; in hostapd_driver_init()
H A Dctrl_iface.c1304 ret = hostapd_set_iface(hapd->iconf, hapd->conf, cmd, value); in hostapd_ctrl_iface_set()
5220 res = hostapd_set_iface(dst_hapd->iconf, dst_hapd->conf, param, value); in hostapd_ctrl_iface_dup_param()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh.c489 bss->iconf = conf; in wpa_supplicant_mesh_init()
H A Dmesh_mpm.c255 if (is_6ghz_op_class(bss->iconf->op_class)) in mesh_mpm_send_plink_action()

12