Searched refs:sband (Results 76 - 100 of 147) sorted by relevance

123456

/linux-master/drivers/net/wireless/ath/ath9k/
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 Dmain.c2067 struct ieee80211_supported_band *sband; local
2079 sband = hw->wiphy->bands[NL80211_BAND_2GHZ];
2080 if (sband && idx >= sband->n_channels) {
2081 idx -= sband->n_channels;
2082 sband = NULL;
2085 if (!sband)
2086 sband = hw->wiphy->bands[NL80211_BAND_5GHZ];
2088 if (!sband || idx >= sband
[all...]
/linux-master/net/wireless/
H A Dwext-compat.c191 struct ieee80211_supported_band *sband; local
193 sband = wdev->wiphy->bands[band];
195 if (!sband)
198 for (i = 0; i < sband->n_channels && c < IW_MAX_FREQUENCIES; i++) {
199 struct ieee80211_channel *chan = &sband->channels[i];
1255 struct ieee80211_supported_band *sband; local
1275 sband = wdev->wiphy->bands[band];
1276 if (sband == NULL)
1278 for (ridx = 0; ridx < sband->n_bitrates; ridx++) {
1279 struct ieee80211_rate *srate = &sband
[all...]
H A Dmlme.c1008 struct ieee80211_supported_band *sband; local
1023 sband = wiphy->bands[bandid];
1024 if (!sband)
1027 for (i = 0; i < sband->n_channels; i++) {
1028 c = &sband->channels[i];
H A Dnl80211.c1822 const struct ieee80211_supported_band *sband,
1878 if (sband->band == NL80211_BAND_6GHZ &&
1893 struct ieee80211_supported_band *sband,
1901 if (sband->ht_cap.ht_supported &&
1903 sizeof(sband->ht_cap.mcs),
1904 &sband->ht_cap.mcs) ||
1906 sband->ht_cap.cap) ||
1908 sband->ht_cap.ampdu_factor) ||
1910 sband->ht_cap.ampdu_density)))
1914 if (sband
1821 nl80211_send_iftype_data(struct sk_buff *msg, const struct ieee80211_supported_band *sband, const struct ieee80211_sband_iftype_data *iftdata) argument
1892 nl80211_send_band_rateinfo(struct sk_buff *msg, struct ieee80211_supported_band *sband, bool large) argument
2547 struct ieee80211_supported_band *sband; local
4915 rateset_to_mask(struct ieee80211_supported_band *sband, u8 *rates, u8 rates_len) argument
4940 ht_rateset_to_mask(struct ieee80211_supported_band *sband, u8 *rates, u8 rates_len, u8 mcs[IEEE80211_HT_MCS_MASK_LEN]) argument
5003 vht_set_mcs_mask(struct ieee80211_supported_band *sband, struct nl80211_txrate_vht *txrate, u16 mcs[NL80211_VHT_NSS_MAX]) argument
5089 he_set_mcs_mask(struct genl_info *info, struct wireless_dev *wdev, struct ieee80211_supported_band *sband, struct nl80211_txrate_he *txrate, u16 mcs[NL80211_HE_NSS_MAX], unsigned int link_id) argument
5135 struct ieee80211_supported_band *sband; local
11329 struct ieee80211_supported_band *sband; local
11436 struct ieee80211_supported_band *sband = local
13095 struct ieee80211_supported_band *sband; local
[all...]
/linux-master/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c5038 static void mac80211_hwsim_sband_capab(struct ieee80211_supported_band *sband) argument
5040 switch (sband->band) {
5042 ieee80211_set_sband_iftype_data(sband, sband_capa_2ghz);
5045 ieee80211_set_sband_iftype_data(sband, sband_capa_5ghz);
5048 ieee80211_set_sband_iftype_data(sband, sband_capa_6ghz);
5351 struct ieee80211_supported_band *sband = &data->bands[band]; local
5353 sband->band = band;
5357 sband->channels = data->channels_2ghz;
5358 sband->n_channels = ARRAY_SIZE(hwsim_channels_2ghz);
5359 sband
[all...]
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A D4965-rs.c791 il4965_rs_tx_status(void *il_r, struct ieee80211_supported_band *sband, argument
973 if (sta->deflink.supp_rates[sband->band])
2187 struct ieee80211_supported_band *sband = txrc->sband; local
2198 if (sband->band == NL80211_BAND_5GHZ &&
2240 (sband->band == NL80211_BAND_5GHZ &&
2242 rate_idx = rate_lowest_index(sband, sta);
2244 else if (sband->band == NL80211_BAND_5GHZ)
2277 struct ieee80211_supported_band *sband; local
2281 sband
2769 il4965_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *il_sta) argument
[all...]
H A Dcommon.c3421 struct ieee80211_supported_band *sband; local
3448 sband = &il->bands[NL80211_BAND_5GHZ];
3449 sband->channels = &channels[ARRAY_SIZE(il_eeprom_band_1)];
3451 sband->bitrates = &rates[IL_FIRST_OFDM_RATE];
3452 sband->n_bitrates = RATE_COUNT_LEGACY - IL_FIRST_OFDM_RATE;
3455 il_init_ht_hw_capab(il, &sband->ht_cap, NL80211_BAND_5GHZ);
3457 sband = &il->bands[NL80211_BAND_2GHZ];
3458 sband->channels = channels;
3460 sband->bitrates = rates;
3461 sband
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c158 struct ieee80211_supported_band *sband = local
159 &phy->mt76->sband_5g.sband;
160 struct ieee80211_sta_vht_cap *vht_cap = &sband->vht_cap;
161 struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap;
198 band = &phy->mt76->sband_2g.sband;
206 band = &phy->mt76->sband_5g.sband;
213 band = &phy->mt76->sband_6g.sband;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c338 struct ieee80211_supported_band *sband; local
515 sband = &mphy->sband_5g.sband;
517 sband = &mphy->sband_2g.sband;
522 if (!sband->channels)
538 i = mt76_get_rate(&dev->mt76, sband, i, cck);
1318 struct ieee80211_supported_band *sband; local
1425 sband = &mphy->sband_5g.sband;
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c289 struct ieee80211_supported_band *sband,
315 i = mt76_get_rate(&dev->mt76, sband, i, cck);
430 struct ieee80211_supported_band *sband; local
491 sband = &mphy->sband_5g.sband;
493 sband = &mphy->sband_6g.sband;
495 sband = &mphy->sband_2g.sband;
497 if (!sband
287 mt7996_mac_fill_rx_rate(struct mt7996_dev *dev, struct mt76_rx_status *status, struct ieee80211_supported_band *sband, __le32 *rxv, u8 *mode) argument
1186 struct ieee80211_supported_band *sband; local
[all...]
/linux-master/net/mac80211/
H A Dcfg.c818 struct ieee80211_supported_band *sband; local
820 sband = ieee80211_get_sband(sta->sdata);
821 WARN_ON_ONCE(sband && !sband->bitrates);
822 if (sband && sband->bitrates)
823 rinfo->legacy = sband->bitrates[rate->idx].bitrate;
1817 struct ieee80211_supported_band *sband; local
1841 sband = ieee80211_get_link_sband(link);
1842 if (!sband)
2688 struct ieee80211_supported_band *sband; local
3410 struct ieee80211_supported_band *sband = wiphy->bands[i]; local
[all...]
H A Dht.c139 struct ieee80211_supported_band *sband,
154 if (!ht_cap_ie || !sband->ht_cap.ht_supported)
159 own_cap = sband->ht_cap;
138 ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const struct ieee80211_ht_cap *ht_cap_ie, struct link_sta_info *link_sta) argument
H A Dtx.c49 struct ieee80211_supported_band *sband; local
69 sband = local->hw.wiphy->bands[info->band];
70 txrate = &sband->bitrates[tx->rate.idx];
75 if (sband->band == NL80211_BAND_S1GHZ)
133 mrate = sband->bitrates[0].bitrate;
134 for (i = 0; i < sband->n_bitrates; i++) {
135 struct ieee80211_rate *r = &sband->bitrates[i];
147 switch (sband->band) {
182 dur = ieee80211_frame_duration(sband->band, 10, rate, erp,
190 dur += ieee80211_frame_duration(sband
681 struct ieee80211_supported_band *sband; local
1595 struct ieee80211_supported_band *sband; local
2255 struct ieee80211_supported_band *sband = local
[all...]
/linux-master/include/net/
H A Dcfg80211.h432 * This is used to mark the sband->iftype_data pointer which is supposed
443 * struct ieee80211_sband_iftype_data - sband data per interface type
445 * This structure encapsulates sband data that is relevant for the
579 * _ieee80211_set_sband_iftype_data - set sband iftype data array
580 * @sband: the sband to initialize
584 * Set the sband iftype data array; use this where the length cannot
589 _ieee80211_set_sband_iftype_data(struct ieee80211_supported_band *sband, argument
593 sband->iftype_data = (const void __iftd __force *)iftd;
594 sband
624 ieee80211_get_sband_iftype_data(const struct ieee80211_supported_band *sband, u8 iftype) argument
652 ieee80211_get_he_iftype_cap(const struct ieee80211_supported_band *sband, u8 iftype) argument
672 ieee80211_get_he_6ghz_capa(const struct ieee80211_supported_band *sband, enum nl80211_iftype iftype) argument
692 ieee80211_get_eht_iftype_cap(const struct ieee80211_supported_band *sband, enum nl80211_iftype iftype) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dmain.c1645 struct ieee80211_supported_band *sband; local
1648 sband = kmemdup(&rtw_band_2ghz, sizeof(*sband), GFP_KERNEL);
1649 if (!sband)
1652 rtw_init_ht_cap(rtwdev, &sband->ht_cap);
1653 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband;
1657 sband = kmemdup(&rtw_band_5ghz, sizeof(*sband), GFP_KERNEL);
1658 if (!sband)
1661 rtw_init_ht_cap(rtwdev, &sband
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c333 struct ieee80211_supported_band *sband; local
341 sband = mvm->hw->wiphy->bands[band];
344 int hw = sband->bitrates[i].hw_value;
898 struct ieee80211_supported_band *sband; local
930 sband = mvm->hw->wiphy->bands[band];
932 u16 hw = sband->bitrates[i].hw_value;
976 struct ieee80211_supported_band *sband = local
984 return sband->bitrates[rate].hw_value;
H A Dops.c171 struct ieee80211_supported_band *sband; local
207 sband = mvm->hw->wiphy->bands[NL80211_BAND_2GHZ];
209 WARN_ON(!sband->ht_cap.ht_supported);
210 WARN_ON(!(sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40));
211 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
213 he_cap = ieee80211_get_he_iftype_cap_vif(sband, vif);
/linux-master/drivers/net/wireless/ath/wcn36xx/
H A Dmain.c1295 struct ieee80211_supported_band *sband; local
1300 sband = wcn->hw->wiphy->bands[NL80211_BAND_2GHZ];
1302 if (band_idx >= sband->n_channels) {
1303 band_idx -= sband->n_channels;
1304 sband = wcn->hw->wiphy->bands[NL80211_BAND_5GHZ];
1307 if (!sband || band_idx >= sband->n_channels)
1313 survey->channel = &sband->channels[band_idx];
H A Dtxrx.c279 struct ieee80211_supported_band *sband; local
288 sband = wcn->hw->wiphy->bands[band];
289 channel = sband->channels;
291 for (i = 0; i < sband->n_channels; i++, channel++) {
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c845 static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband, argument
1025 if (sta && sta->deflink.supp_rates[sband->band])
2665 struct ieee80211_supported_band *sband = txrc->sband; local
2678 if ((sband->band == NL80211_BAND_5GHZ) &&
2716 ((sband->band == NL80211_BAND_5GHZ) &&
2718 rate_idx = rate_lowest_index(sband, sta);
2720 else if (sband->band == NL80211_BAND_5GHZ)
2752 struct ieee80211_supported_band *sband; local
2757 sband
3266 rs_rate_init_stub(void *priv_r, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c285 struct ieee80211_supported_band *sband; local
346 sband = &mphy->sband_5g.sband;
348 sband = &mphy->sband_6g.sband;
350 sband = &mphy->sband_2g.sband;
352 if (!sband->channels)
475 sband, rxv, &mode);
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dmac.c401 u8 ath12k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband, argument
406 for (i = 0; i < sband->n_bitrates; i++)
407 if (sband->bitrates[i].bitrate == bitrate)
503 u8 ath12k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband, argument
509 for (i = 0; i < sband->n_bitrates; i++) {
510 rate = &sband->bitrates[i];
1566 const struct ieee80211_supported_band *sband; local
1580 sband = hw->wiphy->bands[band];
1583 rates = sband->bitrates;
2676 const struct ieee80211_supported_band *sband; local
5234 struct ieee80211_supported_band *sband; local
7600 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; local
8015 struct ieee80211_supported_band *sband; local
[all...]
/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c315 struct ieee80211_supported_band *sband = local
318 kfree(sband->channels);
1675 struct ieee80211_supported_band *sband; local
1688 sband = wiphy->bands[NL80211_BAND_5GHZ];
1690 for (i = 0; i < sband->n_channels; i++) {
1691 ch = &sband->channels[i];
/linux-master/drivers/net/wireless/ath/ath11k/
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];
1888 const struct ieee80211_supported_band *sband; local
1901 sband = ar->hw->wiphy->bands[band];
1904 rates = sband->bitrates;
3247 const struct ieee80211_supported_band *sband; local
8301 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; local
8936 struct ieee80211_supported_band *sband; local
[all...]

Completed in 431 milliseconds

123456