Searched refs:num_rates (Results 1 - 19 of 19) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dhw_features.c183 iface->num_rates = 0;
186 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data));
193 for (i = 0; i < mode->num_rates; i++) {
201 rate = &iface->current_rates[iface->num_rates];
208 iface->num_rates, rate->rate, rate->flags);
209 iface->num_rates++;
212 if ((iface->num_rates == 0 || num_basic_rates == 0) &&
216 iface->num_rates, num_basic_rates);
H A Dhostapd.h344 int num_rates; member in struct:hostapd_iface
H A Dieee802_11.c54 num = hapd->iface->num_rates;
66 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
97 num = hapd->iface->num_rates;
108 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8;
/external/wpa_supplicant_8/src/ap/
H A Dhw_features.c183 iface->num_rates = 0;
186 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data));
193 for (i = 0; i < mode->num_rates; i++) {
201 rate = &iface->current_rates[iface->num_rates];
208 iface->num_rates, rate->rate, rate->flags);
209 iface->num_rates++;
212 if ((iface->num_rates == 0 || num_basic_rates == 0) &&
216 iface->num_rates, num_basic_rates);
H A Dhostapd.h344 int num_rates; member in struct:hostapd_iface
H A Dieee802_11.c54 num = hapd->iface->num_rates;
66 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
97 num = hapd->iface->num_rates;
108 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dhw_features.c183 iface->num_rates = 0;
186 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data));
193 for (i = 0; i < mode->num_rates; i++) {
201 rate = &iface->current_rates[iface->num_rates];
208 iface->num_rates, rate->rate, rate->flags);
209 iface->num_rates++;
212 if ((iface->num_rates == 0 || num_basic_rates == 0) &&
216 iface->num_rates, num_basic_rates);
H A Dhostapd.h344 int num_rates; member in struct:hostapd_iface
H A Dieee802_11.c54 num = hapd->iface->num_rates;
66 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num;
97 num = hapd->iface->num_rates;
108 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8;
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_capa.c1070 mode->num_rates++;
1073 mode->rates = os_calloc(mode->num_rates, sizeof(int));
1190 for (i = 0; i < modes[m].num_rates; i++) {
1237 mode->num_rates = 0;
1245 for (i = 0; i < mode11g->num_rates; i++) {
1249 mode->rates[mode->num_rates] = mode11g->rates[i];
1250 mode->num_rates++;
1251 if (mode->num_rates == 4)
1255 if (mode->num_rates == 0) {
H A Ddriver_hostap.c1118 mode->num_rates = 4;
1121 rlen = mode->num_rates * sizeof(int);
H A Ddriver.h143 * num_rates - Number of entries in the rates array
145 int num_rates; member in struct:hostapd_hw_modes
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_capa.c1070 mode->num_rates++;
1073 mode->rates = os_calloc(mode->num_rates, sizeof(int));
1190 for (i = 0; i < modes[m].num_rates; i++) {
1237 mode->num_rates = 0;
1245 for (i = 0; i < mode11g->num_rates; i++) {
1249 mode->rates[mode->num_rates] = mode11g->rates[i];
1250 mode->num_rates++;
1251 if (mode->num_rates == 4)
1255 if (mode->num_rates == 0) {
H A Ddriver_hostap.c1118 mode->num_rates = 4;
1121 rlen = mode->num_rates * sizeof(int);
H A Ddriver.h143 * num_rates - Number of entries in the rates array
145 int num_rates; member in struct:hostapd_hw_modes
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_capa.c1070 mode->num_rates++;
1073 mode->rates = os_calloc(mode->num_rates, sizeof(int));
1190 for (i = 0; i < modes[m].num_rates; i++) {
1237 mode->num_rates = 0;
1245 for (i = 0; i < mode11g->num_rates; i++) {
1249 mode->rates[mode->num_rates] = mode11g->rates[i];
1250 mode->num_rates++;
1251 if (mode->num_rates == 4)
1255 if (mode->num_rates == 0) {
H A Ddriver_hostap.c1118 mode->num_rates = 4;
1121 rlen = mode->num_rates * sizeof(int);
H A Ddriver.h143 * num_rates - Number of entries in the rates array
145 int num_rates; member in struct:hostapd_hw_modes
/external/wpa_supplicant_8/wpa_supplicant/
H A Devents.c745 for (k = 0; k < mode->num_rates; k++) {
749 if (k == mode->num_rates) {
756 " hardware does not support required rate %d.%d Mbps (freq=%d mode==%d num_rates=%d)",
758 bss->freq, mode->mode, mode->num_rates);

Completed in 119 milliseconds