Searched refs:bg_band (Results 1 – 3 of 3) sorted by relevance
1887 struct ieee80211_supported_band *bg_band = &priv->ieee->bg_band; in ipw2100_wdev_init() local1889 bg_band->band = NL80211_BAND_2GHZ; in ipw2100_wdev_init()1890 bg_band->n_channels = geo->bg_channels; in ipw2100_wdev_init()1891 bg_band->channels = kcalloc(geo->bg_channels, in ipw2100_wdev_init()1894 if (!bg_band->channels) { in ipw2100_wdev_init()1900 bg_band->channels[i].band = NL80211_BAND_2GHZ; in ipw2100_wdev_init()1901 bg_band->channels[i].center_freq = geo->bg[i].freq; in ipw2100_wdev_init()1902 bg_band->channels[i].hw_value = geo->bg[i].channel; in ipw2100_wdev_init()1903 bg_band->channels[i].max_power = geo->bg[i].max_power; in ipw2100_wdev_init()1905 bg_band->channels[i].flags |= in ipw2100_wdev_init()[all …]
11270 struct ieee80211_supported_band *bg_band = &priv->ieee->bg_band; in ipw_wdev_init() local11272 bg_band->band = NL80211_BAND_2GHZ; in ipw_wdev_init()11273 bg_band->n_channels = geo->bg_channels; in ipw_wdev_init()11274 bg_band->channels = kcalloc(geo->bg_channels, in ipw_wdev_init()11277 if (!bg_band->channels) { in ipw_wdev_init()11283 bg_band->channels[i].band = NL80211_BAND_2GHZ; in ipw_wdev_init()11284 bg_band->channels[i].center_freq = geo->bg[i].freq; in ipw_wdev_init()11285 bg_band->channels[i].hw_value = geo->bg[i].channel; in ipw_wdev_init()11286 bg_band->channels[i].max_power = geo->bg[i].max_power; in ipw_wdev_init()11288 bg_band->channels[i].flags |= in ipw_wdev_init()[all …]
711 struct ieee80211_supported_band bg_band; member