Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 23 of 23) sorted by relevance

/net/mac80211/
Drate.c335 info->control.rates[0].idx = 0; in __rate_control_send_low()
346 info->control.rates[0].idx = i; in __rate_control_send_low()
356 info->control.rates[0].count = in __rate_control_send_low()
380 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
391 rc_send_low_basicrate(&info->control.rates[0].idx, in rate_control_send_low()
587 struct ieee80211_tx_rate *rates, in rate_fixup_ratelist() argument
602 if (!(rates[0].flags & in rate_fixup_ratelist()
607 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist()
632 rates[i].idx = -1; in rate_fixup_ratelist()
635 if (rates[i].idx < 0) { in rate_fixup_ratelist()
[all …]
Dstatus.c270 else if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len()
271 !(info->status.rates[0].flags & in ieee80211_tx_radiotap_len()
290 } else if (info->status.rates[0].idx >= 0) { in ieee80211_tx_radiotap_len()
291 if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) in ieee80211_tx_radiotap_len()
293 else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) in ieee80211_tx_radiotap_len()
338 } else if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header()
339 !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | in ieee80211_add_tx_radiotap_header()
342 sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
357 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in ieee80211_add_tx_radiotap_header()
359 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in ieee80211_add_tx_radiotap_header()
[all …]
Drc80211_minstrel_ht.c325 return &mi->groups[group].rates[idx]; in minstrel_ht_get_stats()
331 return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; in minstrel_get_ratestats()
392 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_ewma; in minstrel_ht_sort_best_tp_rates()
398 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_sort_best_tp_rates()
431 mrs = &mg->rates[index % MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate()
435 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_set_best_prob_rate()
447 max_gpr_prob = mi->groups[max_gpr_group].rates[max_gpr_idx].prob_ewma; in minstrel_ht_set_best_prob_rate()
485 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_assign_best_tp_rates()
490 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; in minstrel_ht_assign_best_tp_rates()
521 tmp_prob = mi->groups[group].rates[tmp_idx].prob_ewma; in minstrel_ht_prob_rate_reduce_streams()
[all …]
Dutil.c1665 u8 rates[32]; in ieee80211_build_preq_ies_band() local
1688 rates[num_rates++] = in ieee80211_build_preq_ies_band()
1699 memcpy(pos, rates, supp_rates_len); in ieee80211_build_preq_ies_band()
1726 memcpy(pos, rates + supp_rates_len, ext_rates_len); in ieee80211_build_preq_ies_band()
3147 const u8 *srates, int srates_len, u32 *rates) in ieee80211_parse_bitrates() argument
3154 *rates = 0; in ieee80211_parse_bitrates()
3166 *rates |= BIT(j); in ieee80211_parse_bitrates()
3182 u8 i, rates, *pos; in ieee80211_add_srates_ie() local
3189 rates = 0; in ieee80211_add_srates_ie()
3193 rates++; in ieee80211_add_srates_ie()
[all …]
Drc80211_minstrel_ht.h51 struct minstrel_rate_stats rates[MCS_GROUP_RATES]; member
Dtx.c752 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl()
754 if (unlikely(info->control.rates[0].idx < 0)) { in ieee80211_tx_h_rate_ctrl()
770 tx->rate = info->control.rates[0]; in ieee80211_tx_h_rate_ctrl()
783 if (unlikely(!info->control.rates[0].count)) in ieee80211_tx_h_rate_ctrl()
784 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl()
786 if (WARN_ON_ONCE((info->control.rates[0].count > 1) && in ieee80211_tx_h_rate_ctrl()
788 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl()
985 info->control.rates[1].idx = -1; in ieee80211_tx_h_fragment()
986 info->control.rates[2].idx = -1; in ieee80211_tx_h_fragment()
987 info->control.rates[3].idx = -1; in ieee80211_tx_h_fragment()
[all …]
Drc80211_minstrel_ht_debugfs.c54 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_dump()
201 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_csv_dump()
Dmesh_plink.c415 u32 rates, basic_rates = 0, changed = 0; in mesh_sta_info_init() local
422 rates = ieee80211_sta_get_rates(sdata, elems, sband->band, in mesh_sta_info_init()
434 if (sta->sta.supp_rates[sband->band] != rates) in mesh_sta_info_init()
436 sta->sta.supp_rates[sband->band] = rates; in mesh_sta_info_init()
Drc80211_minstrel.c266 struct ieee80211_tx_rate *ar = info->status.rates; in minstrel_tx_status()
329 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in minstrel_get_rate()
Dmlme.c654 u32 rates = 0; in ieee80211_send_assoc() local
679 &rates); in ieee80211_send_assoc()
688 rates |= BIT(i); in ieee80211_send_assoc()
772 if (BIT(i) & rates) { in ieee80211_send_assoc()
787 if (BIT(i) & rates) { in ieee80211_send_assoc()
3117 u32 *rates, u32 *basic_rates, in ieee80211_get_rates() argument
3151 *rates |= BIT(j); in ieee80211_get_rates()
4969 u32 rates = 0, basic_rates = 0; in ieee80211_prep_connection() local
4977 &rates, &basic_rates, in ieee80211_prep_connection()
4996 if (rates) in ieee80211_prep_connection()
[all …]
Dibss.c51 u32 rate_flags, rates = 0, rates_added = 0; in ieee80211_ibss_build_presp() local
107 rates |= BIT(i); in ieee80211_ibss_build_presp()
117 if (!(rates & BIT(ri))) in ieee80211_ibss_build_presp()
161 if (!(rates & BIT(ri))) in ieee80211_ibss_build_presp()
Ddriver-ops.c130 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state()
Dscan.c376 bands_used, req->rates, &chandef, in ieee80211_prep_hw_scan()
652 scan_req->rates[band], flags, in ieee80211_scan_state_send_probe()
Dmain.c1037 local->int_scan_req->rates[band] = (u32) -1; in ieee80211_register_hw()
Dieee80211_i.h2170 const u8 *srates, int srates_len, u32 *rates);
Dsta_info.c272 kfree(rcu_dereference_raw(sta->sta.rates)); in sta_info_free()
/net/wireless/
Dcore.h519 const u8 *rates, unsigned int n_rates,
Dnl80211.c4288 u8 *rates, u8 rates_len) in rateset_to_mask() argument
4294 int rate = (rates[i] & 0x7f) * 5; in rateset_to_mask()
4313 u8 *rates, u8 rates_len, in ht_rateset_to_mask() argument
4323 ridx = rates[i] / 8; in ht_rateset_to_mask()
4324 rbit = BIT(rates[i] % 8); in ht_rateset_to_mask()
4712 const u8 *rates) in nl80211_check_ap_rate_selectors() argument
4716 if (!rates) in nl80211_check_ap_rate_selectors()
4719 for (i = 0; i < rates[1]; i++) { in nl80211_check_ap_rate_selectors()
4720 if (rates[2 + i] == BSS_MEMBERSHIP_SELECTOR_HT_PHY) in nl80211_check_ap_rate_selectors()
4722 if (rates[2 + i] == BSS_MEMBERSHIP_SELECTOR_VHT_PHY) in nl80211_check_ap_rate_selectors()
[all …]
Dutil.c1917 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument
1931 int rate = (rates[i] & 0x7f) * 5; in ieee80211_get_ratemask()
Dsme.c97 request->rates[band] = (1 << sband->n_bitrates) - 1; in cfg80211_conn_scan()
114 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan()
Dtrace.h3158 __array(u32, rates, NUM_NL80211_BANDS)
3170 memcpy(__entry->rates, request->rates,
Dscan.c2300 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
/net/netfilter/
DKconfig993 rates similar to TC estimators. The `rateest' match can be
994 used to match on the measured rates.