Home
last modified time | relevance | path

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

12345

/openbmc/linux/net/wireless/
H A 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()
49 struct ieee80211_rate *bitrates; in ieee80211_mandatory_rates() local
67 bitrates = sband->bitrates; in ieee80211_mandatory_rates()
69 if (bitrates[i].flags & mandatory_flag) in ieee80211_mandatory_rates()
202 if (sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band()
203 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band()
204 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band()
205 sband->bitrates[i].flags |= in set_mandatory_flags_band()
[all …]
H A Dmesh.c190 if (sband->bitrates[i].bitrate == 10) { in __cfg80211_join_mesh()
/openbmc/linux/net/mac80211/
H A 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()
H A 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()
1877 const s16 *bitrates, int n_rates, u32 rate_flags) in minstrel_ht_fill_rate_array() argument
1882 struct ieee80211_rate *rate = &sband->bitrates[i]; in minstrel_ht_fill_rate_array()
1884 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_ht_fill_rate_array()
1888 if (rate->bitrate != bitrates[j]) in minstrel_ht_fill_rate_array()
1900 static const s16 bitrates[4] = { 10, 20, 55, 110 }; in minstrel_ht_init_cck_rates() local
1909 BUILD_BUG_ON(ARRAY_SIZE(mp->cck_rates) != ARRAY_SIZE(bitrates)); in minstrel_ht_init_cck_rates()
1919 static const s16 bitrates[8] = { 60, 90, 120, 180, 240, 360, 480, 540 }; in minstrel_ht_init_ofdm_rates() local
1928 BUILD_BUG_ON(ARRAY_SIZE(mp->ofdm_rates[band]) != ARRAY_SIZE(bitrates)); in minstrel_ht_init_ofdm_rates()
H A Dairtime.c487 rate = &sband->bitrates[status->rate_idx]; in ieee80211_calc_rx_airtime()
539 if (ri->legacy != sband->bitrates[i].bitrate) in ieee80211_fill_rate_info()
707 rate = sband->bitrates[rateidx].bitrate << shift; in ieee80211_calc_expected_tx_airtime()
708 cck = sband->bitrates[rateidx].flags & IEEE80211_RATE_MANDATORY_B; in ieee80211_calc_expected_tx_airtime()
H A Dibss.c101 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_build_presp()
103 if (sband->bitrates[i].bitrate > 110 && in ieee80211_ibss_build_presp()
114 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
158 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
453 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_join_ibss()
457 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_join_ibss()
1813 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_join()
H A Dutil.c222 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_rts_duration()
266 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_ctstoself_duration()
1984 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_build_preq_ies_band()
1988 (u8) DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_build_preq_ies_band()
2311 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_get_rates()
2315 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_get_rates()
4046 br = &sband->bitrates[j]; in ieee80211_parse_bitrates()
4077 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_add_srates_ie()
4092 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_add_srates_ie()
4097 rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_add_srates_ie()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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()
H A 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()
H A Dbeacon.c84 rate = sband->bitrates[rateidx].hw_value; in ath9k_beacon_setup()
86 rate |= sband->bitrates[rateidx].hw_value_short; in ath9k_beacon_setup()
/openbmc/linux/drivers/staging/vt6656/
H A Dchannel.c61 .bitrates = vnt_rates_bg,
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A 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 …]
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/staging/vt6655/
H A Dchannel.c48 .bitrates = vnt_rates_bg,
H A Ddpc.c62 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data()
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dmain.c161 .bitrates = cw1200_g_rates,
181 .bitrates = cw1200_a_rates,
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A 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()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.h271 struct ieee80211_rate bitrates[ARRAY_SIZE(wilc_bitrates)]; member
/openbmc/linux/drivers/net/wireless/virtual/
H A Dvirt_wifi.c45 .bitrates = bitrates_2ghz,
98 .bitrates = bitrates_5ghz,
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dextended-controls.rst96 audio bitrates. Some drivers only support one or two bitrates, others
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dcfg.c55 priv->band.bitrates = orinoco_rates; in orinoco_wiphy_register()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_txrx.c83 r = &wiphy->bands[band]->bitrates[rate->idx]; in mt76x02_tx_get_max_txpwr_adj()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A 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()

12345