Searched refs:num_rates (Results 1 – 8 of 8) sorted by relevance
186 iface->num_rates = 0; in hostapd_prepare_rates()189 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()196 for (i = 0; i < mode->num_rates; i++) { in hostapd_prepare_rates()204 rate = &iface->current_rates[iface->num_rates]; in hostapd_prepare_rates()211 iface->num_rates, rate->rate, rate->flags); in hostapd_prepare_rates()212 iface->num_rates++; in hostapd_prepare_rates()215 if ((iface->num_rates == 0 || num_basic_rates == 0) && in hostapd_prepare_rates()219 iface->num_rates, num_basic_rates); in hostapd_prepare_rates()
451 int num_rates; member
74 num = hapd->iface->num_rates; in hostapd_eid_supp_rates()86 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; in hostapd_eid_supp_rates()117 num = hapd->iface->num_rates; in hostapd_eid_ext_supp_rates()128 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8; in hostapd_eid_ext_supp_rates()
1391 mode->num_rates++; in phy_info_rates()1394 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()1514 for (i = 0; i < modes[m].num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()1560 mode->num_rates = 0; in wpa_driver_nl80211_postprocess_modes()1568 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()1572 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()1573 mode->num_rates++; in wpa_driver_nl80211_postprocess_modes()1574 if (mode->num_rates == 4) in wpa_driver_nl80211_postprocess_modes()1578 if (mode->num_rates == 0) { in wpa_driver_nl80211_postprocess_modes()
1110 mode->num_rates = 4; in hostap_get_hw_feature_data()1113 rlen = mode->num_rates * sizeof(int); in hostap_get_hw_feature_data()
192 int num_rates; member
380 const int num_rates = sizeof(sample_rates) / sizeof(sample_rates[0]); in GetTestParameters() local382 for (int rate_index = 0; rate_index < num_rates; ++rate_index) { in GetTestParameters()
820 for (k = 0; k < mode->num_rates; k++) { in rate_match()824 if (k == mode->num_rates) { in rate_match()834 bss->freq, mode->mode, mode->num_rates); in rate_match()