Lines Matching defs:channels
682 struct ieee80211_channel *channels;
693 channels = kzalloc(sizeof(*channels) * spec->num_channels, GFP_KERNEL);
694 if (!channels)
711 rt2x00lib_channel(&channels[i],
712 spec->channels[i].channel,
724 rt2x00dev->bands[IEEE80211_BAND_2GHZ].channels = channels;
742 rt2x00dev->bands[IEEE80211_BAND_5GHZ].channels = &channels[14];
753 kfree(channels);
764 kfree(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels);