Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.c700 if (!hapd->iface->basic_rates) in ap_sta_add()
702 if (hapd->iface->basic_rates[i] < 0) in ap_sta_add()
704 sta->supported_rates[i] = hapd->iface->basic_rates[i] / 5; in ap_sta_add()
Dhostapd.h491 int *basic_rates; member
Dap_config.h885 int *basic_rates; member
Dbeacon.c1301 params->basic_rates = hapd->iface->basic_rates; in ieee802_11_build_ap_params()
Dap_config.c886 os_free(conf->basic_rates); in hostapd_config_free()
Dhostapd.c499 os_free(iface->basic_rates); in hostapd_cleanup_iface_partial()
500 iface->basic_rates = NULL; in hostapd_cleanup_iface_partial()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.c737 if (!hapd->iface->basic_rates) in ap_sta_add()
739 if (hapd->iface->basic_rates[i] < 0) in ap_sta_add()
741 sta->supported_rates[i] = hapd->iface->basic_rates[i] / 5; in ap_sta_add()
Dhostapd.h520 int *basic_rates; member
Dap_config.h967 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.c223 params->basic_rates = ifmsh->basic_rates; in wpas_mesh_complete()
365 conf->basic_rates = os_memdup(basic_rates_erp, in wpa_supplicant_mesh_init()
367 if (!conf->basic_rates) in wpa_supplicant_mesh_init()
377 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
378 if (conf->basic_rates == NULL) in wpa_supplicant_mesh_init()
380 os_memcpy(conf->basic_rates, ssid->mesh_basic_rates, in wpa_supplicant_mesh_init()
382 conf->basic_rates[rate_len] = -1; in wpa_supplicant_mesh_init()
Dap.c327 conf->basic_rates = list; in wpa_supplicant_conf_ap()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver.h1213 int *basic_rates; member
1468 const int *basic_rates; member
Ddriver_nl80211.c3760 static int nl80211_put_basic_rates(struct nl_msg *msg, const int *basic_rates) in nl80211_put_basic_rates() argument
3766 if (!basic_rates) in nl80211_put_basic_rates()
3769 for (i = 0; i < NL80211_MAX_SUPP_RATES && basic_rates[i] >= 0; i++) in nl80211_put_basic_rates()
3770 rates[rates_len++] = basic_rates[i] / 5; in nl80211_put_basic_rates()
3778 const int *basic_rates) in nl80211_set_bss() argument
3794 nl80211_put_basic_rates(msg, basic_rates)) { in nl80211_set_bss()
4297 params->isolate, params->basic_rates); in wpa_driver_nl80211_set_ap()
9619 nl80211_put_basic_rates(msg, params->basic_rates) || in nl80211_join_mesh()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver.h1266 int *basic_rates; member
1610 const int *basic_rates; member
Ddriver_nl80211.c4125 static int nl80211_put_basic_rates(struct nl_msg *msg, const int *basic_rates) in nl80211_put_basic_rates() argument
4131 if (!basic_rates) in nl80211_put_basic_rates()
4134 for (i = 0; i < NL80211_MAX_SUPP_RATES && basic_rates[i] >= 0; i++) in nl80211_put_basic_rates()
4135 rates[rates_len++] = basic_rates[i] / 5; in nl80211_put_basic_rates()
4143 const int *basic_rates) in nl80211_set_bss() argument
4159 nl80211_put_basic_rates(msg, basic_rates)) { in nl80211_set_bss()
4838 params->isolate, params->basic_rates); in wpa_driver_nl80211_set_ap()
10524 nl80211_put_basic_rates(msg, params->basic_rates) || in nl80211_join_mesh()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_config_file.c3247 if (hostapd_parse_intlist(&conf->basic_rates, pos)) {
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c3299 if (hostapd_parse_intlist(&conf->basic_rates, pos)) { in hostapd_config_fill()