Home
last modified time | relevance | path

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

/hostap-latest/tests/hwsim/
Dtest_ibss.py53 wep_key0=None, freq=2412, chwidth=0, group_rekey=0): argument
57 if chwidth > 0:
58 dev.set_network(id, "max_oper_chwidth", str(chwidth))
482 id = add_ibss(dev[0], ssid, key_mgmt="NONE", freq=5180, chwidth=3)
496 id = add_ibss(dev[1], ssid, key_mgmt="NONE", freq=5180, chwidth=3)
Dtest_wpas_mesh.py152 basic_rates=None, chwidth=-1, disable_vht=False, argument
160 if chwidth > -1:
161 dev.set_network(id, "max_oper_chwidth", str(chwidth))
1095 add_open_mesh_network(dev[i], freq="5180", chwidth=0)
1143 add_open_mesh_network(dev[i], freq="5180", chwidth=0, disable_ht40=True)
1183 add_open_mesh_network(dev[i], freq="5180", chwidth=3)
1239 add_open_mesh_network(dev[i], freq="5520", chwidth=2)
/hostap-latest/src/ap/
Dieee802_11_eht.c206 enum oper_chan_width chwidth; in hostapd_eid_eht_operation() local
215 chwidth = op_class_to_ch_width(conf->op_class); in hostapd_eid_eht_operation()
217 chwidth = conf->eht_oper_chwidth; in hostapd_eid_eht_operation()
219 eht_oper_info_present = chwidth == CONF_OPER_CHWIDTH_320MHZ || in hostapd_eid_eht_operation()
250 switch (chwidth) { in hostapd_eid_eht_operation()
Dbeacon.c1957 u8 chwidth = FD_CAP_BSS_CHWIDTH_20, he_mcs_nss_size = 4; in hostapd_fils_discovery_cap() local
1967 chwidth = FD_CAP_BSS_CHWIDTH_320; in hostapd_fils_discovery_cap()
1974 chwidth = FD_CAP_BSS_CHWIDTH_160_80_80; in hostapd_fils_discovery_cap()
1977 chwidth = FD_CAP_BSS_CHWIDTH_80; in hostapd_fils_discovery_cap()
1980 chwidth = FD_CAP_BSS_CHWIDTH_40; in hostapd_fils_discovery_cap()
1990 chwidth = FD_CAP_BSS_CHWIDTH_160_80_80; in hostapd_fils_discovery_cap()
1993 chwidth = FD_CAP_BSS_CHWIDTH_80; in hostapd_fils_discovery_cap()
1997 chwidth = FD_CAP_BSS_CHWIDTH_40; in hostapd_fils_discovery_cap()
1999 chwidth = FD_CAP_BSS_CHWIDTH_20; in hostapd_fils_discovery_cap()
2008 cap_info |= chwidth << FD_CAP_BSS_CHWIDTH_SHIFT; in hostapd_fils_discovery_cap()
Ddrv_callbacks.c1129 int channel, chwidth, is_dfs0, is_dfs; in hostapd_event_ch_switch() local
1165 chwidth = CONF_OPER_CHWIDTH_80MHZ; in hostapd_event_ch_switch()
1168 chwidth = CONF_OPER_CHWIDTH_80P80MHZ; in hostapd_event_ch_switch()
1171 chwidth = CONF_OPER_CHWIDTH_160MHZ; in hostapd_event_ch_switch()
1174 chwidth = CONF_OPER_CHWIDTH_320MHZ; in hostapd_event_ch_switch()
1180 chwidth = CONF_OPER_CHWIDTH_USE_HT; in hostapd_event_ch_switch()
1265 if (ieee80211_freq_to_channel_ext(freq, offset, chwidth, in hostapd_event_ch_switch()
1269 hostapd_set_oper_chwidth(hapd->iconf, chwidth); in hostapd_event_ch_switch()
1279 if (chwidth == CONF_OPER_CHWIDTH_160MHZ) in hostapd_event_ch_switch()
1282 else if (chwidth == CONF_OPER_CHWIDTH_80P80MHZ) in hostapd_event_ch_switch()
/hostap-latest/src/common/
Dieee802_11_common.h319 int chwidth_freq2_to_ch_width(int chwidth, int freq2);
Dieee802_11_common.c3363 int chwidth_freq2_to_ch_width(int chwidth, int freq2) in chwidth_freq2_to_ch_width() argument
3370 switch (chwidth) { in chwidth_freq2_to_ch_width()
3383 chwidth); in chwidth_freq2_to_ch_width()
/hostap-latest/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c369 int max_oper_chwidth, chwidth = 0, freq2 = 0; in wpas_dbus_handler_p2p_group_add() local
423 chwidth = entry.int32_value; in wpas_dbus_handler_p2p_group_add()
431 max_oper_chwidth = chwidth_freq2_to_ch_width(chwidth, freq2); in wpas_dbus_handler_p2p_group_add()
435 if (allow_6ghz && chwidth == 40) in wpas_dbus_handler_p2p_group_add()
/hostap-latest/wpa_supplicant/
Dwpa_supplicant.c2829 int chwidth, seg0, seg1; in ibss_mesh_setup_freq() local
3056 chwidth = CHANWIDTH_80MHZ; in ibss_mesh_setup_freq()
3072 chwidth = CHANWIDTH_160MHZ; in ibss_mesh_setup_freq()
3103 chwidth = CHANWIDTH_80P80MHZ; in ibss_mesh_setup_freq()
3110 if (chwidth == CHANWIDTH_80P80MHZ) in ibss_mesh_setup_freq()
3115 chwidth = CHANWIDTH_160MHZ; in ibss_mesh_setup_freq()
3119 chwidth = CHANWIDTH_160MHZ; in ibss_mesh_setup_freq()
3124 chwidth = CHANWIDTH_USE_HT; in ibss_mesh_setup_freq()
3144 chwidth, seg0, seg1, vht_caps, in ibss_mesh_setup_freq()
Dctrl_iface.c6372 int ht40, vht, max_oper_chwidth, chwidth = 0, freq2 = 0; in p2p_ctrl_connect() local
6447 chwidth = atoi(pos2 + 18); in p2p_ctrl_connect()
6449 max_oper_chwidth = chwidth_freq2_to_ch_width(chwidth, freq2); in p2p_ctrl_connect()
6453 if (allow_6ghz && chwidth == 40) in p2p_ctrl_connect()
7048 int ht40, vht, he, max_oper_chwidth, chwidth = 0, freq2 = 0; in p2p_ctrl_invite_persistent() local
7096 chwidth = atoi(pos + 18); in p2p_ctrl_invite_persistent()
7098 max_oper_chwidth = chwidth_freq2_to_ch_width(chwidth, freq2); in p2p_ctrl_invite_persistent()
7104 if (allow_6ghz && chwidth == 40) in p2p_ctrl_invite_persistent()
7190 int max_oper_chwidth, chwidth = 0, freq2 = 0; in p2p_ctrl_group_add() local
7200 sscanf(token, "max_oper_chwidth=%d", &chwidth) == 1) { in p2p_ctrl_group_add()
[all …]
Dap.c204 static int get_max_oper_chwidth_6ghz(int chwidth) in get_max_oper_chwidth_6ghz() argument
206 switch (chwidth) { in get_max_oper_chwidth_6ghz()