Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dneighbor_db.c144 u8 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_get_nr_chan_width()
148 if (!hapd->iconf->secondary_channel) in hostapd_get_nr_chan_width()
167 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_neighbor_set_own_report()
168 int vht = hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac; in hostapd_neighbor_set_own_report()
169 int he = hapd->iconf->ieee80211ax; in hostapd_neighbor_set_own_report()
210 hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
211 hostapd_get_oper_chwidth(hapd->iconf), in hostapd_neighbor_set_own_report()
218 hapd->iconf); in hostapd_neighbor_set_own_report()
222 hapd->iconf); in hostapd_neighbor_set_own_report()
225 10 * hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
[all …]
Dieee802_11_vht.c91 hapd->iconf->vht_oper_centr_freq_seg0_idx; in hostapd_eid_vht_operation()
93 hapd->iconf->vht_oper_centr_freq_seg1_idx; in hostapd_eid_vht_operation()
95 oper->vht_op_info_chwidth = hapd->iconf->vht_oper_chwidth; in hostapd_eid_vht_operation()
96 if (hapd->iconf->vht_oper_chwidth == 2) { in hostapd_eid_vht_operation()
104 if (hapd->iconf->channel < in hostapd_eid_vht_operation()
105 hapd->iconf->vht_oper_centr_freq_seg0_idx) in hostapd_eid_vht_operation()
109 } else if (hapd->iconf->vht_oper_chwidth == 3) { in hostapd_eid_vht_operation()
223 struct hostapd_config *iconf = iface->conf; in hostapd_eid_txpower_envelope() local
246 if (iconf->secondary_channel == 0) { in hostapd_eid_txpower_envelope()
283 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_txpower_envelope()
[all …]
Dbeacon.c102 hapd->iconf->preamble == LONG_PREAMBLE) in ieee802_11_erp_info()
113 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params()
160 if (!hapd->iconf->ieee80211h && in hostapd_eid_pwr_constraint()
161 hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
172 if (dfs == 0 && hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
183 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
204 *pos++ = hapd->iconf->local_pwr_constraint; in hostapd_eid_pwr_constraint()
238 if (!hapd->iconf->ieee80211d || max_len < 6 || in hostapd_eid_country()
244 os_memcpy(pos, hapd->iconf->country, 3); /* e.g., 'US ' */ in hostapd_eid_country()
307 if (hapd->iface->cs_oper_class && hapd->iconf->ecsa_ie_only) in hostapd_eid_csa()
[all …]
Dieee802_11_ht.c29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || 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()
96 oper->primary_chan = hapd->iconf->channel; in hostapd_eid_ht_operation()
98 if (hapd->iconf->secondary_channel == 1) in hostapd_eid_ht_operation()
101 if (hapd->iconf->secondary_channel == -1) in hostapd_eid_ht_operation()
388 !hapd->iconf->ieee80211n || hapd->conf->disable_11n) { in copy_sta_ht_capab()
495 if (hapd->iconf->ieee80211n) { in update_sta_no_ht()
[all …]
Ddrv_callbacks.c802 freq, ht, hapd->iconf->ch_switch_vht_config, offset, in hostapd_event_ch_switch()
853 hapd->iconf->channel = channel; in hostapd_event_ch_switch()
854 hapd->iconf->ieee80211n = ht; in hostapd_event_ch_switch()
856 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
857 } else if (hapd->iconf->ch_switch_vht_config) { in hostapd_event_ch_switch()
859 if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
861 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
862 else if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
864 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
866 hapd->iconf->ch_switch_vht_config = 0; in hostapd_event_ch_switch()
[all …]
Dhostapd.c104 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n; in hostapd_reload_bss()
226 oldconf = hapd->iconf; in hostapd_reload_config()
260 hapd->iconf = newconf; in hostapd_reload_config()
261 hapd->iconf->channel = oldconf->channel; in hostapd_reload_config()
262 hapd->iconf->acs = oldconf->acs; in hostapd_reload_config()
263 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
264 hapd->iconf->ieee80211n = oldconf->ieee80211n; in hostapd_reload_config()
265 hapd->iconf->ieee80211ac = oldconf->ieee80211ac; in hostapd_reload_config()
266 hapd->iconf->ht_capab = oldconf->ht_capab; in hostapd_reload_config()
267 hapd->iconf->vht_capab = oldconf->vht_capab; in hostapd_reload_config()
[all …]
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()
Dieee802_11.c97 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_supp_rates()
99 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_supp_rates()
117 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht && count < 8) { in hostapd_eid_supp_rates()
122 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht && count < 8) { in hostapd_eid_supp_rates()
140 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) in hostapd_eid_ext_supp_rates()
142 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) in hostapd_eid_ext_supp_rates()
161 if (hapd->iconf->ieee80211n && hapd->iconf->require_ht) { in hostapd_eid_ext_supp_rates()
167 if (hapd->iconf->ieee80211ac && hapd->iconf->require_vht) { in hostapd_eid_ext_supp_rates()
193 hapd->iconf->preamble == SHORT_PREAMBLE) in hostapd_own_capab_info()
227 (hapd->iconf->spectrum_mgmt_required || dfs)) in hostapd_own_capab_info()
[all …]
Dairtime_policy.c61 sta->backlogged_until.usec += hapd->iconf->airtime_update_interval * in set_new_backlog_time()
242 if (hapd->iconf->airtime_mode == AIRTIME_MODE_STATIC) { in airtime_policy_new_sta()
Dbss_load.c23 unsigned int beacon_int = hapd->iconf->beacon_int; in get_bss_load_update_timeout()
Dwps_hostapd.c345 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_reconfig_in_memory()
575 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
893 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
895 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1094 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1096 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
1876 hapd->iconf->channel); in hostapd_wps_nfc_config_token()
Dieee802_11_shared.c316 if (hapd->iconf->obss_interval) in hostapd_ext_capab_byte()
413 if (len < 1 && hapd->iconf->obss_interval) in hostapd_eid_ext_capab()
724 mbo[3] = hapd->iconf->rssi_reject_assoc_timeout; in hostapd_eid_mbo_rssi_assoc_rej()
Dwpa_auth_glue.c37 struct hostapd_config *iconf, in hostapd_wpa_auth_conf() argument
117 iconf->corrupt_gtk_rekey_mic_probability; in hostapd_wpa_auth_conf()
1303 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &_conf); in hostapd_setup_wpa()
1366 hostapd_wpa_auth_conf(hapd->conf, hapd->iconf, &wpa_auth_conf); in hostapd_reconfig_wpa()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dbeacon.c81 hapd->iconf->preamble == LONG_PREAMBLE) in ieee802_11_erp_info()
92 *eid++ = hapd->iconf->channel; in hostapd_eid_ds_params()
139 if (!hapd->iconf->ieee80211h && in hostapd_eid_pwr_constraint()
140 hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
151 if (dfs == 0 && hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
162 if (hapd->iconf->local_pwr_constraint == -1) in hostapd_eid_pwr_constraint()
183 *pos++ = hapd->iconf->local_pwr_constraint; in hostapd_eid_pwr_constraint()
217 if (!hapd->iconf->ieee80211d || max_len < 6 || in hostapd_eid_country()
223 os_memcpy(pos, hapd->iconf->country, 3); /* e.g., 'US ' */ in hostapd_eid_country()
370 if (hapd->iface->cs_oper_class && hapd->iconf->ecsa_ie_only) in hostapd_eid_csa()
[all …]
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 …]
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 …]
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 …]
Ddrv_callbacks.c875 freq, ht, hapd->iconf->ch_switch_vht_config, in hostapd_event_ch_switch()
876 hapd->iconf->ch_switch_he_config, offset, in hostapd_event_ch_switch()
936 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()
940 } else if (hapd->iconf->ch_switch_vht_config) { in hostapd_event_ch_switch()
942 if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
944 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
945 else if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
947 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
[all …]
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()
456 !hapd->iconf->ieee80211ax || hapd->conf->disable_11ax || in copy_sta_he_capab()
[all …]
Dhostapd.c110 hapd->conf->wmm_enabled = hapd->iconf->ieee80211n | in hostapd_reload_bss()
111 hapd->iconf->ieee80211ax; in hostapd_reload_bss()
237 oldconf = hapd->iconf; in hostapd_reload_config()
271 hapd->iconf = newconf; in hostapd_reload_config()
272 hapd->iconf->channel = oldconf->channel; in hostapd_reload_config()
273 hapd->iconf->acs = oldconf->acs; in hostapd_reload_config()
274 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
275 hapd->iconf->ieee80211n = oldconf->ieee80211n; in hostapd_reload_config()
276 hapd->iconf->ieee80211ac = oldconf->ieee80211ac; in hostapd_reload_config()
277 hapd->iconf->ht_capab = oldconf->ht_capab; in hostapd_reload_config()
[all …]
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()
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()
258 hapd->iconf->preamble == SHORT_PREAMBLE) in hostapd_own_capab_info()
294 (hapd->iconf->spectrum_mgmt_required || dfs)) in hostapd_own_capab_info()
[all …]
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()
Dbss_load.c23 unsigned int beacon_int = hapd->iconf->beacon_int; in get_bss_load_update_timeout()
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()

12