Lines Matching refs:IEEE80211_BAND_2GHZ
914 entry->band = channel <= 14 ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; in rt2x00lib_channel()
978 rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes()
979 rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes()
980 rt2x00dev->bands[IEEE80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes()
981 rt2x00dev->bands[IEEE80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes()
982 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes()
983 &rt2x00dev->bands[IEEE80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes()
984 memcpy(&rt2x00dev->bands[IEEE80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes()
1019 if (likely(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ])) { in rt2x00lib_remove_hw()
1020 kfree(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels); in rt2x00lib_remove_hw()
1021 kfree(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->bitrates); in rt2x00lib_remove_hw()
1022 rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in rt2x00lib_remove_hw()