• Home
  • Raw
  • Download

Lines Matching refs:sband

949 	struct ieee80211_supported_band *sband;  in ath5k_setup_bands()  local
957 sband = &sc->sbands[IEEE80211_BAND_2GHZ]; in ath5k_setup_bands()
958 sband->band = IEEE80211_BAND_2GHZ; in ath5k_setup_bands()
959 sband->bitrates = &sc->rates[IEEE80211_BAND_2GHZ][0]; in ath5k_setup_bands()
963 memcpy(sband->bitrates, &ath5k_rates[0], in ath5k_setup_bands()
965 sband->n_bitrates = 12; in ath5k_setup_bands()
967 sband->channels = sc->channels; in ath5k_setup_bands()
968 sband->n_channels = ath5k_copy_channels(ah, sband->channels, in ath5k_setup_bands()
971 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands()
972 count_c = sband->n_channels; in ath5k_setup_bands()
976 memcpy(sband->bitrates, &ath5k_rates[0], in ath5k_setup_bands()
978 sband->n_bitrates = 4; in ath5k_setup_bands()
986 sband->bitrates[i].hw_value = in ath5k_setup_bands()
987 sband->bitrates[i].hw_value & 0xF; in ath5k_setup_bands()
988 sband->bitrates[i].hw_value_short = in ath5k_setup_bands()
989 sband->bitrates[i].hw_value_short & 0xF; in ath5k_setup_bands()
993 sband->channels = sc->channels; in ath5k_setup_bands()
994 sband->n_channels = ath5k_copy_channels(ah, sband->channels, in ath5k_setup_bands()
997 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands()
998 count_c = sband->n_channels; in ath5k_setup_bands()
1001 ath5k_setup_rate_idx(sc, sband); in ath5k_setup_bands()
1005 sband = &sc->sbands[IEEE80211_BAND_5GHZ]; in ath5k_setup_bands()
1006 sband->band = IEEE80211_BAND_5GHZ; in ath5k_setup_bands()
1007 sband->bitrates = &sc->rates[IEEE80211_BAND_5GHZ][0]; in ath5k_setup_bands()
1009 memcpy(sband->bitrates, &ath5k_rates[4], in ath5k_setup_bands()
1011 sband->n_bitrates = 8; in ath5k_setup_bands()
1013 sband->channels = &sc->channels[count_c]; in ath5k_setup_bands()
1014 sband->n_channels = ath5k_copy_channels(ah, sband->channels, in ath5k_setup_bands()
1017 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband; in ath5k_setup_bands()
1019 ath5k_setup_rate_idx(sc, sband); in ath5k_setup_bands()