Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1267 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local
1312 mode11g = &modes[mode11g_idx]; in wpa_driver_nl80211_postprocess_modes()
1313 mode->num_channels = mode11g->num_channels; in wpa_driver_nl80211_postprocess_modes()
1314 mode->channels = os_malloc(mode11g->num_channels * in wpa_driver_nl80211_postprocess_modes()
1320 os_memcpy(mode->channels, mode11g->channels, in wpa_driver_nl80211_postprocess_modes()
1321 mode11g->num_channels * sizeof(struct hostapd_channel_data)); in wpa_driver_nl80211_postprocess_modes()
1331 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
1332 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()
1333 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()
1335 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()