Home
last modified time | relevance | path

Searched refs:sband (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmac80211.c254 struct ieee80211_supported_band *sband, in mt76_init_stream_cap() argument
257 struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap; in mt76_init_stream_cap()
273 vht_cap = &sband->vht_cap; in mt76_init_stream_cap()
298 mt76_init_stream_cap(phy, &phy->sband_2g.sband, false); in mt76_set_stream_caps()
300 mt76_init_stream_cap(phy, &phy->sband_5g.sband, vht); in mt76_set_stream_caps()
302 mt76_init_stream_cap(phy, &phy->sband_6g.sband, vht); in mt76_set_stream_caps()
312 struct ieee80211_supported_band *sband = &msband->sband; in mt76_init_sband() local
329 sband->channels = chanlist; in mt76_init_sband()
330 sband->n_channels = n_chan; in mt76_init_sband()
331 sband->bitrates = rates; in mt76_init_sband()
[all …]
H A Dmt76_connac_mcu.c110 n_max_channels = phy->sband_2g.sband.n_channels + in mt76_connac_mcu_set_channel_domain()
111 phy->sband_5g.sband.n_channels + in mt76_connac_mcu_set_channel_domain()
112 phy->sband_6g.sband.n_channels; in mt76_connac_mcu_set_channel_domain()
121 for (i = 0; i < phy->sband_2g.sband.n_channels; i++) { in mt76_connac_mcu_set_channel_domain()
122 chan = &phy->sband_2g.sband.channels[i]; in mt76_connac_mcu_set_channel_domain()
133 for (i = 0; i < phy->sband_5g.sband.n_channels; i++) { in mt76_connac_mcu_set_channel_domain()
134 chan = &phy->sband_5g.sband.channels[i]; in mt76_connac_mcu_set_channel_domain()
145 for (i = 0; i < phy->sband_6g.sband.n_channels; i++) { in mt76_connac_mcu_set_channel_domain()
146 chan = &phy->sband_6g.sband.channels[i]; in mt76_connac_mcu_set_channel_domain()
795 struct ieee80211_supported_band *sband; in mt76_connac_get_phy_mode_v2() local
[all …]
H A Dmt76_connac_mac.c603 struct ieee80211_supported_band *sband; in mt76_connac2_mac_fill_txs() local
659 sband = &mphy->sband_5g.sband; in mt76_connac2_mac_fill_txs()
661 sband = &mphy->sband_6g.sband; in mt76_connac2_mac_fill_txs()
663 sband = &mphy->sband_2g.sband; in mt76_connac2_mac_fill_txs()
665 rate.mcs = mt76_get_rate(mphy->dev, sband, rate.mcs, cck); in mt76_connac2_mac_fill_txs()
666 rate.legacy = sband->bitrates[rate.mcs].bitrate; in mt76_connac2_mac_fill_txs()
1013 struct ieee80211_supported_band *sband, in mt76_connac2_mac_fill_rx_rate() argument
1049 i = mt76_get_rate(dev, sband, i, cck); in mt76_connac2_mac_fill_rx_rate()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-nvm-parse.c860 struct ieee80211_supported_band *sband, in iwl_init_he_6ghz_capa()
870 if (sband->band != NL80211_BAND_6GHZ) in iwl_init_he_6ghz_capa()
899 iftype_data = (void *)(uintptr_t)sband->iftype_data; in iwl_nvm_fixup_sband_iftd()
900 for (i = 0; i < sband->n_iftype_data; i++) in iwl_nvm_fixup_sband_iftd()
907 struct ieee80211_supported_band *sband, in iwl_nvm_fixup_sband_iftd()
926 if (sband->band == NL80211_BAND_6GHZ && iftype_data->eht_cap.has_eht) in iwl_nvm_fixup_sband_iftd()
929 else if (sband->band != NL80211_BAND_2GHZ) in iwl_nvm_fixup_sband_iftd()
936 switch (sband->band) { in iwl_nvm_fixup_sband_iftd()
1105 struct ieee80211_supported_band *sband, in iwl_init_sbands()
1116 switch (sband in iwl_init_sbands()
839 iwl_init_he_6ghz_capa(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_supported_band * sband,u8 tx_chains,u8 rx_chains) iwl_init_he_6ghz_capa() argument
886 iwl_nvm_fixup_sband_iftd(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_supported_band * sband,struct ieee80211_sband_iftype_data * iftype_data,u8 tx_chains,u8 rx_chains,const struct iwl_fw * fw) iwl_nvm_fixup_sband_iftd() argument
1046 iwl_init_he_hw_capab(struct iwl_trans * trans,struct iwl_nvm_data * data,struct ieee80211_supported_band * sband,u8 tx_chains,u8 rx_chains,const struct iwl_fw * fw) iwl_init_he_hw_capab() argument
1098 struct ieee80211_supported_band *sband; iwl_init_sbands() local
[all...]
H A Diwl-eeprom-parse.c
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dinit.c108 struct ieee80211_supported_band *sband) in mt7996_init_txpower() argument
112 int pwr_delta = mt7996_eeprom_get_power_delta(dev, sband->band); in mt7996_init_txpower()
115 for (i = 0; i < sband->n_channels; i++) { in mt7996_init_txpower()
116 struct ieee80211_channel *chan = &sband->channels[i]; in mt7996_init_txpower()
145 mt7996_init_txpower(dev, &phy->mt76->sband_2g.sband); in mt7996_regd_notifier()
146 mt7996_init_txpower(dev, &phy->mt76->sband_5g.sband); in mt7996_regd_notifier()
147 mt7996_init_txpower(dev, &phy->mt76->sband_6g.sband); in mt7996_regd_notifier()
210 phy->mt76->sband_2g.sband.ht_cap.cap |= in mt7996_init_wiphy()
213 phy->mt76->sband_2g.sband.ht_cap.ampdu_density = in mt7996_init_wiphy()
218 phy->mt76->sband_5g.sband.ht_cap.cap |= in mt7996_init_wiphy()
[all …]
H A Dmac.c348 struct ieee80211_supported_band *sband, in mt7996_mac_fill_rx_rate() argument
374 i = mt76_get_rate(&dev->mt76, sband, i, cck); in mt7996_mac_fill_rx_rate()
459 struct ieee80211_supported_band *sband; in mt7996_mac_fill_rx() local
519 sband = &mphy->sband_5g.sband; in mt7996_mac_fill_rx()
521 sband = &mphy->sband_6g.sband; in mt7996_mac_fill_rx()
523 sband = &mphy->sband_2g.sband; in mt7996_mac_fill_rx()
525 if (!sband->channels) in mt7996_mac_fill_rx()
642 ret = mt7996_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7996_mac_fill_rx()
1167 struct ieee80211_supported_band *sband; in mt7996_mac_add_txs_skb() local
1217 sband = &mphy->sband_5g.sband; in mt7996_mac_add_txs_skb()
[all …]
/freebsd/sys/contrib/dev/athk/
H A Dregd.c344 struct ieee80211_supported_band *sband; in ath_reg_apply_beaconing_flags() local
351 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags()
352 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_beaconing_flags()
353 ch = &sband->channels[i]; in ath_reg_apply_beaconing_flags()
380 struct ieee80211_supported_band *sband; in ath_reg_apply_ir_flags() local
382 sband = wiphy->bands[NL80211_BAND_2GHZ]; in ath_reg_apply_ir_flags()
383 if (!sband) in ath_reg_apply_ir_flags()
407 struct ieee80211_supported_band *sband; in ath_reg_apply_radar_flags() local
414 sband = wiphy->bands[NL80211_BAND_5GHZ]; in ath_reg_apply_radar_flags()
416 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_radar_flags()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dtestmode.c259 struct ieee80211_supported_band *sband; in mt7915_tm_set_tx_len() local
275 sband = &mphy->sband_5g.sband; in mt7915_tm_set_tx_len()
277 sband = &mphy->sband_6g.sband; in mt7915_tm_set_tx_len()
279 sband = &mphy->sband_2g.sband; in mt7915_tm_set_tx_len()
281 rate.legacy = sband->bitrates[rate.mcs].bitrate; in mt7915_tm_set_tx_len()
569 struct ieee80211_supported_band *sband; in mt7915_tm_set_tx_cont() local
573 sband = &phy->mt76->sband_5g.sband; in mt7915_tm_set_tx_cont()
575 sband = &phy->mt76->sband_6g.sband; in mt7915_tm_set_tx_cont()
577 sband = &phy->mt76->sband_2g.sband; in mt7915_tm_set_tx_cont()
581 rate_idx = sband->bitrates[idx].hw_value & 0xff; in mt7915_tm_set_tx_cont()
H A Dinit.c295 struct ieee80211_supported_band *sband) in mt7915_init_txpower() argument
299 int pwr_delta = mt7915_eeprom_get_power_delta(dev, sband->band); in mt7915_init_txpower()
302 for (i = 0; i < sband->n_channels; i++) { in mt7915_init_txpower()
303 struct ieee80211_channel *chan = &sband->channels[i]; in mt7915_init_txpower()
341 mt7915_init_txpower(dev, &mphy->sband_2g.sband); in mt7915_regd_notifier()
342 mt7915_init_txpower(dev, &mphy->sband_5g.sband); in mt7915_regd_notifier()
343 mt7915_init_txpower(dev, &mphy->sband_6g.sband); in mt7915_regd_notifier()
410 phy->mt76->sband_2g.sband.ht_cap.cap |= in mt7915_init_wiphy()
413 phy->mt76->sband_2g.sband.ht_cap.ampdu_density = in mt7915_init_wiphy()
420 vht_cap = &phy->mt76->sband_5g.sband.vht_cap; in mt7915_init_wiphy()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c275 struct ieee80211_supported_band *sband) in mt7615_init_txpower() argument
280 enum nl80211_band band = sband->band; in mt7615_init_txpower()
295 for (i = 0; i < sband->n_channels; i++) { in mt7615_init_txpower()
296 struct ieee80211_channel *chan = &sband->channels[i]; in mt7615_init_txpower()
345 mt7615_init_txpower(dev, &mphy->sband_2g.sband); in mt7615_regd_notifier()
346 mt7615_init_txpower(dev, &mphy->sband_5g.sband); in mt7615_regd_notifier()
416 phy->mt76->sband_2g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in mt7615_init_wiphy()
417 phy->mt76->sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in mt7615_init_wiphy()
418 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7615_init_wiphy()
425 dev->mphy.sband_5g.sband.vht_cap.cap &= in mt7615_cap_dbdc_enable()
[all …]
H A Dpci_init.c105 mt7615_init_txpower(dev, &dev->mphy.sband_2g.sband); in mt7615_register_device()
106 mt7615_init_txpower(dev, &dev->mphy.sband_5g.sband); in mt7615_register_device()
H A Dusb_sdio.c338 vht_cap = &dev->mphy.sband_5g.sband.vht_cap; in mt7663_usb_sdio_register_device()
343 mt7615_init_txpower(dev, &dev->mphy.sband_2g.sband); in mt7663_usb_sdio_register_device()
344 mt7615_init_txpower(dev, &dev->mphy.sband_5g.sband); in mt7663_usb_sdio_register_device()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dphy-ctxt.c353 struct ieee80211_supported_band *sband; iwl_mvm_phy_ctxt_unref() local
H A Drs-fw.c368 struct ieee80211_supported_band *sband, in rs_fw_set_supp_rates() argument
381 tmp = link_sta->supp_rates[sband->band]; in rs_fw_set_supp_rates()
383 supp |= BIT(sband->bitrates[i].hw_value); in rs_fw_set_supp_rates()
598 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in iwl_mvm_rs_fw_rate_init()
601 ieee80211_get_he_iftype_cap_vif(sband, vif); in iwl_mvm_rs_fw_rate_init()
603 ieee80211_get_eht_iftype_cap_vif(sband, vif); in iwl_mvm_rs_fw_rate_init()
653 rs_fw_set_supp_rates(vif, link_sta, sband, in iwl_mvm_rs_fw_rate_init()
590 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; iwl_mvm_rs_fw_rate_init() local
/freebsd/sys/contrib/dev/rtw88/
H A Dregd.c281 struct ieee80211_supported_band *sband; in rtw_regd_apply_hw_cap_flags() local
290 sband = wiphy->bands[NL80211_BAND_2GHZ]; in rtw_regd_apply_hw_cap_flags()
291 if (!sband) in rtw_regd_apply_hw_cap_flags()
294 for (i = 0; i < sband->n_channels; i++) { in rtw_regd_apply_hw_cap_flags()
295 ch = &sband->channels[i]; in rtw_regd_apply_hw_cap_flags()
300 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw_regd_apply_hw_cap_flags()
301 if (!sband) in rtw_regd_apply_hw_cap_flags()
304 for (i = 0; i < sband->n_channels; i++) { in rtw_regd_apply_hw_cap_flags()
305 ch = &sband->channels[i]; in rtw_regd_apply_hw_cap_flags()
/freebsd/sys/contrib/dev/rtw89/
H A Dregd.c346 struct ieee80211_supported_band *sband; in rtw89_regd_setup_6ghz()
354 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw89_regd_setup_6ghz()
355 if (!sband) in rtw89_regd_setup_6ghz()
359 sband->n_channels -= RTW89_5GHZ_UNII4_CHANNEL_NUM; in rtw89_regd_setup_6ghz()
521 struct ieee80211_supported_band *sband; in rtw89_reg_6ghz_power_recalc()
562 sband = wiphy->bands[NL80211_BAND_6GHZ];
563 if (!sband)
567 kfree((__force void *)sband->iftype_data);
568 kfree(sband);
631 struct ieee80211_supported_band *sband;
292 struct ieee80211_supported_band *sband; rtw89_regd_setup_unii4() local
339 struct ieee80211_supported_band *sband; rtw89_regd_setup_6ghz() local
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dinit.c181 struct ieee80211_supported_band *sband) in mt76x2_init_txpower() argument
188 for (i = 0; i < sband->n_channels; i++) { in mt76x2_init_txpower()
189 chan = &sband->channels[i]; in mt76x2_init_txpower()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dinit.c250 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt7921_register_device()
253 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt7921_register_device()
256 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
263 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
H A Dmac.c182 struct ieee80211_supported_band *sband; in mt7921_mac_fill_rx() local
232 sband = &mphy->sband_5g.sband; in mt7921_mac_fill_rx()
235 sband = &mphy->sband_6g.sband; in mt7921_mac_fill_rx()
238 sband = &mphy->sband_2g.sband; in mt7921_mac_fill_rx()
242 if (!sband->channels) in mt7921_mac_fill_rx()
350 ret = mt76_connac2_mac_fill_rx_rate(&dev->mt76, status, sband, in mt7921_mac_fill_rx()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.h56 u8 ath12k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
58 u8 ath12k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,
/freebsd/sys/contrib/dev/athk/ath10k/
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,
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmac.c511 struct ieee80211_supported_band *sband; in mt7603_mac_fill_rx() local
526 sband = (i & 1) ? &dev->mphy.sband_5g.sband : &dev->mphy.sband_2g.sband; in mt7603_mac_fill_rx()
532 status->band = sband->band; in mt7603_mac_fill_rx()
533 if (i < sband->n_channels) in mt7603_mac_fill_rx()
534 status->freq = sband->channels[i].center_freq; in mt7603_mac_fill_rx()
558 if (!sband->channels) in mt7603_mac_fill_rx()
631 i = mt76_get_rate(&dev->mt76, sband, i, cck); in mt7603_mac_fill_rx()
1092 struct ieee80211_supported_band *sband; in mt7603_fill_txs() local
1198 sband = &dev->mphy.sband_5g.sband; in mt7603_fill_txs()
1200 sband = &dev->mphy.sband_2g.sband; in mt7603_fill_txs()
[all …]
H A Dinit.c445 struct ieee80211_supported_band *sband) in mt7603_init_txpower() argument
478 for (i = 0; i < sband->n_channels; i++) { in mt7603_init_txpower()
479 chan = &sband->channels[i]; in mt7603_init_txpower()
548 mt7603_init_txpower(dev, &dev->mphy.sband_2g.sband); in mt7603_register_device()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.h144 u8 ath11k_mac_bitrate_to_idx(const struct ieee80211_supported_band *sband,
146 u8 ath11k_mac_hw_rate_to_idx(const struct ieee80211_supported_band *sband,

123