Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/ap/
H A Dafc.c52 struct hostapd_config *iconf = iface->conf; in hostapd_afc_build_location_request() local
53 bool is_ap_indoor = he_reg_is_indoor(iconf->he_6ghz_reg_pwr_type); in hostapd_afc_build_location_request()
62 if (iconf->afc.location.type != AFC_LINEAR_POLYGON) { in hostapd_afc_build_location_request()
64 iconf->afc.location.linear_polygon_data; in hostapd_afc_build_location_request()
83 switch (iconf->afc.location.type) { in hostapd_afc_build_location_request()
87 for (i = 0; i < iconf->afc.location.n_linear_polygon_data; i++) in hostapd_afc_build_location_request()
90 &iconf->afc.location.linear_polygon_data[i]; in hostapd_afc_build_location_request()
102 if (i < iconf->afc.location.n_linear_polygon_data - 1) in hostapd_afc_build_location_request()
116 for (i = 0; i < iconf->afc.location.n_radial_polygon_data; i++) in hostapd_afc_build_location_request()
119 &iconf->afc.location.radial_polygon_data[i]; in hostapd_afc_build_location_request()
[all …]
H A Dieee802_11_vht.c48 if (!mode || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_capabilities()
87 hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_vht_operation()
88 u8 seg0 = hapd->iconf->vht_oper_centr_freq_seg0_idx; in hostapd_eid_vht_operation()
89 u8 seg1 = hapd->iconf->vht_oper_centr_freq_seg1_idx; in hostapd_eid_vht_operation()
94 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_operation()
105 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_vht_operation()
106 seg0 = hostapd_get_oper_centr_freq_seg0_idx(hapd->iconf); in hostapd_eid_vht_operation()
107 seg1 = hostapd_get_oper_centr_freq_seg1_idx(hapd->iconf); in hostapd_eid_vht_operation()
109 hapd->iconf->channel, in hostapd_eid_vht_operation()
131 if (hapd->iconf->channel < in hostapd_eid_vht_operation()
[all …]
H A Dieee802_11_ht.c30 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()
85 int secondary_channel = hapd->iconf->secondary_channel; in set_ht_param()
87 enum oper_chan_width chwidth = hostapd_get_oper_chwidth(hapd->iconf); in set_ht_param()
108 chan_bit_pos = (hapd->iconf->channel - in set_ht_param()
109 hostapd_get_oper_centr_freq_seg0_idx(hapd->iconf) + in set_ht_param()
133 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_ht_operation()
142 oper->primary_chan = hapd->iconf->channel; in hostapd_eid_ht_operation()
[all …]
H A Dbeacon.c83 hapd->iconf->preamble == LONG_PREAMBLE) in ieee802_11_erp_info()
92 enum hostapd_hw_mode hw_mode = hapd->iconf->hw_mode; in hostapd_eid_ds_params()
100 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params()
147 if (!hapd->iconf->ieee80211h && in hostapd_eid_pwr_constraint()
148 hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
159 if (dfs == 0 && hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
170 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
191 *pos++ = hapd->iconf->local_pwr_constraint; in hostapd_eid_pwr_constraint()
210 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_country_add()
269 if (!hapd->iconf->ieee80211d || max_len < 6 || in hostapd_eid_country()
[all …]
H A Ddrv_callbacks.c1269 freq, ht, hapd->iconf->ch_switch_vht_config, in hostapd_event_ch_switch()
1270 hapd->iconf->ch_switch_he_config, in hostapd_event_ch_switch()
1271 hapd->iconf->ch_switch_eht_config, offset, in hostapd_event_ch_switch()
1343 hapd->iconf->channel = channel; in hostapd_event_ch_switch()
1344 hapd->iconf->ieee80211n = ht; in hostapd_event_ch_switch()
1346 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
1347 if (hapd->iconf->ch_switch_vht_config) { in hostapd_event_ch_switch()
1349 if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
1351 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1352 else if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
[all …]
H A Dieee802_11_he.c167 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_operation()
207 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_eid_he_operation()
209 hapd->iconf->he_oper_chwidth; in hostapd_eid_he_operation()
210 u8 seg0 = hapd->iconf->he_oper_centr_freq_seg0_idx; in hostapd_eid_he_operation()
211 u8 seg1 = hostapd_get_oper_centr_freq_seg1_idx(hapd->iconf); in hostapd_eid_he_operation()
217 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_he_operation()
219 hapd->iconf); in hostapd_eid_he_operation()
221 hapd->iconf->channel, in hostapd_eid_he_operation()
227 seg0 = hapd->iconf->channel; in hostapd_eid_he_operation()
235 *pos++ = hapd->iconf->channel; /* Primary Channel */ in hostapd_eid_he_operation()
[all …]
H A Dhostapd.c95 if (hapd->iconf->mbssid) in hostapd_mbssid_get_tx_bss()
104 if (hapd->iconf->mbssid) { in hostapd_mbssid_get_bss_index()
136 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n | in hostapd_reload_bss()
137 hapd->iconf->ieee80211ax; in hostapd_reload_bss()
313 oldconf = hapd->iconf; in hostapd_reload_config()
357 hapd->iconf = newconf; in hostapd_reload_config()
358 hapd->iconf->channel = oldconf->channel; in hostapd_reload_config()
359 hapd->iconf->acs = oldconf->acs; in hostapd_reload_config()
360 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
361 hapd->iconf->ieee80211n = oldconf->ieee80211n; in hostapd_reload_config()
[all …]
H A Dneighbor_db.c281 secondary_channel = hapd->iconf->secondary_channel; in hostapd_neighbor_set_own_report()
283 if (center_freq1_idx == hapd->iconf->channel && in hostapd_neighbor_set_own_report()
335 hostapd_neighbor_set(hapd, hapd->own_addr, &ssid, nr, hapd->iconf->lci, in hostapd_neighbor_set_own_report()
336 hapd->iconf->civic, hapd->iconf->stationary_ap, 0); in hostapd_neighbor_set_own_report()
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()
394 if (hapd->iconf->mbssid) in hostapd_ext_capab_byte()
469 if (hapd->iconf->mbssid == ENHANCED_MBSSID_ENABLED) in hostapd_ext_capab_byte()
484 if (hapd->iconf->i2r_lmr_policy) in hostapd_ext_capab_byte()
486 if (hapd->iconf->peer_to_peer_twt) in hostapd_ext_capab_byte()
493 if (hapd->iconf->channel_usage) in hostapd_ext_capab_byte()
526 if (i == 10 && hapd->iconf->mbssid < ENHANCED_MBSSID_ENABLED) in hostapd_eid_ext_capab()
528 if (i == 2 && !hapd->iconf->mbssid) in hostapd_eid_ext_capab()
803 mbo[3] = hapd->iconf->rssi_reject_assoc_timeout; in hostapd_eid_mbo_rssi_assoc_rej()
1268 return hapd->iconf->ht_vht_twt_responder && in hostapd_get_ht_vht_twt_responder()
H A Dieee802_11.c142 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_supp_rates()
145 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_supp_rates()
149 if (hapd->iconf->ieee80211ax && hapd->iconf->require_he) in hostapd_supp_rates()
154 if (hapd->iconf->ieee80211be && !hapd->conf->disable_11be && in hostapd_supp_rates()
155 (hapd->iconf->require_eht || hapd->conf->bss_require_eht)) in hostapd_supp_rates()
250 hapd->iconf->preamble == SHORT_PREAMBLE) in hostapd_own_capab_info()
281 (hapd->iconf->spectrum_mgmt_required || dfs)) in hostapd_own_capab_info()
4242 if (hapd->iconf->ignore_auth_probability > 0.0 && in handle_auth()
4243 drand48() < hapd->iconf->ignore_auth_probability) { in handle_auth()
4416 if (other->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in handle_auth()
[all …]
H A Dctrl_iface_ap.c804 struct hostapd_config *iconf = hapd->iconf; in hostapd_ctrl_iface_status() local
847 if (iconf->country[0] && iconf->country[1]) { in hostapd_ctrl_iface_status()
850 iconf->country[0], iconf->country[1], in hostapd_ctrl_iface_status()
851 iconf->country[2]); in hostapd_ctrl_iface_status()
927 if (hapd->iconf->punct_bitmap) { in hostapd_ctrl_iface_status()
930 hapd->iconf->punct_bitmap); in hostapd_ctrl_iface_status()
996 if (!iconf->he_op.he_bss_color_disabled && in hostapd_ctrl_iface_status()
997 iconf->he_op.he_bss_color) { in hostapd_ctrl_iface_status()
1000 iconf->he_op.he_bss_color); in hostapd_ctrl_iface_status()
1039 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()
251 if (hapd->iconf->airtime_mode == AIRTIME_MODE_STATIC) { in airtime_policy_new_sta()
H A Dhostapd.h197 struct hostapd_config *iconf; member
1008 return hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_is_ht_enabled()
1014 return hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac; in hostapd_is_vht_enabled()
1020 return hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax; in hostapd_is_he_enabled()
1026 return hapd->iconf->ieee80211be && !hapd->conf->disable_11be; in hostapd_is_eht_enabled()
H A Dieee802_11_eht.c108 len += ieee80211_eht_mcs_set_size(mode->mode, hapd->iconf->op_class, in hostapd_eid_eht_capab_len()
144 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_eht_capab()
162 hapd->iconf->op_class, in hostapd_eid_eht_capab()
185 struct hostapd_config *conf = hapd->iconf; in hostapd_eid_eht_operation()
217 if (hapd->iconf->eht_default_pe_duration) in hostapd_eid_eht_operation()
226 if (hapd->iconf->disable_mcs15_rx) in hostapd_eid_eht_operation()
239 if (hapd->iconf->channel < seg0) in hostapd_eid_eht_operation()
247 if (hapd->iconf->channel < seg0) in hostapd_eid_eht_operation()
263 oper->oper_info.ccfs0 = seg0 ? seg0 : hapd->iconf->channel; in hostapd_eid_eht_operation()
319 if (ieee80211_eht_mcs_set_size(mode->mode, hapd->iconf->op_class, in check_valid_eht_mcs()
[all …]
H A Dbss_load.c23 unsigned int beacon_int = hapd->iconf->beacon_int; in get_bss_load_update_timeout()
H A Dwps_hostapd.c394 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_reconfig_in_memory()
626 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
948 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
950 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1167 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1169 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
1338 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_init_wps()
2073 hapd->iconf->channel); in hostapd_wps_nfc_config_token()
H A Dwpa_auth_glue.c114 struct hostapd_config *iconf, in hostapd_wpa_auth_conf() argument
196 iconf->corrupt_gtk_rekey_mic_probability; in hostapd_wpa_auth_conf()
197 wconf->delay_eapol_tx = iconf->delay_eapol_tx; in hostapd_wpa_auth_conf()
1707 if (hapd->iconf->mbssid) { in hostapd_first_sta_seen_mbssid()
1881 hostapd_wpa_auth_conf(hapd->iface, hapd->conf, hapd->iconf, &_conf); in hostapd_setup_wpa()
1948 hostapd_wpa_auth_conf(hapd->iface, hapd->conf, hapd->iconf, in hostapd_reconfig_wpa()
H A Dhw_features.c162 int dfs_enabled = hapd->iconf->ieee80211h && in hostapd_get_hw_features()
316 (!hapd->iconf->ieee80211n || !hapd->iconf->require_ht)) { in hostapd_prepare_rates()
H A Dwnm_ap.c892 beacon_int = hapd->iconf->beacon_int; in set_disassoc_timer()
H A Dap_drv_ops.c1149 bool allow_6g_acs = is_6ghz_op_class(hapd->iconf->op_class) && in hostapd_get_hw_mode_any_channels()
/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c646 int rc, iconf; in set_tcamfilter()
649 iconf = mode_to_iconf(mode); in set_tcamfilter()
651 if ((iconf == -1 || iconf == tp->vnic_mode) && fconf == tp->filter_mode) in set_tcamfilter()
678 rc = -t4_set_filter_cfg(sc, fconf, -1, iconf); in set_tcamfilter()
688 int rc, iconf; in set_tcamfilter()
691 iconf = mode_to_iconf(mode); in set_tcamfilter()
693 if ((iconf == -1 || iconf == tp->vnic_mode) && fmask == tp->filter_mask) in set_tcamfilter()
702 if (iconf ! in set_tcamfilter()
511 int rc, iconf; set_filter_mode() local
553 int rc, iconf; set_filter_mask() local
[all...]
/freebsd/contrib/wpa/hostapd/
H A Dmain.c251 params.driver_params = hapd->iconf->driver_params; in hostapd_driver_init()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh.c500 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