Home
last modified time | relevance | path

Searched full:rates (Results 1 – 25 of 1881) sorted by relevance

12345678910>>...76

/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dppr.c71 struct b43_ppr_rates *rates = &ppr->rates; in b43_ppr_load_max_from_sprom() local
121 rates->cck[i] = maxpwr - off; in b43_ppr_load_max_from_sprom()
128 rates->ofdm[i] = maxpwr - off; in b43_ppr_load_max_from_sprom()
132 rates->mcs_20[0] = rates->ofdm[0]; in b43_ppr_load_max_from_sprom()
133 rates->mcs_20[1] = rates->ofdm[2]; in b43_ppr_load_max_from_sprom()
134 rates->mcs_20[2] = rates->ofdm[3]; in b43_ppr_load_max_from_sprom()
135 rates->mcs_20[3] = rates->ofdm[4]; in b43_ppr_load_max_from_sprom()
136 rates->mcs_20[4] = rates->ofdm[5]; in b43_ppr_load_max_from_sprom()
137 rates->mcs_20[5] = rates->ofdm[6]; in b43_ppr_load_max_from_sprom()
138 rates->mcs_20[6] = rates->ofdm[7]; in b43_ppr_load_max_from_sprom()
[all …]
/Linux-v6.6/net/mac80211/
Drate.c300 "no overlap between basic rates (0x%x) and user mask (0x%x on band %d) - clearing the latter", in ieee80211_check_rate_mask()
329 return; /* assume basic rates unknown and accept rate */ in rc_send_low_basicrate()
356 info->control.rates[0].flags |= IEEE80211_TX_RC_S1G_MCS; in __rate_control_send_low()
357 info->control.rates[0].idx = 0; in __rate_control_send_low()
365 info->control.rates[0].idx = 0; in __rate_control_send_low()
376 info->control.rates[0].idx = i; in __rate_control_send_low()
380 "no supported rates for sta %pM (0x%x, band %d) in rate_mask 0x%x with flags 0x%x\n", in __rate_control_send_low()
386 info->control.rates[0].count = in __rate_control_send_low()
410 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
421 rc_send_low_basicrate(&info->control.rates[0], in rate_control_send_low()
[all …]
Drc80211_minstrel_ht.c200 "Use only VHT rates when VHT is supported by sta.");
203 * To enable sufficiently targeted rate sampling, MCS rates are divided into
409 return &mi->groups[group].rates[idx]; in minstrel_ht_get_stats()
453 return &mi->groups[group].rates[idx]; in minstrel_ht_ri_get_stats()
459 return &mi->groups[MI_RATE_GROUP(index)].rates[MI_RATE_IDX(index)]; in minstrel_get_ratestats()
531 * Find & sort topmost throughput rates
533 * If multiple rates provide equal throughput the sorting is based on their
535 * MCS groups, CCK rates do not provide aggregation and are therefore at last.
547 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
553 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
[all …]
Dstatus.c251 status_rate = &status->rates[status->n_rates - 1]; in ieee80211_tx_radiotap_len()
261 else if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len()
262 !(info->status.rates[0].flags & in ieee80211_tx_radiotap_len()
281 } else if (info->status.rates[0].idx >= 0) { in ieee80211_tx_radiotap_len()
282 if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) in ieee80211_tx_radiotap_len()
284 else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) in ieee80211_tx_radiotap_len()
306 status_rate = &status->rates[status->n_rates - 1]; in ieee80211_add_tx_radiotap_header()
333 } else if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header()
334 !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | in ieee80211_add_tx_radiotap_header()
340 sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
[all …]
/Linux-v6.6/drivers/net/wireless/silabs/wfx/
Ddata_tx.c47 struct ieee80211_tx_rate *rates) in wfx_tx_policy_build() argument
53 WARN(rates[0].idx < 0, "invalid rate policy"); in wfx_tx_policy_build()
56 if (rates[i].idx < 0) in wfx_tx_policy_build()
58 WARN_ON(rates[i].count > 15); in wfx_tx_policy_build()
59 rateid = wfx_get_hw_rate(wdev, &rates[i]); in wfx_tx_policy_build()
60 /* Pack two values in each byte of policy->rates */ in wfx_tx_policy_build()
61 count = rates[i].count; in wfx_tx_policy_build()
64 policy->rates[rateid / 2] |= count; in wfx_tx_policy_build()
70 return !memcmp(a->rates, b->rates, sizeof(a->rates)); in wfx_tx_policy_is_equal()
101 static int wfx_tx_policy_get(struct wfx_vif *wvif, struct ieee80211_tx_rate *rates, bool *renew) in wfx_tx_policy_get() argument
[all …]
/Linux-v6.6/sound/soc/qcom/qdsp6/
Dq6dsp-lpass-ports.c13 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
31 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
49 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
67 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
85 .rates = SNDRV_PCM_RATE_48000 | \
103 .rates = SNDRV_PCM_RATE_48000 |
120 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
135 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
148 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
165 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
[all …]
/Linux-v6.6/sound/soc/mediatek/mt8186/
Dmt8186-dai-hostless.c118 .rates = MTK_HOSTLESS_RATES,
125 .rates = MTK_HOSTLESS_RATES,
137 .rates = MTK_HOSTLESS_RATES,
144 .rates = MTK_HOSTLESS_RATES,
156 .rates = MTK_HOSTLESS_RATES,
163 .rates = MTK_HOSTLESS_RATES,
175 .rates = MTK_HOSTLESS_RATES,
182 .rates = MTK_HOSTLESS_RATES,
195 .rates = MTK_HOSTLESS_RATES,
207 .rates = MTK_HOSTLESS_RATES,
[all …]
/Linux-v6.6/drivers/net/wireless/st/cw1200/
Dtxrx.c67 struct ieee80211_tx_rate *rates, size_t count) in tx_policy_build() argument
72 BUG_ON(rates[0].idx < 0); in tx_policy_build()
75 /* Sort rates in descending order. */ in tx_policy_build()
77 if (rates[i].idx < 0) { in tx_policy_build()
81 if (rates[i].idx > rates[i - 1].idx) { in tx_policy_build()
82 struct ieee80211_tx_rate tmp = rates[i - 1]; in tx_policy_build()
83 rates[i - 1] = rates[i]; in tx_policy_build()
84 rates[i] = tmp; in tx_policy_build()
89 total = rates[0].count; in tx_policy_build()
91 if (rates[j].idx == rates[i].idx) { in tx_policy_build()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c238 WRITE_ONCE(ads->ds_ctl2, set11nTries(i->rates, 0) in ar9002_set_txdesc()
239 | set11nTries(i->rates, 1) in ar9002_set_txdesc()
240 | set11nTries(i->rates, 2) in ar9002_set_txdesc()
241 | set11nTries(i->rates, 3) in ar9002_set_txdesc()
245 WRITE_ONCE(ads->ds_ctl3, set11nRate(i->rates, 0) in ar9002_set_txdesc()
246 | set11nRate(i->rates, 1) in ar9002_set_txdesc()
247 | set11nRate(i->rates, 2) in ar9002_set_txdesc()
248 | set11nRate(i->rates, 3)); in ar9002_set_txdesc()
298 WRITE_ONCE(ads->ds_ctl4, set11nPktDurRTSCTS(i->rates, 0) in ar9002_set_txdesc()
299 | set11nPktDurRTSCTS(i->rates, 1)); in ar9002_set_txdesc()
[all …]
Dxmit.c172 ratetbl = rcu_dereference(sta->rates); in ath_merge_ratetbl()
176 if (tx_info->control.rates[0].idx < 0 || in ath_merge_ratetbl()
177 tx_info->control.rates[0].count == 0) in ath_merge_ratetbl()
181 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl()
186 bf->rates[i].idx = ratetbl->rate[i].idx; in ath_merge_ratetbl()
187 bf->rates[i].flags = ratetbl->rate[i].flags; in ath_merge_ratetbl()
189 bf->rates[i].count = ratetbl->rate[i].count_rts; in ath_merge_ratetbl()
191 bf->rates[i].count = ratetbl->rate[i].count_cts; in ath_merge_ratetbl()
193 bf->rates[i].count = ratetbl->rate[i].count; in ath_merge_ratetbl()
207 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, in ath_set_rates()
[all …]
Dar9003_mac.c69 WRITE_ONCE(ads->ctl13, set11nTries(i->rates, 0) in ar9003_set_txdesc()
70 | set11nTries(i->rates, 1) in ar9003_set_txdesc()
71 | set11nTries(i->rates, 2) in ar9003_set_txdesc()
72 | set11nTries(i->rates, 3) in ar9003_set_txdesc()
76 WRITE_ONCE(ads->ctl14, set11nRate(i->rates, 0) in ar9003_set_txdesc()
77 | set11nRate(i->rates, 1) in ar9003_set_txdesc()
78 | set11nRate(i->rates, 2) in ar9003_set_txdesc()
79 | set11nRate(i->rates, 3)); in ar9003_set_txdesc()
141 WRITE_ONCE(ads->ctl15, set11nPktDurRTSCTS(i->rates, 0) in ar9003_set_txdesc()
142 | set11nPktDurRTSCTS(i->rates, 1)); in ar9003_set_txdesc()
[all …]
/Linux-v6.6/drivers/soundwire/
Dgeneric_bandwidth_allocation.c29 unsigned int *rates; member
160 int *rates, int count) in sdw_compute_group_params() argument
169 params[i].rate = rates[i]; in sdw_compute_group_params()
205 if (rate == group->rates[i]) in sdw_add_element_group_count()
212 unsigned int *rates; in sdw_add_element_group_count() local
215 rates = krealloc(group->rates, in sdw_add_element_group_count()
218 if (!rates) in sdw_add_element_group_count()
220 group->rates = rates; in sdw_add_element_group_count()
223 group->rates[group->count++] = rate; in sdw_add_element_group_count()
238 group->rates = kcalloc(group->max_size, sizeof(int), GFP_KERNEL); in sdw_get_group_count()
[all …]
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dcfp.c83 /* AC rates */
181 * This function maps an index in supported rates table into
226 /* 11n non-HT rates */ in mwifiex_index_to_acs_data_rate()
235 /* This function maps an index in supported rates table into
281 * This function returns the current active data rates.
285 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) in mwifiex_get_active_data_rates() argument
288 return mwifiex_get_supported_rates(priv, rates); in mwifiex_get_active_data_rates()
290 return mwifiex_copy_rates(rates, 0, in mwifiex_get_active_data_rates()
375 /* This function gets the supported data rates from bitmask inside
379 u8 *rates, u8 radio_type) in mwifiex_get_rates_from_cfg80211() argument
[all …]
/Linux-v6.6/drivers/clk/sunxi-ng/
Dccu_frac.c62 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate()
76 pr_debug("%s: clock is fractional (rates %lu and %lu)\n", in ccu_frac_helper_read_rate()
77 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); in ccu_frac_helper_read_rate()
84 return (reg & cf->select) ? cf->rates[1] : cf->rates[0]; in ccu_frac_helper_read_rate()
98 if (cf->rates[0] == rate) in ccu_frac_helper_set_rate()
100 else if (cf->rates[1] == rate) in ccu_frac_helper_set_rate()
/Linux-v6.6/drivers/gpu/drm/tegra/
Ddp.c54 link->rates[i] = 0; in drm_dp_link_reset()
60 * drm_dp_link_add_rate() - add a rate to the list of supported rates
64 * Add a link rate to the list of supported link rates.
68 * - ENOSPC if the maximum number of supported rates has been reached
82 if (rate <= link->rates[pivot]) in drm_dp_link_add_rate()
85 if (pivot != link->num_rates && rate == link->rates[pivot]) in drm_dp_link_add_rate()
89 link->rates[i] = link->rates[i - 1]; in drm_dp_link_add_rate()
91 link->rates[pivot] = rate; in drm_dp_link_add_rate()
98 * drm_dp_link_remove_rate() - remove a rate from the list of supported rates
102 * Removes a link rate from the list of supported link rates.
[all …]
/Linux-v6.6/sound/soc/sof/amd/
Dvangogh.c33 .rates = SNDRV_PCM_RATE_8000_96000,
42 .rates = SNDRV_PCM_RATE_8000_48000,
57 .rates = SNDRV_PCM_RATE_8000_96000,
66 .rates = SNDRV_PCM_RATE_8000_48000,
81 .rates = SNDRV_PCM_RATE_8000_96000,
90 .rates = SNDRV_PCM_RATE_8000_48000,
105 .rates = SNDRV_PCM_RATE_8000_48000,
118 .rates = SNDRV_PCM_RATE_8000_96000,
127 .rates = SNDRV_PCM_RATE_8000_48000,
Drembrandt.c33 .rates = SNDRV_PCM_RATE_8000_96000,
42 .rates = SNDRV_PCM_RATE_8000_48000,
57 .rates = SNDRV_PCM_RATE_8000_96000,
66 .rates = SNDRV_PCM_RATE_8000_48000,
81 .rates = SNDRV_PCM_RATE_8000_96000,
90 .rates = SNDRV_PCM_RATE_8000_48000,
105 .rates = SNDRV_PCM_RATE_8000_48000,
118 .rates = SNDRV_PCM_RATE_8000_96000,
Drenoir.c32 .rates = SNDRV_PCM_RATE_8000_96000,
41 .rates = SNDRV_PCM_RATE_8000_48000,
56 .rates = SNDRV_PCM_RATE_8000_96000,
65 .rates = SNDRV_PCM_RATE_8000_48000,
80 .rates = SNDRV_PCM_RATE_8000_48000,
93 .rates = SNDRV_PCM_RATE_8000_96000,
/Linux-v6.6/drivers/net/wireless/intersil/orinoco/
Dscan.c27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) in symbol_build_supp_rates() argument
34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates()
45 static int prism_build_supp_rates(u8 *buf, const u8 *rates) in prism_build_supp_rates() argument
52 if (rates[i] == 0x0) in prism_build_supp_rates()
54 buf[i + 2] = rates[i]; in prism_build_supp_rates()
58 /* We might still have another 2 rates, which need to go in in prism_build_supp_rates()
59 * extended supported rates */ in prism_build_supp_rates()
60 if (i == 8 && rates[i] > 0) { in prism_build_supp_rates()
64 if (rates[i] == 0x0) in prism_build_supp_rates()
66 buf[i + 2] = rates[i]; in prism_build_supp_rates()
[all …]
/Linux-v6.6/sound/usb/
Dformat.c168 fp->rates = rate_bits; in set_fixed_rate()
173 /* set up rate_min, rate_max and rates from the rate table */
181 fp->rates = 0; in set_rate_table_min_max()
186 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in set_rate_table_min_max()
191 * parse the format descriptor and stores the possible sample rates
248 "%u:%d: All rates were zero\n", in parse_audio_format_rates_v1()
254 /* continuous rates */ in parse_audio_format_rates_v1()
255 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
273 * rates per altsetting but reports the full set each time.
274 * If we don't filter out the unsupported rates and attempt
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/net/wireless/
Dmediatek,mt76.yaml169 rates-cck:
176 rates-ofdm:
183 rates-mcs:
187 rates for multiple channel bandwidth settings.
197 rates-ru:
200 Sets of per-rate power limit values for 802.11ax rates
244 rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>;
245 rates-mcs = /bits/ 8 <1 23 23 23 23 23 23 23 23 23 23>,
247 rates-ru = /bits/ 8 <3 22 22 22 22 22 22 22 22 22 22 22 22>,
252 rates-ofdm = /bits/ 8 <14 14 14 14 14 14 14 14>;
[all …]
/Linux-v6.6/arch/arm64/boot/dts/freescale/
Dimx8-ss-dma.dtsi34 assigned-clock-rates = <60000000>;
50 assigned-clock-rates = <60000000>;
66 assigned-clock-rates = <60000000>;
82 assigned-clock-rates = <60000000>;
94 assigned-clock-rates = <80000000>;
106 assigned-clock-rates = <80000000>;
118 assigned-clock-rates = <80000000>;
130 assigned-clock-rates = <80000000>;
238 assigned-clock-rates = <24000000>;
250 assigned-clock-rates = <24000000>;
[all …]
/Linux-v6.6/sound/soc/intel/skylake/
Dskl-pcm.c43 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 |
691 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_8000,
700 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000,
712 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 |
725 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 |
738 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000,
750 .rates = SNDRV_PCM_RATE_48000,
762 .rates = SNDRV_PCM_RATE_48000,
774 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000,
786 .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |
[all …]
/Linux-v6.6/sound/soc/fsl/
Dfsl_rpmsg.c121 .rates = SNDRV_PCM_RATE_KNOT,
128 .rates = SNDRV_PCM_RATE_KNOT,
143 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
149 .rates = SNDRV_PCM_RATE_KNOT,
156 .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |
165 .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |
174 .rates = SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_32000 |
203 fsl_rpmsg_dai.playback.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
204 fsl_rpmsg_dai.capture.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c732 struct ieee80211_tx_rate *rates) in mt7603_wtbl_set_rates() argument
750 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates()
753 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
754 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
760 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
763 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
764 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
772 if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) in mt7603_wtbl_set_rates()
773 rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; in mt7603_wtbl_set_rates()
776 if (rates[i].idx != rates[k].idx) in mt7603_wtbl_set_rates()
[all …]

12345678910>>...76