Searched refs:mode11g (Results 1 – 1 of 1) sorted by relevance
1181 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local1226 mode11g = &modes[mode11g_idx]; in wpa_driver_nl80211_postprocess_modes()1227 mode->num_channels = mode11g->num_channels; in wpa_driver_nl80211_postprocess_modes()1228 mode->channels = os_malloc(mode11g->num_channels * in wpa_driver_nl80211_postprocess_modes()1234 os_memcpy(mode->channels, mode11g->channels, in wpa_driver_nl80211_postprocess_modes()1235 mode11g->num_channels * sizeof(struct hostapd_channel_data)); in wpa_driver_nl80211_postprocess_modes()1245 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()1246 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()1247 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()1249 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()