Home
last modified time | relevance | path

Searched refs:num_rates (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dhw_features.c183 iface->num_rates = 0; in hostapd_prepare_rates()
186 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
193 for (i = 0; i < mode->num_rates; i++) { in hostapd_prepare_rates()
201 rate = &iface->current_rates[iface->num_rates]; in hostapd_prepare_rates()
208 iface->num_rates, rate->rate, rate->flags); in hostapd_prepare_rates()
209 iface->num_rates++; in hostapd_prepare_rates()
212 if ((iface->num_rates == 0 || num_basic_rates == 0) && in hostapd_prepare_rates()
216 iface->num_rates, num_basic_rates); in hostapd_prepare_rates()
Dhostapd.h373 int num_rates; member
Dieee802_11.c57 num = hapd->iface->num_rates; in hostapd_eid_supp_rates()
69 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; in hostapd_eid_supp_rates()
100 num = hapd->iface->num_rates; in hostapd_eid_ext_supp_rates()
111 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8; in hostapd_eid_ext_supp_rates()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1153 mode->num_rates++; in phy_info_rates()
1156 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()
1276 for (i = 0; i < modes[m].num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
1323 mode->num_rates = 0; in wpa_driver_nl80211_postprocess_modes()
1331 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
1335 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
1336 mode->num_rates++; in wpa_driver_nl80211_postprocess_modes()
1337 if (mode->num_rates == 4) in wpa_driver_nl80211_postprocess_modes()
1341 if (mode->num_rates == 0) { in wpa_driver_nl80211_postprocess_modes()
Ddriver_hostap.c1111 mode->num_rates = 4; in hostap_get_hw_feature_data()
1114 rlen = mode->num_rates * sizeof(int); in hostap_get_hw_feature_data()
Ddriver.h154 int num_rates; member
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_stereo_unittest.cc380 const int num_rates = sizeof(sample_rates) / sizeof(sample_rates[0]); in GetTestParameters() local
382 for (int rate_index = 0; rate_index < num_rates; ++rate_index) { in GetTestParameters()
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c763 for (k = 0; k < mode->num_rates; k++) { in rate_match()
767 if (k == mode->num_rates) { in rate_match()
776 bss->freq, mode->mode, mode->num_rates); in rate_match()