Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dhw_features.c152 int *basic_rates; in hostapd_prepare_rates() local
154 if (iface->conf->basic_rates) in hostapd_prepare_rates()
155 basic_rates = iface->conf->basic_rates; in hostapd_prepare_rates()
158 basic_rates = basic_rates_a; in hostapd_prepare_rates()
161 basic_rates = basic_rates_b; in hostapd_prepare_rates()
164 basic_rates = basic_rates_g; in hostapd_prepare_rates()
173 while (basic_rates[i] >= 0) in hostapd_prepare_rates()
177 os_free(iface->basic_rates); in hostapd_prepare_rates()
178 iface->basic_rates = os_malloc(i * sizeof(int)); in hostapd_prepare_rates()
179 if (iface->basic_rates) in hostapd_prepare_rates()
[all …]
Dhostapd.h346 int *basic_rates; member
Dap_config.h578 int *basic_rates; member
Dbeacon.c956 params->basic_rates = hapd->iface->basic_rates; in ieee802_11_build_ap_params()
Dap_config.c583 os_free(conf->basic_rates); in hostapd_config_free()
Dhostapd.c369 os_free(iface->basic_rates); in hostapd_cleanup_iface_partial()
370 iface->basic_rates = NULL; in hostapd_cleanup_iface_partial()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c204 conf->basic_rates = os_malloc(sizeof(basic_rates_erp)); in wpa_supplicant_mesh_init()
205 if (!conf->basic_rates) in wpa_supplicant_mesh_init()
207 os_memcpy(conf->basic_rates, basic_rates_erp, in wpa_supplicant_mesh_init()
217 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
218 if (conf->basic_rates == NULL) in wpa_supplicant_mesh_init()
220 os_memcpy(conf->basic_rates, ssid->mesh_basic_rates, in wpa_supplicant_mesh_init()
222 conf->basic_rates[rate_len] = -1; in wpa_supplicant_mesh_init()
355 params.basic_rates = wpa_s->ifmsh->basic_rates; in wpa_supplicant_join_mesh()
Dap.c188 conf->basic_rates = list; in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/src/drivers/
Ddriver.h886 int *basic_rates; member
1073 const int *basic_rates; member
Ddriver_nl80211.c3207 static int nl80211_put_basic_rates(struct nl_msg *msg, const int *basic_rates) in nl80211_put_basic_rates() argument
3213 if (!basic_rates) in nl80211_put_basic_rates()
3216 for (i = 0; i < NL80211_MAX_SUPP_RATES && basic_rates[i] >= 0; i++) in nl80211_put_basic_rates()
3217 rates[rates_len++] = basic_rates[i] / 5; in nl80211_put_basic_rates()
3225 const int *basic_rates) in nl80211_set_bss() argument
3241 nl80211_put_basic_rates(msg, basic_rates)) { in nl80211_set_bss()
3511 params->isolate, params->basic_rates); in wpa_driver_nl80211_set_ap()
7953 nl80211_put_basic_rates(msg, params->basic_rates) || in nl80211_join_mesh()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2663 if (hostapd_parse_intlist(&conf->basic_rates, pos)) { in hostapd_config_fill()