Home
last modified time | relevance | path

Searched refs:oper_chwidth (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dneighbor_db.c209 enum oper_chan_width oper_chwidth, in hostapd_get_nr_chan_width() argument
216 if ((!vht && !he) || oper_chwidth == CONF_OPER_CHWIDTH_USE_HT) in hostapd_get_nr_chan_width()
218 if (oper_chwidth == CONF_OPER_CHWIDTH_80MHZ) in hostapd_get_nr_chan_width()
220 if (oper_chwidth == CONF_OPER_CHWIDTH_160MHZ) in hostapd_get_nr_chan_width()
222 if (oper_chwidth == CONF_OPER_CHWIDTH_80P80MHZ) in hostapd_get_nr_chan_width()
240 enum oper_chan_width oper_chwidth; in hostapd_neighbor_set_own_report() local
279 hostapd_get_oper_chan_info_of_bss(hapd, &oper_chwidth, in hostapd_neighbor_set_own_report()
284 oper_chwidth == CONF_OPER_CHWIDTH_USE_HT) in hostapd_neighbor_set_own_report()
289 oper_chwidth, in hostapd_neighbor_set_own_report()
293 width = hostapd_get_nr_chan_width(hapd, ht, vht, he, oper_chwidth, in hostapd_neighbor_set_own_report()
H A Dieee802_11_vht.c86 enum oper_chan_width oper_chwidth = in hostapd_eid_vht_operation() local
105 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_vht_operation()
110 &oper_chwidth, &seg0, &seg1); in hostapd_eid_vht_operation()
122 oper->vht_op_info_chwidth = oper_chwidth; in hostapd_eid_vht_operation()
123 if (oper_chwidth == CONF_OPER_CHWIDTH_160MHZ) { in hostapd_eid_vht_operation()
136 } else if (oper_chwidth == CONF_OPER_CHWIDTH_80P80MHZ) { in hostapd_eid_vht_operation()
H A Dinterference.c462 enum oper_chan_width oper_chwidth; in hostapd_incumbt_sig_intf_detected() local
475 oper_chwidth = chan_width_to_oper_chwidth(chan_width); in hostapd_incumbt_sig_intf_detected()
480 &oper_chwidth, &seg0, &seg1); in hostapd_incumbt_sig_intf_detected()
481 if (oper_chwidth == CONF_OPER_CHWIDTH_160MHZ) in hostapd_incumbt_sig_intf_detected()
483 else if (oper_chwidth == CONF_OPER_CHWIDTH_80MHZ) in hostapd_incumbt_sig_intf_detected()
H A Dieee802_11_he.c208 enum oper_chan_width oper_chwidth = in hostapd_eid_he_operation() local
217 oper_chwidth = hostapd_get_oper_chwidth(hapd->iconf); in hostapd_eid_he_operation()
222 &oper_chwidth, &seg0, &seg1); in hostapd_eid_he_operation()
254 if (oper_chwidth == CONF_OPER_CHWIDTH_160MHZ || in hostapd_eid_he_operation()
255 oper_chwidth == CONF_OPER_CHWIDTH_320MHZ) { in hostapd_eid_he_operation()
H A Dap_config.h1342 enum oper_chan_width oper_chwidth) in hostapd_set_oper_chwidth() argument
1346 conf->eht_oper_chwidth = oper_chwidth; in hostapd_set_oper_chwidth()
1347 if (oper_chwidth == CONF_OPER_CHWIDTH_320MHZ) in hostapd_set_oper_chwidth()
1348 oper_chwidth = CONF_OPER_CHWIDTH_160MHZ; in hostapd_set_oper_chwidth()
1352 conf->he_oper_chwidth = oper_chwidth; in hostapd_set_oper_chwidth()
1354 conf->vht_oper_chwidth = oper_chwidth; in hostapd_set_oper_chwidth()
H A Dap_drv_ops.c652 int sec_channel_offset, int oper_chwidth, in hostapd_set_freq() argument
661 sec_channel_offset, oper_chwidth, in hostapd_set_freq()
1079 int sec_channel_offset, int oper_chwidth, in hostapd_start_dfs_cac() argument
1101 oper_chwidth, center_segment0, in hostapd_start_dfs_cac()
1287 enum oper_chan_width oper_chwidth; in hostapd_drv_do_acs() local
1289 oper_chwidth = hostapd_get_oper_chwidth(hapd->iface->conf); in hostapd_drv_do_acs()
1290 if (oper_chwidth == CONF_OPER_CHWIDTH_80MHZ) in hostapd_drv_do_acs()
1292 else if (oper_chwidth == CONF_OPER_CHWIDTH_160MHZ || in hostapd_drv_do_acs()
1293 oper_chwidth == CONF_OPER_CHWIDTH_80P80MHZ) in hostapd_drv_do_acs()
1295 else if (oper_chwidth == CONF_OPER_CHWIDTH_320MHZ) in hostapd_drv_do_acs()
H A Dhw_features.c1090 int central, oper_chwidth, err; in hostapd_is_usable_chan_seg() local
1093 oper_chwidth = hostapd_get_oper_chwidth(iface->conf); in hostapd_is_usable_chan_seg()
1096 switch (oper_chwidth) { in hostapd_is_usable_chan_seg()
1130 if (oper_chwidth != CONF_OPER_CHWIDTH_80P80MHZ) in hostapd_is_usable_chan_seg()
1168 int err, err2, central, oper_chwidth; in hostapd_is_usable_chans() local
1188 oper_chwidth = hostapd_get_oper_chwidth(iface->conf); in hostapd_is_usable_chans()
1197 oper_chwidth != CONF_OPER_CHWIDTH_USE_HT && central) in hostapd_is_usable_chans()
H A Ddfs.c1313 int oper_chwidth; in dfs_downgrade_bandwidth() local
1315 oper_chwidth = hostapd_get_oper_chwidth(iface->conf); in dfs_downgrade_bandwidth()
1316 if (oper_chwidth == CONF_OPER_CHWIDTH_USE_HT) in dfs_downgrade_bandwidth()
1319 hostapd_set_oper_chwidth(iface->conf, oper_chwidth - 1); in dfs_downgrade_bandwidth()
H A Dap_drv_ops.h76 bool eht_enabled, int sec_channel_offset, int oper_chwidth,
142 int sec_channel_offset, int oper_chwidth,
/freebsd/contrib/wpa/src/common/
H A Dhw_features_common.c484 enum oper_chan_width oper_chwidth, in hostapd_set_freq_params() argument
510 if (oper_chwidth == CONF_OPER_CHWIDTH_80MHZ) in hostapd_set_freq_params()
512 else if (oper_chwidth == CONF_OPER_CHWIDTH_160MHZ || in hostapd_set_freq_params()
513 oper_chwidth == CONF_OPER_CHWIDTH_80P80MHZ) in hostapd_set_freq_params()
515 else if (oper_chwidth == CONF_OPER_CHWIDTH_320MHZ) in hostapd_set_freq_params()
596 if (data->eht_enabled) switch (oper_chwidth) { in hostapd_set_freq_params()
610 if (data->he_enabled || data->eht_enabled) switch (oper_chwidth) { in hostapd_set_freq_params()
657 } else if (data->vht_enabled) switch (oper_chwidth) { in hostapd_set_freq_params()
681 oper_chwidth_legacy = oper_chwidth; in hostapd_set_freq_params()
690 data->vht_enabled) switch (oper_chwidth) { in hostapd_set_freq_params()
[all …]
H A Dhw_features_common.h46 enum oper_chan_width oper_chwidth,