Home
last modified time | relevance | path

Searched refs:basic_rates (Results 1 – 14 of 14) sorted by relevance

/hostap-3.6.0/src/ap/
Dhw_features.c155 int *basic_rates; in hostapd_prepare_rates() local
157 if (iface->conf->basic_rates) in hostapd_prepare_rates()
158 basic_rates = iface->conf->basic_rates; in hostapd_prepare_rates()
161 basic_rates = basic_rates_a; in hostapd_prepare_rates()
164 basic_rates = basic_rates_b; in hostapd_prepare_rates()
167 basic_rates = basic_rates_g; in hostapd_prepare_rates()
176 while (basic_rates[i] >= 0) in hostapd_prepare_rates()
180 os_free(iface->basic_rates); in hostapd_prepare_rates()
181 iface->basic_rates = os_malloc(i * sizeof(int)); in hostapd_prepare_rates()
182 if (iface->basic_rates) in hostapd_prepare_rates()
[all …]
Dsta_info.c738 if (!hapd->iface->basic_rates) in ap_sta_add()
740 if (hapd->iface->basic_rates[i] < 0) in ap_sta_add()
742 sta->supported_rates[i] = hapd->iface->basic_rates[i] / 5; in ap_sta_add()
Dhostapd.h522 int *basic_rates; member
Dap_config.h974 int *basic_rates; member
Dbeacon.c1674 params->basic_rates = hapd->iface->basic_rates; in ieee802_11_build_ap_params()
Dap_config.c993 os_free(conf->basic_rates); in hostapd_config_free()
Dhostapd.c518 os_free(iface->basic_rates); in hostapd_cleanup_iface_partial()
519 iface->basic_rates = NULL; in hostapd_cleanup_iface_partial()
/hostap-3.6.0/wpa_supplicant/
Dmesh.c283 params->basic_rates = ifmsh->basic_rates; in wpas_mesh_complete()
518 conf->basic_rates = os_memdup(basic_rates_erp, in wpa_supplicant_mesh_init()
520 if (!conf->basic_rates) in wpa_supplicant_mesh_init()
530 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
531 if (conf->basic_rates == NULL) in wpa_supplicant_mesh_init()
533 os_memcpy(conf->basic_rates, ssid->mesh_basic_rates, in wpa_supplicant_mesh_init()
535 conf->basic_rates[rate_len] = -1; in wpa_supplicant_mesh_init()
Dap.c489 conf->basic_rates = list; in wpa_supplicant_conf_ap()
/hostap-3.6.0/tests/hwsim/
Dtest_wmediumd.py171 add_open_mesh_network(dev[i], freq="2462", basic_rates="60 120 240")
273 add_open_mesh_network(dev[i], freq="2462", basic_rates="60 120 240")
393 add_open_mesh_network(dev[i], freq="2462", basic_rates="60 120 240")
Dtest_wpas_mesh.py152 basic_rates=None, chwidth=-1, disable_vht=False, argument
164 if basic_rates:
165 dev.set_network(id, "mesh_basic_rates", basic_rates)
262 add_open_mesh_network(dev[0], freq="2462", basic_rates="60 120 240")
263 add_open_mesh_network(dev[1], freq="2462", basic_rates="60 120 240")
1743 add_open_mesh_network(dev[0], basic_rates="60 120 240")
/hostap-3.6.0/src/drivers/
Ddriver.h1266 int *basic_rates; member
1610 const int *basic_rates; member
Ddriver_nl80211.c4127 static int nl80211_put_basic_rates(struct nl_msg *msg, const int *basic_rates) in nl80211_put_basic_rates() argument
4133 if (!basic_rates) in nl80211_put_basic_rates()
4136 for (i = 0; i < NL80211_MAX_SUPP_RATES && basic_rates[i] >= 0; i++) in nl80211_put_basic_rates()
4137 rates[rates_len++] = basic_rates[i] / 5; in nl80211_put_basic_rates()
4145 const int *basic_rates) in nl80211_set_bss() argument
4161 nl80211_put_basic_rates(msg, basic_rates)) { in nl80211_set_bss()
4854 params->isolate, params->basic_rates); in wpa_driver_nl80211_set_ap()
10544 nl80211_put_basic_rates(msg, params->basic_rates) || in nl80211_join_mesh()
/hostap-3.6.0/hostapd/
Dconfig_file.c3299 if (hostapd_parse_intlist(&conf->basic_rates, pos)) { in hostapd_config_fill()