/drivers/net/wireless/rtlwifi/ |
H A D | regd.c | 157 struct ieee80211_supported_band *sband; local 169 sband = wiphy->bands[band]; 171 for (i = 0; i < sband->n_channels; i++) { 172 ch = &sband->channels[i]; 211 struct ieee80211_supported_band *sband; local 219 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; 226 ch = &sband->channels[11]; /* CH 12 */ 229 ch = &sband->channels[12]; /* CH 13 */ 242 ch = &sband->channels[11]; /* CH 12 */ 250 ch = &sband 265 struct ieee80211_supported_band *sband; local [all...] |
H A D | rc.c | 180 struct ieee80211_supported_band *sband, 220 struct ieee80211_supported_band *sband, 226 struct ieee80211_supported_band *sband, 179 rtl_tx_status(void *ppriv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, struct sk_buff *skb) argument 219 rtl_rate_init(void *ppriv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta) argument 225 rtl_rate_update(void *ppriv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, u32 changed, enum nl80211_channel_type oper_chan_type) argument
|
H A D | base.c | 238 struct ieee80211_supported_band *sband; local 245 sband = &(rtlmac->bands[IEEE80211_BAND_2GHZ]); 253 _rtl_init_hw_ht_capab(hw, &sband->ht_cap); 255 /* <4> set mac->sband to wiphy->sband */ 256 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; 260 sband = &(rtlmac->bands[IEEE80211_BAND_5GHZ]); 268 _rtl_init_hw_ht_capab(hw, &sband->ht_cap); 270 /* <4> set mac->sband to wiphy->sband */ [all...] |
/drivers/net/wireless/ath/ |
H A D | regd.c | 192 struct ieee80211_supported_band *sband; local 204 sband = wiphy->bands[band]; 206 for (i = 0; i < sband->n_channels; i++) { 208 ch = &sband->channels[i]; 252 struct ieee80211_supported_band *sband; local 258 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; 259 if (!sband) 267 ch = &sband->channels[11]; /* CH 12 */ 270 ch = &sband->channels[12]; /* CH 13 */ 283 ch = &sband 303 struct ieee80211_supported_band *sband; local [all...] |
/drivers/net/wireless/iwlegacy/ |
H A D | 3945-rs.c | 341 struct ieee80211_supported_band *sband; local 350 sband = hw->wiphy->bands[conf->channel->band]; 375 for (i = sband->n_bitrates - 1; i >= 0; i--) { 376 if (sta->supp_rates[sband->band] & (1 << i)) { 382 il->_3945.sta_supp_rates = sta->supp_rates[sband->band]; 384 if (sband->band == IEEE80211_BAND_5GHZ) { 446 il3945_rs_tx_status(void *il_rate, struct ieee80211_supported_band *sband, argument 464 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; 627 struct ieee80211_supported_band *sband = txrc->sband; local 888 il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *il_sta) argument [all...] |
H A D | 4965-rs.c | 807 il4965_rs_tx_status(void *il_r, struct ieee80211_supported_band *sband, argument 989 if (sta->supp_rates[sband->band]) 2205 struct ieee80211_supported_band *sband = txrc->sband; local 2216 if (sband->band == IEEE80211_BAND_5GHZ && 2262 (sband->band == IEEE80211_BAND_5GHZ && 2264 rate_idx = rate_lowest_index(sband, sta); 2266 else if (sband->band == IEEE80211_BAND_5GHZ) 2299 struct ieee80211_supported_band *sband; local 2303 sband 2805 il4965_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *il_sta) argument [all...] |
H A D | common.c | 3378 struct ieee80211_supported_band *sband; local 3407 sband = &il->bands[IEEE80211_BAND_5GHZ]; 3408 sband->channels = &channels[ARRAY_SIZE(il_eeprom_band_1)]; 3410 sband->bitrates = &rates[IL_FIRST_OFDM_RATE]; 3411 sband->n_bitrates = RATE_COUNT_LEGACY - IL_FIRST_OFDM_RATE; 3414 il_init_ht_hw_capab(il, &sband->ht_cap, IEEE80211_BAND_5GHZ); 3416 sband = &il->bands[IEEE80211_BAND_2GHZ]; 3417 sband->channels = channels; 3419 sband->bitrates = rates; 3420 sband [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | cfp.c | 178 struct ieee80211_supported_band *sband; local 186 sband = priv->wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; 188 sband = priv->wdev->wiphy->bands[IEEE80211_BAND_5GHZ]; 190 if (!sband) { 196 for (i = 0; i < sband->n_channels; i++) { 197 ch = &sband->channels[i]; 212 if (i == sband->n_channels) {
|
H A D | 11n.c | 42 struct ieee80211_supported_band *sband = local 46 (sband->ht_cap.ampdu_factor & 48 ((sband->ht_cap.ampdu_density << 52 memcpy((u8 *) &ht_cap->ht_cap.mcs, &sband->ht_cap.mcs, 53 sizeof(sband->ht_cap.mcs)); 56 sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) 63 ht_cap->ht_cap.cap_info = cpu_to_le16(sband->ht_cap.cap); 327 struct ieee80211_supported_band *sband; local 334 sband = priv->wdev->wiphy->bands[radio_type]; 369 if (!(sband [all...] |
H A D | cfg80211.c | 193 struct ieee80211_supported_band *sband; local 210 sband = wiphy->bands[band]; 212 for (i = 0; i < sband->n_channels ; i++) { 213 ch = &sband->channels[i];
|
H A D | scan.c | 483 struct ieee80211_supported_band *sband; local 493 sband = priv->wdev->wiphy->bands[band]; 495 for (i = 0; (i < sband->n_channels) ; i++) { 496 ch = &sband->channels[i];
|
/drivers/net/wireless/ath/ath5k/ |
H A D | base.c | 346 struct ieee80211_supported_band *sband; local 354 sband = &ah->sbands[IEEE80211_BAND_2GHZ]; 355 sband->band = IEEE80211_BAND_2GHZ; 356 sband->bitrates = &ah->rates[IEEE80211_BAND_2GHZ][0]; 360 memcpy(sband->bitrates, &ath5k_rates[0], 362 sband->n_bitrates = 12; 364 sband->channels = ah->channels; 365 sband->n_channels = ath5k_setup_channels(ah, sband->channels, 368 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-core.c | 106 struct ieee80211_supported_band *sband; local 133 sband = &priv->bands[IEEE80211_BAND_5GHZ]; 134 sband->channels = &channels[ARRAY_SIZE(iwl_eeprom_band_1)]; 136 sband->bitrates = &rates[IWL_FIRST_OFDM_RATE]; 137 sband->n_bitrates = IWL_RATE_COUNT_LEGACY - IWL_FIRST_OFDM_RATE; 140 iwl_init_ht_hw_capab(priv, &sband->ht_cap, 143 sband = &priv->bands[IEEE80211_BAND_2GHZ]; 144 sband->channels = channels; 146 sband->bitrates = rates; 147 sband [all...] |
H A D | iwl-scan.c | 459 const struct ieee80211_supported_band *sband; local 465 sband = iwl_get_hw_mode(priv, band); 466 if (!sband) { 502 const struct ieee80211_supported_band *sband; local 509 sband = iwl_get_hw_mode(priv, band); 510 if (!sband)
|
H A D | iwl-agn-rs.c | 901 static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband, argument 1081 if (sta && sta->supp_rates[sband->band]) 2738 struct ieee80211_supported_band *sband = txrc->sband; local 2751 if ((sband->band == IEEE80211_BAND_5GHZ) && 2793 ((sband->band == IEEE80211_BAND_5GHZ) && 2795 rate_idx = rate_lowest_index(sband, sta); 2797 else if (sband->band == IEEE80211_BAND_5GHZ) 2829 struct ieee80211_supported_band *sband; local 2833 sband 3332 rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta) argument [all...] |
/drivers/net/wireless/ |
H A D | mac80211_hwsim.c | 1807 struct ieee80211_supported_band *sband = &data->bands[band]; local 1810 sband->channels = data->channels_2ghz; 1811 sband->n_channels = 1813 sband->bitrates = data->rates; 1814 sband->n_bitrates = ARRAY_SIZE(hwsim_rates); 1817 sband->channels = data->channels_5ghz; 1818 sband->n_channels = 1820 sband->bitrates = data->rates + 4; 1821 sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4; 1827 sband [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | rc.c | 1208 struct ieee80211_supported_band *sband, 1332 static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband, argument 1393 static void ath_rate_init(void *priv, struct ieee80211_supported_band *sband, argument 1402 for (i = 0; i < sband->n_bitrates; i++) { 1403 if (sta->supp_rates[sband->band] & BIT(i)) { 1405 = (sband->bitrates[i].bitrate * 2) / 10; 1430 rate_table = ath_choose_rate_table(sc, sband->band, 1434 ath_rc_init(sc, priv_sta, sband, sta, rate_table); 1437 static void ath_rate_update(void *priv, struct ieee80211_supported_band *sband, argument 1468 rate_table = ath_choose_rate_table(sc, sband 1206 ath_rc_init(struct ath_softc *sc, struct ath_rate_priv *ath_rc_priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, const struct ath_rate_table *rate_table) argument [all...] |
H A D | main.c | 2144 struct ieee80211_supported_band *sband; local 2153 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; 2154 if (sband && idx >= sband->n_channels) { 2155 idx -= sband->n_channels; 2156 sband = NULL; 2159 if (!sband) 2160 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; 2162 if (!sband || idx >= sband [all...] |
H A D | beacon.c | 77 struct ieee80211_supported_band *sband; local 83 sband = &sc->sbands[common->hw->conf.channel->band]; 84 rate = sband->bitrates[rateidx].hw_value; 86 rate |= sband->bitrates[rateidx].hw_value_short;
|
H A D | init.c | 607 struct ieee80211_supported_band *sband; local 612 sband = &sc->sbands[band]; 613 for (i = 0; i < sband->n_channels; i++) { 614 chan = &sband->channels[i];
|
H A D | htc_drv_txrx.c | 927 struct ieee80211_supported_band *sband; local 943 sband = hw->wiphy->bands[band]; 945 for (i = 0; i < sband->n_bitrates; i++) { 946 if (sband->bitrates[i].hw_value == rx_rate) { 950 if (sband->bitrates[i].hw_value_short == rx_rate) {
|
H A D | htc_drv_main.c | 598 struct ieee80211_supported_band *sband; local 602 sband = priv->hw->wiphy->bands[priv->hw->conf.channel->band]; 604 for (i = 0, j = 0; i < sband->n_bitrates; i++) { 605 if (sta->supp_rates[sband->band] & BIT(i)) { 607 = (sband->bitrates[i].bitrate * 2) / 10;
|
H A D | recv.c | 903 struct ieee80211_supported_band *sband; local 908 sband = hw->wiphy->bands[band]; 921 for (i = 0; i < sband->n_bitrates; i++) { 922 if (sband->bitrates[i].hw_value == rx_stats->rs_rate) { 926 if (sband->bitrates[i].hw_value_short == rx_stats->rs_rate) {
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00dev.c | 546 struct ieee80211_supported_band *sband; local 562 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; 563 for (i = 0; i < sband->n_bitrates; i++) { 564 rate = rt2x00_get_rate(sband->bitrates[i].hw_value);
|
/drivers/net/wireless/b43legacy/ |
H A D | main.c | 2767 struct ieee80211_supported_band *sband = local 2773 for (i = 0; i < sband->n_bitrates; i++) { 2774 rate = &sband->bitrates[i]; 2788 rate = ieee80211_get_response_rate(sband, brates, rate->bitrate);
|