Searched refs:mode11g (Results 1 – 2 of 2) sorted by relevance
1756 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local1801 mode11g = &modes[mode11g_idx]; in wpa_driver_nl80211_postprocess_modes()1802 mode->num_channels = mode11g->num_channels; in wpa_driver_nl80211_postprocess_modes()1803 mode->channels = os_memdup(mode11g->channels, in wpa_driver_nl80211_postprocess_modes()1804 mode11g->num_channels * in wpa_driver_nl80211_postprocess_modes()1819 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()1820 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()1821 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()1823 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
1989 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local2055 mode11g = &modes[mode11g_idx]; in wpa_driver_nl80211_postprocess_modes()2056 mode->num_channels = mode11g->num_channels; in wpa_driver_nl80211_postprocess_modes()2057 mode->channels = os_memdup(mode11g->channels, in wpa_driver_nl80211_postprocess_modes()2058 mode11g->num_channels * in wpa_driver_nl80211_postprocess_modes()2073 for (i = 0; i < mode11g->num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()2074 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()2075 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()2077 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()