Lines Matching refs:bands
710 sband = &rt2x00dev->bands[rt2x00dev->curr_band];
1046 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14;
1047 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates;
1048 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels;
1049 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates;
1050 hw->wiphy->bands[NL80211_BAND_2GHZ] =
1051 &rt2x00dev->bands[NL80211_BAND_2GHZ];
1052 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap,
1062 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels =
1064 rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates =
1066 rt2x00dev->bands[NL80211_BAND_5GHZ].channels = &channels[14];
1067 rt2x00dev->bands[NL80211_BAND_5GHZ].bitrates = &rates[4];
1068 hw->wiphy->bands[NL80211_BAND_5GHZ] =
1069 &rt2x00dev->bands[NL80211_BAND_5GHZ];
1070 memcpy(&rt2x00dev->bands[NL80211_BAND_5GHZ].ht_cap,
1087 if (likely(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ])) {
1088 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels);
1089 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->bitrates);
1090 rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL;
1091 rt2x00dev->hw->wiphy->bands[NL80211_BAND_5GHZ] = NULL;