Lines Matching refs:bg_band
1887 struct ieee80211_supported_band *bg_band = &priv->ieee->bg_band; in ipw2100_wdev_init() local
1889 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()
1908 bg_band->channels[i].flags |= in ipw2100_wdev_init()
1911 bg_band->channels[i].flags |= in ipw2100_wdev_init()
1918 bg_band->bitrates = ipw2100_bg_rates; in ipw2100_wdev_init()
1919 bg_band->n_bitrates = RATE_COUNT; in ipw2100_wdev_init()
1921 wdev->wiphy->bands[NL80211_BAND_2GHZ] = bg_band; in ipw2100_wdev_init()
6302 kfree(priv->ieee->bg_band.channels); in ipw2100_pci_init_one()
6370 kfree(priv->ieee->bg_band.channels); in ipw2100_pci_remove_one()