Home
last modified time | relevance | path

Searched refs:bitrates (Results 1 – 25 of 112) sorted by relevance

12345

/linux-6.12.1/net/wireless/
Dutil.c31 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate()
37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate()
39 result = &sband->bitrates[i]; in ieee80211_get_response_rate()
48 struct ieee80211_rate *bitrates; in ieee80211_mandatory_rates() local
61 bitrates = sband->bitrates; in ieee80211_mandatory_rates()
63 if (bitrates[i].flags & mandatory_flag) in ieee80211_mandatory_rates()
196 if (sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band()
197 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band()
198 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band()
199 sband->bitrates[i].flags |= in set_mandatory_flags_band()
[all …]
Dmesh.c192 if (sband->bitrates[i].bitrate == 10) { in __cfg80211_join_mesh()
/linux-6.12.1/net/mac80211/
Drate.c371 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low()
638 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist()
645 if (sband->bitrates[i].bitrate > rate->bitrate) in rate_fixup_ratelist()
648 if (sband->bitrates[baserate].bitrate < in rate_fixup_ratelist()
649 sband->bitrates[i].bitrate) in rate_fixup_ratelist()
702 rate = &sband->bitrates[rates[i].idx]; in rate_fixup_ratelist()
767 if ((flags & sband->bitrates[i].flags) != flags) in rate_control_cap_mask()
Drc80211_minstrel_ht.c1671 if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE) in minstrel_ht_update_cck()
1733 ctl_rate = &sband->bitrates[rate_lowest_index(sband, sta)]; in minstrel_ht_update_caps()
1876 const s16 *bitrates, int n_rates, u32 rate_flags) in minstrel_ht_fill_rate_array() argument
1881 struct ieee80211_rate *rate = &sband->bitrates[i]; in minstrel_ht_fill_rate_array()
1883 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_ht_fill_rate_array()
1887 if (rate->bitrate != bitrates[j]) in minstrel_ht_fill_rate_array()
1899 static const s16 bitrates[4] = { 10, 20, 55, 110 }; in minstrel_ht_init_cck_rates() local
1908 BUILD_BUG_ON(ARRAY_SIZE(mp->cck_rates) != ARRAY_SIZE(bitrates)); in minstrel_ht_init_cck_rates()
1918 static const s16 bitrates[8] = { 60, 90, 120, 180, 240, 360, 480, 540 }; in minstrel_ht_init_ofdm_rates() local
1927 BUILD_BUG_ON(ARRAY_SIZE(mp->ofdm_rates[band]) != ARRAY_SIZE(bitrates)); in minstrel_ht_init_ofdm_rates()
Dairtime.c606 rate = &sband->bitrates[status->rate_idx]; in ieee80211_calc_rx_airtime()
667 if (ri->legacy != sband->bitrates[i].bitrate) in ieee80211_fill_rate_info()
833 rate = sband->bitrates[rateidx].bitrate; in ieee80211_calc_expected_tx_airtime()
834 cck = sband->bitrates[rateidx].flags & IEEE80211_RATE_MANDATORY_B; in ieee80211_calc_expected_tx_airtime()
Dibss.c99 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_build_presp()
101 if (sband->bitrates[i].bitrate > 110 && in ieee80211_ibss_build_presp()
112 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, 5); in ieee80211_ibss_build_presp()
155 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, 5); in ieee80211_ibss_build_presp()
441 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_join_ibss()
445 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, 5); in ieee80211_sta_join_ibss()
1769 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_join()
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dcommon-init.c146 common->sbands[NL80211_BAND_2GHZ].bitrates = ath9k_legacy_rates; in ath9k_cmn_init_channels_rates()
163 common->sbands[NL80211_BAND_5GHZ].bitrates = in ath9k_cmn_init_channels_rates()
Dcommon.c198 if (sband->bitrates[i].hw_value == rx_stats->rs_rate) { in ath9k_cmn_process_rate()
202 if (sband->bitrates[i].hw_value_short == rx_stats->rs_rate) { in ath9k_cmn_process_rate()
Dbeacon.c84 rate = sband->bitrates[rateidx].hw_value; in ath9k_beacon_setup()
86 rate |= sband->bitrates[rateidx].hw_value_short; in ath9k_beacon_setup()
/linux-6.12.1/drivers/staging/vt6656/
Dchannel.c61 .bitrates = vnt_rates_bg,
/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dbase.c351 ah->rate_idx[b->band][b->bitrates[i].hw_value] = i; in ath5k_setup_rate_idx()
352 if (b->bitrates[i].hw_value_short) in ath5k_setup_rate_idx()
353 ah->rate_idx[b->band][b->bitrates[i].hw_value_short] = i; in ath5k_setup_rate_idx()
371 sband->bitrates = &ah->rates[NL80211_BAND_2GHZ][0]; in ath5k_setup_bands()
375 memcpy(sband->bitrates, &ath5k_rates[0], in ath5k_setup_bands()
388 memcpy(sband->bitrates, &ath5k_rates[0], in ath5k_setup_bands()
398 sband->bitrates[i].hw_value = in ath5k_setup_bands()
399 sband->bitrates[i].hw_value & 0xF; in ath5k_setup_bands()
400 sband->bitrates[i].hw_value_short = in ath5k_setup_bands()
401 sband->bitrates[i].hw_value_short & 0xF; in ath5k_setup_bands()
[all …]
Dpcu.c291 rate = &ah->sbands[band].bitrates[ack_rates_high[i]]; in ath5k_hw_write_rate_duration()
294 rate = &ah->sbands[band].bitrates[0]; in ath5k_hw_write_rate_duration()
297 rate = &ah->sbands[band].bitrates[4]; in ath5k_hw_write_rate_duration()
Dqcu.c616 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ath5k_hw_set_ifs_intervals()
618 rate = &sband->bitrates[i]; in ath5k_hw_set_ifs_intervals()
Ddebug.c1038 band->bitrates[i].bitrate, in ath5k_debug_dump_bands()
1039 band->bitrates[i].hw_value, in ath5k_debug_dump_bands()
1040 band->bitrates[i].flags, in ath5k_debug_dump_bands()
1041 band->bitrates[i].hw_value_short); in ath5k_debug_dump_bands()
/linux-6.12.1/drivers/staging/vt6655/
Dchannel.c48 .bitrates = vnt_rates_bg,
Ddpc.c62 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data()
/linux-6.12.1/drivers/net/wireless/st/cw1200/
Dmain.c161 .bitrates = cw1200_g_rates,
181 .bitrates = cw1200_a_rates,
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00dev.c712 rate = rt2x00_get_rate(sband->bitrates[i].hw_value); in rt2x00lib_rxdone_read_signal()
1049 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes()
1067 rt2x00dev->bands[NL80211_BAND_5GHZ].bitrates = &rates[4]; in rt2x00lib_probe_hw_modes()
1089 kfree(rt2x00dev->hw->wiphy->bands[NL80211_BAND_2GHZ]->bitrates); in rt2x00lib_remove_hw()
/linux-6.12.1/drivers/net/wireless/virtual/
Dvirt_wifi.c45 .bitrates = bitrates_2ghz,
98 .bitrates = bitrates_5ghz,
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dextended-controls.rst96 audio bitrates. Some drivers only support one or two bitrates, others
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76x02_txrx.c83 r = &wiphy->bands[band]->bitrates[rate->idx]; in mt76x02_tx_get_max_txpwr_adj()
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h286 struct ieee80211_rate bitrates[ARRAY_SIZE(wilc_bitrates)]; member
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c1277 band->bitrates = qtnf_rates_2g; in qtnf_band_init_rates()
1281 band->bitrates = qtnf_rates_5g; in qtnf_band_init_rates()
1285 band->bitrates = NULL; in qtnf_band_init_rates()
/linux-6.12.1/drivers/net/wireless/ath/ar5523/
Dar5523.c1173 int rate = band->bitrates[bit].bitrate; in ar5523_get_wlan_mode()
1215 band->bitrates[bit].hw_value, sta_rate_set & 1); in ar5523_create_rateset()
1217 rs->set[i] = band->bitrates[bit].hw_value; in ar5523_create_rateset()
1488 ar->band.bitrates = ar->rates; in ar5523_init_modes()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c281 rate.legacy = sband->bitrates[rate.mcs].bitrate; in mt7915_tm_set_tx_len()
583 rate_idx = sband->bitrates[idx].hw_value & 0xff; in mt7915_tm_set_tx_cont()

12345