Searched refs:sband (Results 1 - 25 of 147) sorted by path

123456

/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_cle.c648 u32 sband, reg = 0; local
656 sband = reg;
661 sband |= (reg << 16);
663 ret = xgene_cle_dram_wr(cle, &sband, 1, idx, PKT_RAM, CLE_CMD_WR);
671 sband = reg;
677 sband |= (reg << 16);
679 ret = xgene_cle_dram_wr(cle, &sband, 1, idx + 1, PKT_RAM, CLE_CMD_WR);
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dqcu.c561 struct ieee80211_supported_band *sband; local
613 sband = &ah->sbands[band];
615 for (i = 0; i < sband->n_bitrates; i++) {
616 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
618 rate = &sband->bitrates[i];
H A Dbase.c361 struct ieee80211_supported_band *sband; local
369 sband = &ah->sbands[NL80211_BAND_2GHZ];
370 sband->band = NL80211_BAND_2GHZ;
371 sband->bitrates = &ah->rates[NL80211_BAND_2GHZ][0];
375 memcpy(sband->bitrates, &ath5k_rates[0],
377 sband->n_bitrates = 12;
379 sband->channels = ah->channels;
380 sband->n_channels = ath5k_setup_channels(ah, sband->channels,
383 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon.c175 struct ieee80211_supported_band *sband; local
181 sband = hw->wiphy->bands[band];
197 for (i = 0; i < sband->n_bitrates; i++) {
198 if (sband->bitrates[i].hw_value == rx_stats->rs_rate) {
202 if (sband->bitrates[i].hw_value_short == rx_stats->rs_rate) {
H A Dbeacon.c79 struct ieee80211_supported_band *sband; local
83 sband = &common->sbands[sc->cur_chandef.chan->band];
84 rate = sband->bitrates[rateidx].hw_value;
86 rate |= sband->bitrates[rateidx].hw_value_short;
H A Dchannel.c107 struct ieee80211_supported_band *sband; local
111 sband = &common->sbands[NL80211_BAND_2GHZ];
112 if (!sband->n_channels)
113 sband = &common->sbands[NL80211_BAND_5GHZ];
115 chan = &sband->channels[0];
1337 struct ieee80211_supported_band *sband; local
1341 sband = &common->sbands[NL80211_BAND_2GHZ];
1342 if (!sband->n_channels)
1343 sband = &common->sbands[NL80211_BAND_5GHZ];
1345 chan = &sband
[all...]
H A Dhtc_drv_main.c598 struct ieee80211_supported_band *sband; local
602 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band];
604 for (i = 0, j = 0; i < sband->n_bitrates; i++) {
605 if (sta->deflink.supp_rates[sband->band] & BIT(i)) {
607 = (sband->bitrates[i].bitrate * 2) / 10;
H A Dinit.c846 struct ieee80211_supported_band *sband; local
853 sband = &common->sbands[band];
854 for (i = 0; i < sband->n_channels; i++) {
855 chan = &sband->channels[i];
H A Dmain.c2068 struct ieee80211_supported_band *sband; local
2080 sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
2081 if (sband && idx >= sband->n_channels) {
2082 idx -= sband->n_channels;
2083 sband = NULL;
2086 if (!sband)
2087 sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
2089 if (!sband || idx >= sband
[all...]
/linux-master/net/wireless/
H A Dof.c52 struct ieee80211_supported_band *sband = wiphy->bands[band]; local
54 if (!sband)
57 for (i = 0; i < sband->n_channels; i++) {
58 struct ieee80211_channel *chan = &sband->channels[i];
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c984 struct ieee80211_supported_band *sband; local
1018 sband = &ar->mac.sbands[status->band];
1019 status->rate_idx = ath10k_mac_hw_rate_to_idx(sband, rate, cck);
H A Dmac.c128 u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband, argument
134 for (i = 0; i < sband->n_bitrates; i++) {
135 rate = &sband->bitrates[i];
150 u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband, argument
155 for (i = 0; i < sband->n_bitrates; i++)
156 if (sband->bitrates[i].bitrate == bitrate)
2241 const struct ieee80211_supported_band *sband; local
2254 sband = ar->hw->wiphy->bands[band];
2257 rates = sband->bitrates;
6052 const struct ieee80211_supported_band *sband; local
8176 struct ieee80211_supported_band *sband; local
8218 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; local
[all...]
H A Dmac.h57 u8 ath10k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
59 u8 ath10k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
H A Dwmi.c2505 struct ieee80211_supported_band *sband; local
2567 sband = &ar->mac.sbands[status->band];
2585 status->rate_idx = ath10k_mac_bitrate_to_idx(sband, rate / 100);
2635 struct ieee80211_supported_band *sband; local
2639 sband = ar->hw->wiphy->bands[band];
2640 if (!sband)
2643 for (ch = 0; ch < sband->n_channels; ch++, idx++)
2644 if (sband->channels[ch].center_freq == freq)
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c2323 struct ieee80211_supported_band *sband; local
2340 sband = &ar->mac.sbands[rx_status->band];
2341 rx_status->rate_idx = ath11k_mac_hw_rate_to_idx(sband, rate_mcs,
4980 struct ieee80211_supported_band *sband; local
5008 sband = &ar->mac.sbands[rxs->band];
5009 rxs->rate_idx = ath11k_mac_hw_rate_to_idx(sband, ppduinfo->rate,
H A Dmac.c421 u8 ath11k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband, argument
426 for (i = 0; i < sband->n_bitrates; i++)
427 if (sband->bitrates[i].bitrate == bitrate)
535 u8 ath11k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband, argument
541 for (i = 0; i < sband->n_bitrates; i++) {
542 rate = &sband->bitrates[i];
1808 const struct ieee80211_supported_band *sband; local
1821 sband = ar->hw->wiphy->bands[band];
1824 rates = sband->bitrates;
3167 const struct ieee80211_supported_band *sband; local
8209 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; local
8844 struct ieee80211_supported_band *sband; local
[all...]
H A Dmac.h145 u8 ath11k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
147 u8 ath11k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
H A Dwmi.c6212 struct ieee80211_supported_band *sband; local
6216 sband = ar->hw->wiphy->bands[band];
6217 if (!sband)
6220 for (ch = 0; ch < sband->n_channels; ch++, idx++)
6221 if (sband->channels[ch].center_freq == freq)
7502 struct ieee80211_supported_band *sband; local
7557 sband = &ar->mac.sbands[status->band];
7564 status->rate_idx = ath11k_mac_bitrate_to_idx(sband, rx_ev.rate / 100);
/linux-master/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.c1021 struct ieee80211_supported_band *sband; local
1053 sband = &ar->mac.sbands[rxs->band];
1054 rxs->rate_idx = ath12k_mac_hw_rate_to_idx(sband, ppduinfo->rate,
H A Ddp_rx.c2279 struct ieee80211_supported_band *sband; local
2296 sband = &ar->mac.sbands[rx_status->band];
2297 rx_status->rate_idx = ath12k_mac_hw_rate_to_idx(sband, rate_mcs,
H A Dmac.c397 u8 ath12k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband, argument
402 for (i = 0; i < sband->n_bitrates; i++)
403 if (sband->bitrates[i].bitrate == bitrate)
499 u8 ath12k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband, argument
505 for (i = 0; i < sband->n_bitrates; i++) {
506 rate = &sband->bitrates[i];
1444 const struct ieee80211_supported_band *sband; local
1458 sband = hw->wiphy->bands[band];
1461 rates = sband->bitrates;
2554 const struct ieee80211_supported_band *sband; local
4952 struct ieee80211_supported_band *sband; local
6988 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; local
7397 struct ieee80211_supported_band *sband; local
[all...]
H A Dmac.h59 u8 ath12k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
61 u8 ath12k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
H A Dwmi.c5306 struct ieee80211_supported_band *sband; local
5314 sband = hw->wiphy->bands[band];
5315 if (!sband)
5318 for (ch = 0; ch < sband->n_channels; ch++, idx++)
5319 if (sband->channels[ch].center_freq == freq)
5846 struct ieee80211_supported_band *sband; local
5900 sband = &ar->mac.sbands[status->band];
5905 status->rate_idx = ath12k_mac_bitrate_to_idx(sband, rx_ev.rate / 100);
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c1999 struct ieee80211_supported_band *sband; local
2037 sband = ar->wiphy->bands[band];
2039 if (!sband)
2049 for (i = 0; i < sband->n_bitrates; i++) {
2053 (u8) (sband->bitrates[i].bitrate / 5);
/linux-master/drivers/net/wireless/ath/
H A Dregd.c344 struct ieee80211_supported_band *sband; local
351 sband = wiphy->bands[band];
352 for (i = 0; i < sband->n_channels; i++) {
353 ch = &sband->channels[i];
380 struct ieee80211_supported_band *sband; local
382 sband = wiphy->bands[NL80211_BAND_2GHZ];
383 if (!sband)
407 struct ieee80211_supported_band *sband; local
414 sband = wiphy->bands[NL80211_BAND_5GHZ];
416 for (i = 0; i < sband
[all...]

Completed in 840 milliseconds

123456