Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/wpa/src/ap/
H A Dbeacon.c92 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params()
139 if (!hapd->iconf->ieee80211h && in hostapd_eid_pwr_constraint()
412 hapd->iconf->secondary_channel, in hostapd_eid_supported_op_classes()
491 host_to_le16(hapd->iconf->beacon_int); in hostapd_gen_probe_resp()
863 if (hapd->iconf->track_sta_max_num) in handle_probe_req()
1198 switch (hapd->iconf->op_class) { in hostapd_fils_discovery_cap()
1226 if (hapd->iconf->secondary_channel) in hostapd_fils_discovery_cap()
1845 iconf->channel, iconf->enable_edmg, in __ieee802_11_set_beacon()
1846 iconf->edmg_channel, iconf->ieee80211n, in __ieee802_11_set_beacon()
1847 iconf->ieee80211ac, iconf->ieee80211ax, in __ieee802_11_set_beacon()
[all …]
H A Dneighbor_db.c202 u8 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_get_nr_chan_width()
206 if (!hapd->iconf->secondary_channel) in hostapd_get_nr_chan_width()
225 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_neighbor_set_own_report()
226 int vht = hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac; in hostapd_neighbor_set_own_report()
227 int he = hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax; in hostapd_neighbor_set_own_report()
270 hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
271 hostapd_get_oper_chwidth(hapd->iconf), in hostapd_neighbor_set_own_report()
278 hapd->iconf); in hostapd_neighbor_set_own_report()
282 hapd->iconf); in hostapd_neighbor_set_own_report()
285 10 * hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
[all …]
H A Dieee802_11_vht.c29 if (!mode || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_capabilities()
79 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_operation()
94 hapd->iconf->vht_oper_centr_freq_seg0_idx; in hostapd_eid_vht_operation()
96 hapd->iconf->vht_oper_centr_freq_seg1_idx; in hostapd_eid_vht_operation()
98 oper->vht_op_info_chwidth = hapd->iconf->vht_oper_chwidth; in hostapd_eid_vht_operation()
99 if (hapd->iconf->vht_oper_chwidth == 2) { in hostapd_eid_vht_operation()
107 if (hapd->iconf->channel < in hostapd_eid_vht_operation()
108 hapd->iconf->vht_oper_centr_freq_seg0_idx) in hostapd_eid_vht_operation()
112 } else if (hapd->iconf->vht_oper_chwidth == 3) { in hostapd_eid_vht_operation()
175 !hapd->iconf->ieee80211ac || hapd->conf->disable_11ac || in copy_sta_vht_capab()
[all …]
H A Dieee802_11_ht.c29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || 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()
473 if (hapd->iconf->ieee80211n) { in update_sta_no_ht()
518 if (!(hapd->iconf->ht_capab & HT_CAP_INFO_RX_STBC_MASK)) in hostapd_get_ht_capab()
[all …]
H A Ddrv_callbacks.c936 hapd->iconf->channel = channel; in hostapd_event_ch_switch()
937 hapd->iconf->ieee80211n = ht; in hostapd_event_ch_switch()
939 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
944 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
973 hapd->iconf->vht_capab |= in hostapd_event_ch_switch()
976 hapd->iconf->vht_capab |= in hostapd_event_ch_switch()
1063 if (hapd->iconf->channel) { in hostapd_acs_channel_selected()
1065 hapd->iconf->channel); in hostapd_acs_channel_selected()
1116 hapd->iconf->acs = 1; in hostapd_acs_channel_selected()
1140 hapd->iconf, in hostapd_acs_channel_selected()
[all …]
H A Dieee802_11_he.c174 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_operation()
213 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_eid_he_operation()
214 u8 seg0 = hostapd_get_oper_centr_freq_seg0_idx(hapd->iconf); in hostapd_eid_he_operation()
215 u8 seg1 = hostapd_get_oper_centr_freq_seg1_idx(hapd->iconf); in hostapd_eid_he_operation()
218 seg0 = hapd->iconf->channel; in hostapd_eid_he_operation()
226 *pos++ = hapd->iconf->channel; /* Primary Channel */ in hostapd_eid_he_operation()
235 if (hapd->iconf->he_oper_chwidth == 2) { in hostapd_eid_he_operation()
241 if (hapd->iconf->channel < seg0) in hostapd_eid_he_operation()
346 if (!mode || !is_6ghz_op_class(hapd->iconf->op_class) || in hostapd_eid_he_6ghz_band_cap()
485 if (!he_6ghz_capab || !hapd->iconf->ieee80211ax || in copy_sta_he_6ghz_capab()
[all …]
H A Dhostapd.c111 hapd->iconf->ieee80211ax; in hostapd_reload_bss()
237 oldconf = hapd->iconf; in hostapd_reload_config()
271 hapd->iconf = newconf; in hostapd_reload_config()
282 hapd->iconf, in hostapd_reload_config()
285 hapd->iconf, in hostapd_reload_config()
1178 hapd->iconf->ieee80211ax; in hostapd_setup_bss()
1601 if (hapd->iconf->country[0] && hapd->iconf->country[1]) { in setup_interface()
2064 hapd->iconf->channel, in hostapd_setup_interface_complete_sync()
2073 hapd->iconf), in hostapd_setup_interface_complete_sync()
2075 hapd->iconf))) { in hostapd_setup_interface_complete_sync()
[all …]
H A Dwmm.c77 os_memcpy(acp, hapd->iconf->wmm_ac_params, in wmm_calc_regulatory_limit()
78 sizeof(hapd->iconf->wmm_ac_params)); in wmm_calc_regulatory_limit()
87 wmm_set_regulatory_limit(hapd->iconf->wmm_ac_params, in wmm_calc_regulatory_limit()
97 sizeof(hapd->iconf->wmm_ac_params)) != 0) { in wmm_calc_regulatory_limit()
99 sizeof(hapd->iconf->wmm_ac_params)); in wmm_calc_regulatory_limit()
H A Dieee802_11.c117 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_supp_rates()
119 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_supp_rates()
143 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht && count < 8) { in hostapd_eid_supp_rates()
148 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht && count < 8) { in hostapd_eid_supp_rates()
172 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_ext_supp_rates()
174 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_ext_supp_rates()
199 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) { in hostapd_eid_ext_supp_rates()
205 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) { in hostapd_eid_ext_supp_rates()
3706 other->iconf->channel), in handle_auth()
4500 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht && in check_assoc_ies()
[all …]
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()
1164 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1166 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
1335 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_init_wps()
2070 hapd->iconf->channel); in hostapd_wps_nfc_config_token()
H A Dieee802_11_shared.c348 if (hapd->iconf->obss_interval) in hostapd_ext_capab_byte()
415 if (hapd->iconf->ieee80211ax && in hostapd_ext_capab_byte()
740 mbo[3] = hapd->iconf->rssi_reject_assoc_timeout; in hostapd_eid_mbo_rssi_assoc_rej()
H A Dwpa_auth_glue.c38 struct hostapd_config *iconf, in hostapd_wpa_auth_conf() argument
118 iconf->corrupt_gtk_rekey_mic_probability; in hostapd_wpa_auth_conf()
1493 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &_conf); in hostapd_setup_wpa()
1594 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &wpa_auth_conf); in hostapd_reconfig_wpa()
H A Dhostapd.h157 struct hostapd_config *iconf; member
H A Dwnm_ap.c723 beacon_int = hapd->iconf->beacon_int; in set_disassoc_timer()
H A Dhw_features.c104 int dfs_enabled = hapd->iconf->ieee80211h && in hostapd_get_hw_features()
H A Dctrl_iface_ap.c813 hapd->iconf->ht_capab); in hostapd_ctrl_iface_status()
H A Dieee802_1x.c1739 beacon_int = hapd->iconf->beacon_int; in ieee802_1x_hs20_session_info()
/freebsd-13.1/sys/dev/cxgbe/
H A Dt4_filter.c513 int rc, iconf; in set_filter_mode() local
516 iconf = mode_to_iconf(mode); in set_filter_mode()
518 if ((iconf == -1 || iconf == tp->vnic_mode) && fconf == tp->filter_mode) in set_filter_mode()
545 rc = -t4_set_filter_cfg(sc, fconf, -1, iconf); in set_filter_mode()
555 int rc, iconf; in set_filter_mask() local
558 iconf = mode_to_iconf(mode); in set_filter_mask()
560 if ((iconf == -1 || iconf == tp->vnic_mode) && fmask == tp->filter_mask) in set_filter_mask()
569 if (iconf != -1 && iconf != tp->vnic_mode) in set_filter_mask()
/freebsd-13.1/contrib/wpa/hostapd/
H A Dmain.c192 params.driver_params = hapd->iconf->driver_params; in hostapd_driver_init()
H A Dctrl_iface.c1536 ret = hostapd_set_iface(hapd->iconf, hapd->conf, cmd, value); in hostapd_ctrl_iface_set()
4640 res = hostapd_set_iface(dst_hapd->iconf, dst_hapd->conf, param, value); in hostapd_ctrl_iface_dup_param()
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Dmesh.c488 bss->iconf = conf; in wpa_supplicant_mesh_init()
H A Dmesh_mpm.c254 if (is_6ghz_op_class(bss->iconf->op_class)) in mesh_mpm_send_plink_action()