/hostap-latest/wpa_supplicant/ |
D | op_classes.c | 253 u8 channel, u8 bw) in verify_channel() argument 259 if (bw == BW40MINUS || (bw == BW40 && (((channel - 1) / 4) % 2))) { in verify_channel() 263 } else if (bw == BW40PLUS) { in verify_channel() 267 } else if (is_6ghz_op_class(op_class) && bw == BW40) { in verify_channel() 272 } else if (bw == BW80) { in verify_channel() 279 } else if (bw == BW160) { in verify_channel() 286 } else if (bw == BW80P80) { in verify_channel() 293 } else if (bw == BW320) { in verify_channel() 397 channels[i], op_class->bw) != in wpas_op_class_supported() 408 op_class->bw) != NOT_ALLOWED || in wpas_op_class_supported() [all …]
|
D | rrm.c | 514 if (op->bw == BW80 || op->bw == BW80P80) in wpas_add_channels() 516 else if (op->bw == BW160) in wpas_add_channels() 518 else if (op->bw == BW320) in wpas_add_channels() 535 op->bw); in wpas_add_channels() 576 if (op->bw == BW80 || op->bw == BW80P80) { in wpas_op_class_freqs() 580 } else if (op->bw == BW160) { in wpas_op_class_freqs() 585 } else if (op->bw == BW320) { in wpas_op_class_freqs()
|
D | p2p_supplicant.c | 3758 u8 op_class, u8 channel, u8 bw) in wpas_p2p_verify_80mhz() argument 3837 u8 op_class, u8 channel, u8 bw) in wpas_p2p_verify_160mhz() argument 3903 u8 op_class, u8 channel, u8 bw) in wpas_p2p_verify_channel() argument 3913 if (bw == BW40MINUS) { in wpas_p2p_verify_channel() 3918 } else if (bw == BW40PLUS) { in wpas_p2p_verify_channel() 3923 } else if (is_6ghz_op_class(op_class) && bw == BW40) { in wpas_p2p_verify_channel() 3932 } else if (bw == BW80) { in wpas_p2p_verify_channel() 3934 bw); in wpas_p2p_verify_channel() 3935 } else if (bw == BW160) { in wpas_p2p_verify_channel() 3937 bw); in wpas_p2p_verify_channel() [all …]
|
D | wpa_supplicant_i.h | 1829 u8 channel, u8 bw);
|
/hostap-latest/tests/remote/ |
D | rutils.py | 151 def get_ap_params(channel="1", bw="HT20", country="US", security="open", ht_capab=None, vht_capab=N… argument 152 ssid = "test_" + channel + "_" + security + "_" + bw 154 if bw == "b_only": 156 elif bw == "g_only": 158 elif bw == "g_only_wmm": 161 elif bw == "a_only": 163 elif bw == "a_only_wmm": 166 elif bw == "HT20": 173 elif bw == "HT40+": 177 elif bw == "HT40-": [all …]
|
D | monitor.py | 159 bw = "20" 169 bw = "40" 176 bw = "80" 179 bw = "160" 182 bw = "80+80" 189 "bw" : bw,
|
D | test_example.py | 47 ap_params = rutils.get_ap_params(channel="1", bw="HT20", country="US",
|
/hostap-latest/src/ap/ |
D | acs.c | 450 enum bw_type bw) in acs_usable_bw_chan() argument 454 while (bw_desc[bw][i].first != -1) { in acs_usable_bw_chan() 455 if (chan->freq == bw_desc[bw][i].first) in acs_usable_bw_chan() 464 static int acs_get_bw_center_chan(int freq, enum bw_type bw) in acs_get_bw_center_chan() argument 468 while (bw_desc[bw][i].first != -1) { in acs_get_bw_center_chan() 469 if (freq >= bw_desc[bw][i].first && in acs_get_bw_center_chan() 470 freq <= bw_desc[bw][i].last) in acs_get_bw_center_chan() 471 return bw_desc[bw][i].center_chan; in acs_get_bw_center_chan() 742 struct hostapd_hw_modes *mode, u32 bw, in acs_update_puncturing_bitmap() argument 760 if (is_24ghz_mode(mode->mode) || bw < 80) in acs_update_puncturing_bitmap() [all …]
|
D | hw_features.c | 955 u16 bw; in hostapd_is_usable_punct_bitmap() local 978 bw = 320; in hostapd_is_usable_punct_bitmap() 987 bw = 80; in hostapd_is_usable_punct_bitmap() 991 bw = 160; in hostapd_is_usable_punct_bitmap() 999 if (!is_punct_bitmap_valid(bw, (conf->channel - start_chan) / 4, in hostapd_is_usable_punct_bitmap()
|
D | hostapd.c | 2128 int bw; in hostapd_set_6ghz_sec_chan() local 2133 bw = op_class_to_bandwidth(iface->conf->op_class); in hostapd_set_6ghz_sec_chan() 2136 if (bw >= 40 && !iface->conf->secondary_channel) { in hostapd_set_6ghz_sec_chan() 4517 enum oper_chan_width bw = CONF_OPER_CHWIDTH_USE_HT; in hostapd_switch_channel_fallback() local 4531 bw = CONF_OPER_CHWIDTH_USE_HT; in hostapd_switch_channel_fallback() 4535 bw = CONF_OPER_CHWIDTH_80P80MHZ; in hostapd_switch_channel_fallback() 4539 bw = CONF_OPER_CHWIDTH_80MHZ; in hostapd_switch_channel_fallback() 4543 bw = CONF_OPER_CHWIDTH_160MHZ; in hostapd_switch_channel_fallback() 4547 bw = CONF_OPER_CHWIDTH_320MHZ; in hostapd_switch_channel_fallback() 4559 freq_params->sec_channel_offset, bw, in hostapd_switch_channel_fallback() [all …]
|
D | dfs.c | 178 u32 bw = num_chan_to_bw(num_chans); in dfs_chan_range_available() local 207 if (!chan_bw_allowed(chan, bw, 1, !i)) { in dfs_chan_range_available()
|
D | ieee802_11.c | 7234 u8 bw, chan1 = 0, chan2 = 0; in hostapd_eid_wb_chsw_wrapper() local 7247 bw = 0; in hostapd_eid_wb_chsw_wrapper() 7250 bw = 1; in hostapd_eid_wb_chsw_wrapper() 7253 bw = 1; in hostapd_eid_wb_chsw_wrapper() 7256 bw = 4; in hostapd_eid_wb_chsw_wrapper() 7279 *eid++ = bw; /* New Channel Width */ in hostapd_eid_wb_chsw_wrapper()
|
/hostap-latest/src/common/ |
D | ocv.c | 44 if (op_class_map->bw == BW40PLUS) in ocv_derive_all_parameters() 46 else if (op_class_map->bw == BW40MINUS) in ocv_derive_all_parameters() 48 else if (op_class_map->bw == BW40) in ocv_derive_all_parameters()
|
D | hw_features_common.c | 523 int bw = center_idx_to_bw_6ghz(center_segment0); in hostapd_set_freq_params() local 526 if (bw < 0) { in hostapd_set_freq_params() 545 bw != 2) { in hostapd_set_freq_params() 560 data->bandwidth = (1 << (u8) bw) * 20; in hostapd_set_freq_params() 926 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, in chan_bw_allowed() argument 931 switch (bw) { in chan_bw_allowed() 987 bool is_punct_bitmap_valid(u16 bw, u16 pri_ch_bit_pos, u16 punct_bitmap) in is_punct_bitmap_valid() argument 998 switch (bw) { in is_punct_bitmap_valid()
|
D | hw_features_common.h | 57 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, 60 bool is_punct_bitmap_valid(u16 bw, u16 pri_ch_bit_pos, u16 punct_bitmap);
|
D | ieee802_11_common.h | 273 BW320, BW4320, BW6480, BW8640} bw; member
|
D | ieee802_11_common.c | 2888 switch (map->bw) { in oper_class_bw_to_int()
|
/hostap-latest/tests/hwsim/ |
D | test_he.py | 1279 def he_6ghz_acs(dev, apdev, op_class, bw): argument 1306 if bw > 20 and int(sec) == 0: 1308 if bw == 20 and int(sec) != 0: 1318 if "WIDTH=" + str(bw) + " MHz" not in sig: 1612 def he_verify_status(wpas, hapd, freq, bw, is_6ghz=True): argument 1632 if "WIDTH=%s MHz" % bw not in sig: 1652 bw = "20" 1688 he_verify_status(dev[0], hapd, freq, bw)
|
D | test_eht.py | 63 def eht_verify_status(wpas, hapd, freq, bw, is_ht=False, is_vht=False, argument 99 if "WIDTH=%s MHz" % bw not in sig: 1242 bw = "20" 1244 bw = _5ghz_chanwidth_to_bw(chanwidth) 1250 eht_verify_status(dev[0], hapd, freq, bw, is_ht=True, is_vht=True) 1356 bw = _6ghz_op_class_to_bw(op_class) 1362 eht_verify_status(dev[0], hapd, freq, bw)
|
/hostap-latest/src/drivers/ |
D | driver_nl80211_event.c | 1196 struct nlattr *bw, struct nlattr *cf1, in mlme_event_ch_switch() argument 1238 } else if (bw && cf1) { in mlme_event_ch_switch() 1240 chan_offset = calculate_chan_offset(nla_get_u32(bw), in mlme_event_ch_switch() 1256 if (bw) in mlme_event_ch_switch() 1257 data.ch_switch.ch_width = convert2width(nla_get_u32(bw)); in mlme_event_ch_switch() 1275 if (bw) in mlme_event_ch_switch() 1280 if (bw) in mlme_event_ch_switch()
|
/hostap-latest/hostapd/ |
D | ctrl_iface.c | 2469 int idx, bw; in hostapd_ctrl_check_freq_params() local 2480 bw = center_idx_to_bw_6ghz(idx); in hostapd_ctrl_check_freq_params() 2481 if (bw < 0 || bw > (int) ARRAY_SIZE(bw_idx) || in hostapd_ctrl_check_freq_params() 2482 bw_idx[bw] != params->bandwidth) in hostapd_ctrl_check_freq_params()
|