Searched refs:sband (Results 26 - 50 of 147) sorted by relevance

123456

/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...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dinit.c270 struct ieee80211_supported_band *sband)
275 enum nl80211_band band = sband->band;
290 for (i = 0; i < sband->n_channels; i++) {
291 struct ieee80211_channel *chan = &sband->channels[i];
340 mt7615_init_txpower(dev, &mphy->sband_2g.sband);
341 mt7615_init_txpower(dev, &mphy->sband_5g.sband);
411 phy->mt76->sband_2g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
412 phy->mt76->sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING;
413 phy->mt76->sband_5g.sband.vht_cap.cap |=
420 dev->mphy.sband_5g.sband
269 mt7615_init_txpower(struct mt7615_dev *dev, struct ieee80211_supported_band *sband) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dtestmode.c259 struct ieee80211_supported_band *sband; local
275 sband = &mphy->sband_5g.sband;
277 sband = &mphy->sband_6g.sband;
279 sband = &mphy->sband_2g.sband;
281 rate.legacy = sband->bitrates[rate.mcs].bitrate;
569 struct ieee80211_supported_band *sband; local
573 sband
[all...]
H A Dinit.c279 struct ieee80211_supported_band *sband)
284 int pwr_delta = mt7915_eeprom_get_power_delta(dev, sband->band);
287 for (i = 0; i < sband->n_channels; i++) {
288 struct ieee80211_channel *chan = &sband->channels[i];
317 __mt7915_init_txpower(phy, &phy->mt76->sband_2g.sband);
319 __mt7915_init_txpower(phy, &phy->mt76->sband_5g.sband);
321 __mt7915_init_txpower(phy, &phy->mt76->sband_6g.sband);
405 phy->mt76->sband_2g.sband.ht_cap.cap |=
409 phy->mt76->sband_2g.sband.ht_cap.ampdu_density =
412 phy->mt76->sband_2g.sband
278 __mt7915_init_txpower(struct mt7915_phy *phy, struct ieee80211_supported_band *sband) argument
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-parse.h79 struct ieee80211_supported_band *sband,
H A Diwl-eeprom-parse.c654 struct ieee80211_supported_band *sband,
663 sband->channels = &data->channels[idx];
670 sband->n_channels = n;
767 struct ieee80211_supported_band *sband; local
769 sband = &data->bands[NL80211_BAND_2GHZ];
770 sband->band = NL80211_BAND_2GHZ;
771 sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS];
772 sband->n_bitrates = N_RATES_24;
773 n_used += iwl_init_sband_channels(data, sband, n_channels,
775 iwl_init_ht_hw_capab(trans, data, &sband
653 iwl_init_sband_channels(struct iwl_nvm_data *data, struct ieee80211_supported_band *sband, int n_channels, enum nl80211_band band) argument
[all...]
/linux-master/net/mac80211/
H A Dutil.c211 struct ieee80211_supported_band *sband; local
213 sband = local->hw.wiphy->bands[frame_txctl->band];
217 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
230 dur = ieee80211_frame_duration(sband->band, 10, bitrate,
233 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate,
236 dur += ieee80211_frame_duration(sband->band, 10, bitrate,
254 struct ieee80211_supported_band *sband; local
256 sband = local->hw.wiphy->bands[frame_txctl->band];
260 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
272 dur = ieee80211_frame_duration(sband
1201 struct ieee80211_supported_band *sband; local
1520 struct ieee80211_supported_band *sband; local
2397 struct ieee80211_supported_band *sband; local
2464 ieee80211_put_he_cap(struct sk_buff *skb, struct ieee80211_sub_if_data *sdata, const struct ieee80211_supported_band *sband, const struct ieee80211_conn_settings *conn) argument
2536 struct ieee80211_supported_band *sband; local
3185 ieee80211_put_srates_elem(struct sk_buff *skb, const struct ieee80211_supported_band *sband, u32 basic_rates, u32 rate_flags, u32 masked_rates, u8 element_id) argument
3401 struct ieee80211_supported_band *sband; local
4170 struct ieee80211_supported_band *sband; local
4195 ieee80211_put_eht_cap(struct sk_buff *skb, struct ieee80211_sub_if_data *sdata, const struct ieee80211_supported_band *sband, const struct ieee80211_conn_settings *conn) argument
[all...]
H A Dtdls.c54 struct ieee80211_supported_band *sband = ieee80211_get_link_sband(link); local
55 bool vht = sband && sband->vht_cap.vht_supported;
187 struct ieee80211_supported_band *sband; local
193 sband = ieee80211_get_link_sband(link);
195 if (sband && sband->band == NL80211_BAND_2GHZ) {
371 struct ieee80211_supported_band *sband; local
381 sband = ieee80211_get_link_sband(link);
382 if (WARN_ON_ONCE(!sband))
601 struct ieee80211_supported_band *sband; local
1324 struct ieee80211_supported_band *sband; local
[all...]
H A Dairtime.c470 struct ieee80211_supported_band *sband; local
483 sband = hw->wiphy->bands[status->band];
484 if (!sband || status->rate_idx >= sband->n_bitrates)
487 rate = &sband->bitrates[status->rate_idx];
510 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; local
513 if (!ri || !sband)
538 for (i = 0; i < sband->n_bitrates; i++) {
539 if (ri->legacy != sband->bitrates[i].bitrate)
633 struct ieee80211_supported_band *sband; local
[all...]
H A Drate.h34 struct ieee80211_supported_band *sband,
H A Dhe.c111 struct ieee80211_supported_band *sband,
131 ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif);
166 if (sband->band == NL80211_BAND_6GHZ && he_6ghz_capa)
110 ieee80211_he_cap_ie_to_sta_he_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const u8 *he_cap_ie, u8 he_cap_len, const struct ieee80211_he_6ghz_capa *he_6ghz_capa, struct link_sta_info *link_sta) argument
H A Docb.c46 struct ieee80211_supported_band *sband; local
75 sband = local->hw.wiphy->bands[band];
76 sta->sta.deflink.supp_rates[band] = ieee80211_mandatory_rates(sband);
/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) {
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dregd.c281 struct ieee80211_supported_band *sband; local
290 sband = wiphy->bands[NL80211_BAND_2GHZ];
291 if (!sband)
294 for (i = 0; i < sband->n_channels; i++) {
295 ch = &sband->channels[i];
300 sband = wiphy->bands[NL80211_BAND_5GHZ];
301 if (!sband)
304 for (i = 0; i < sband->n_channels; i++) {
305 ch = &sband->channels[i];
/linux-master/net/wireless/
H A Dibss.c106 struct ieee80211_supported_band *sband; local
118 sband = rdev->wiphy.bands[band];
119 for (j = 0; j < sband->n_bitrates; j++) {
120 if (sband->bitrates[j].flags & flag)
229 struct ieee80211_supported_band *sband; local
232 sband = rdev->wiphy.bands[band];
233 if (!sband)
236 for (i = 0; i < sband->n_channels; i++) {
237 chan = &sband->channels[i];
H A Dutil.c28 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, argument
31 struct ieee80211_rate *result = &sband->bitrates[0];
34 for (i = 0; i < sband->n_bitrates; i++) {
37 if (sband->bitrates[i].bitrate > bitrate)
39 result = &sband->bitrates[i];
46 u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband) argument
53 if (WARN_ON(!sband))
56 if (sband->band == NL80211_BAND_2GHZ)
61 bitrates = sband->bitrates;
62 for (i = 0; i < sband
166 struct ieee80211_supported_band *sband; local
187 set_mandatory_flags_band(struct ieee80211_supported_band *sband) argument
2496 ieee80211_get_ratemask(struct ieee80211_supported_band *sband, const u8 *rates, unsigned int n_rates, u32 *mask) argument
[all...]
H A Dcore.c698 struct ieee80211_supported_band *sband; local
830 sband = wiphy->bands[band];
831 if (!sband)
834 sband->band = band;
835 if (WARN_ON(!sband->n_channels))
843 !sband->n_bitrates))
847 (sband->ht_cap.ht_supported ||
848 sband->vht_cap.vht_supported)))
853 * modify the sband's ht data even if the driver uses a
858 sband
[all...]
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dregd.c346 struct ieee80211_supported_band *sband; local
384 sband = wiphy->bands[NL80211_BAND_5GHZ];
385 if (!sband)
388 sband->n_channels -= 3;
467 struct ieee80211_supported_band *sband; local
507 sband = wiphy->bands[NL80211_BAND_6GHZ];
508 if (!sband)
512 kfree((__force void *)sband->iftype_data);
513 kfree(sband);
570 struct ieee80211_supported_band *sband; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c292 struct ieee80211_supported_band *sband)
297 int pwr_delta = mt7996_eeprom_get_power_delta(dev, sband->band);
300 for (i = 0; i < sband->n_channels; i++) {
301 struct ieee80211_channel *chan = &sband->channels[i];
322 __mt7996_init_txpower(phy, &phy->mt76->sband_2g.sband);
324 __mt7996_init_txpower(phy, &phy->mt76->sband_5g.sband);
326 __mt7996_init_txpower(phy, &phy->mt76->sband_6g.sband);
407 phy->mt76->sband_2g.sband.ht_cap.cap |=
410 phy->mt76->sband_2g.sband.ht_cap.ampdu_density =
415 phy->mt76->sband_5g.sband
291 __mt7996_init_txpower(struct mt7996_phy *phy, struct ieee80211_supported_band *sband) argument
1256 __mt7996_set_stream_he_eht_caps(struct mt7996_phy *phy, struct ieee80211_supported_band *sband, enum nl80211_band band) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath5k/
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/ath11k/
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,
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmt76x2.h69 struct ieee80211_supported_band *sband);
H A Dinit.c181 struct ieee80211_supported_band *sband)
188 for (i = 0; i < sband->n_channels; i++) {
189 chan = &sband->channels[i];
180 mt76x2_init_txpower(struct mt76x02_dev *dev, struct ieee80211_supported_band *sband) argument
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Drc.c209 struct ieee80211_supported_band *sband,
250 struct ieee80211_supported_band *sband,
257 struct ieee80211_supported_band *sband,
208 rtl_tx_status(void *ppriv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, struct sk_buff *skb) argument
249 rtl_rate_init(void *ppriv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta) argument
256 rtl_rate_update(void *ppriv, struct ieee80211_supported_band *sband, struct cfg80211_chan_def *chandef, struct ieee80211_sta *sta, void *priv_sta, u32 changed) argument
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n.c29 struct ieee80211_supported_band *sband = local
32 if (WARN_ON_ONCE(!sband)) {
38 (sband->ht_cap.ampdu_factor &
40 ((sband->ht_cap.ampdu_density <<
44 memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs,
45 sizeof(sband->ht_cap.mcs));
48 (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
57 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap);
309 struct ieee80211_supported_band *sband; local
317 sband
[all...]

Completed in 252 milliseconds

123456