Searched refs:seg0 (Results 1 – 11 of 11) sorted by relevance
/hostap-latest/src/common/ |
D | hw_features_common.c | 384 static void punct_update_legacy_bw_80(u8 bitmap, u8 pri_chan, u8 *seg0) in punct_update_legacy_bw_80() argument 386 u8 first_chan = *seg0 - 6, sec_chan; in punct_update_legacy_bw_80() 390 *seg0 = 0; in punct_update_legacy_bw_80() 398 if (pri_chan < *seg0) in punct_update_legacy_bw_80() 399 *seg0 -= 4; in punct_update_legacy_bw_80() 401 *seg0 += 4; in punct_update_legacy_bw_80() 405 if (pri_chan < *seg0) in punct_update_legacy_bw_80() 411 *seg0 = 0; in punct_update_legacy_bw_80() 416 enum oper_chan_width *width, u8 *seg0) in punct_update_legacy_bw_160() argument 418 if (pri < *seg0) { in punct_update_legacy_bw_160() [all …]
|
D | hw_features_common.h | 39 enum oper_chan_width *width, u8 *seg0, u8 *seg1);
|
/hostap-latest/src/ap/ |
D | ieee802_11_he.c | 225 u8 seg0 = hapd->iconf->he_oper_centr_freq_seg0_idx; in hostapd_eid_he_operation() local 234 &oper_chwidth, &seg0, &seg1); in hostapd_eid_he_operation() 238 if (!seg0) in hostapd_eid_he_operation() 239 seg0 = hapd->iconf->channel; in hostapd_eid_he_operation() 258 control = center_idx_to_bw_6ghz(seg0); in hostapd_eid_he_operation() 272 seg1 = seg0; in hostapd_eid_he_operation() 273 if (hapd->iconf->channel < seg0) in hostapd_eid_he_operation() 274 seg0 -= 8; in hostapd_eid_he_operation() 276 seg0 += 8; in hostapd_eid_he_operation() 279 *pos++ = seg0; in hostapd_eid_he_operation()
|
D | ieee802_11_eht.c | 205 u8 *pos = eid, seg0 = 0, seg1 = 0; in hostapd_eid_eht_operation() local 248 seg0 = hostapd_get_oper_centr_freq_seg0_idx(conf); in hostapd_eid_eht_operation() 253 seg1 = seg0; in hostapd_eid_eht_operation() 254 if (hapd->iconf->channel < seg0) in hostapd_eid_eht_operation() 255 seg0 -= 16; in hostapd_eid_eht_operation() 257 seg0 += 16; in hostapd_eid_eht_operation() 261 seg1 = seg0; in hostapd_eid_eht_operation() 262 if (hapd->iconf->channel < seg0) in hostapd_eid_eht_operation() 263 seg0 -= 8; in hostapd_eid_eht_operation() 265 seg0 += 8; in hostapd_eid_eht_operation() [all …]
|
D | ieee802_11_vht.c | 81 u8 seg0 = hapd->iconf->vht_oper_centr_freq_seg0_idx; in hostapd_eid_vht_operation() local 100 &oper_chwidth, &seg0, &seg1); in hostapd_eid_vht_operation() 109 oper->vht_op_info_chan_center_freq_seg0_idx = seg0; in hostapd_eid_vht_operation()
|
D | ap_config.h | 1369 u8 seg0 = hostapd_get_oper_centr_freq_seg0_idx(conf); in hostapd_set_and_check_bw320_offset() local 1371 conf->eht_bw320_offset = (seg0 - 31) % 64 ? 2 : 1; in hostapd_set_and_check_bw320_offset()
|
D | hostapd.c | 4243 u8 seg0 = 0, seg1 = 0; in hostapd_change_config_freq() local 4321 ieee80211_freq_to_chan(params->center_freq1, &seg0) == in hostapd_change_config_freq() 4328 hostapd_set_oper_centr_freq_seg0_idx(conf, seg0); in hostapd_change_config_freq()
|
/hostap-latest/tests/hwsim/ |
D | test_ap_acs.py | 795 seg0 = int(hapd.get_status_field("eht_oper_centr_freq_seg0_idx")) 802 if seg0 not in chan_1 and seg0 not in chan_2: 803 raise Exception("Unexpected seg0: %d" % seg0) 807 if seg0 not in chan_1: 808 raise Exception("Unexpected seg0: %d" % seg0) 812 if seg0 not in chan_2: 813 raise Exception("Unexpected seg0: %d" % seg0)
|
/hostap-latest/wpa_supplicant/ |
D | rrm.c | 719 u8 seg0, seg1; in wpas_get_op_chan_phy() local 741 seg0 = vht_oper->vht_op_info_chan_center_freq_seg0_idx; in wpas_get_op_chan_phy() 743 if (seg1 && abs(seg1 - seg0) == 8) in wpas_get_op_chan_phy()
|
D | scan.c | 2990 u8 seg0 = ie[3]; in wpas_get_est_tpt() local 2996 (cw == 3 && (seg1 > 0 && abs(seg1 - seg0) == 16))) in wpas_get_est_tpt() 2999 ((seg1 > 0 && abs(seg1 - seg0) == 8) || in wpas_get_est_tpt() 3000 (seg1 > 0 && abs(seg1 - seg0) == 16))) in wpas_get_est_tpt()
|
D | wpa_supplicant.c | 2829 int chwidth, seg0, seg1; in ibss_mesh_setup_freq() local 3057 seg0 = channel + 6; in ibss_mesh_setup_freq() 3073 seg0 = channel + 14; in ibss_mesh_setup_freq() 3117 seg0 = 50; in ibss_mesh_setup_freq() 3121 seg0 = 114; in ibss_mesh_setup_freq() 3125 seg0 = channel + 2; in ibss_mesh_setup_freq() 3128 seg0 = 0; in ibss_mesh_setup_freq() 3144 chwidth, seg0, seg1, vht_caps, in ibss_mesh_setup_freq()
|