Lines Matching refs:bands
711 sband = &rt2x00dev->bands[rt2x00dev->curr_band];
1051 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14;
1052 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates;
1053 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels;
1054 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates;
1055 hw->wiphy->bands[NL80211_BAND_2GHZ] =
1056 &rt2x00dev->bands[NL80211_BAND_2GHZ];
1057 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap,
1067 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels =
1069 rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates =
1071 rt2x00dev->bands[NL80211_BAND_5GHZ].channels = &channels[14];
1072 rt2x00dev->bands[NL80211_BAND_5GHZ].bitrates = &rates[4];
1073 hw->wiphy->bands[NL80211_BAND_5GHZ] =
1074 &rt2x00dev->bands[NL80211_BAND_5GHZ];
1075 memcpy(&rt2x00dev->bands[NL80211_BAND_5GHZ].ht_cap,
1092 if (likely(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ])) {
1093 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels);
1094 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->bitrates);
1095 rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL;
1096 rt2x00dev->hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL;