Lines Matching refs:bg_band
11270 struct ieee80211_supported_band *bg_band = &priv->ieee->bg_band; in ipw_wdev_init() local
11272 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()
11291 bg_band->channels[i].flags |= in ipw_wdev_init()
11294 bg_band->channels[i].flags |= in ipw_wdev_init()
11301 bg_band->bitrates = ipw2200_bg_rates; in ipw_wdev_init()
11302 bg_band->n_bitrates = ipw2200_num_bg_rates; in ipw_wdev_init()
11304 wdev->wiphy->bands[NL80211_BAND_2GHZ] = bg_band; in ipw_wdev_init()
11359 kfree(priv->ieee->bg_band.channels); in ipw_wdev_init()
11696 kfree(priv->ieee->bg_band.channels); in ipw_pci_probe()
11790 kfree(priv->ieee->bg_band.channels); in ipw_pci_remove()