Home
last modified time | relevance | path

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

/net/mac80211/
Drate.c235 info->control.rates[0].idx = 0; in __rate_control_send_low()
246 info->control.rates[0].idx = i; in __rate_control_send_low()
251 info->control.rates[0].count = in __rate_control_send_low()
276 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
287 rc_send_low_basicrate(&info->control.rates[0].idx, in rate_control_send_low()
434 struct ieee80211_tx_rate *rates, in rate_fixup_ratelist() argument
449 if (!(rates[0].flags & IEEE80211_TX_RC_MCS)) { in rate_fixup_ratelist()
453 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist()
478 rates[i].idx = -1; in rate_fixup_ratelist()
481 if (rates[i].idx < 0) { in rate_fixup_ratelist()
[all …]
Dstatus.c249 if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len()
250 !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | in ieee80211_tx_radiotap_len()
262 if (info->status.rates[0].idx >= 0) { in ieee80211_tx_radiotap_len()
263 if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) in ieee80211_tx_radiotap_len()
265 else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) in ieee80211_tx_radiotap_len()
300 if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header()
301 !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | in ieee80211_add_tx_radiotap_header()
306 rate = sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
318 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in ieee80211_add_tx_radiotap_header()
320 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in ieee80211_add_tx_radiotap_header()
[all …]
Drc80211_minstrel_ht.c163 return &mi->groups[group].rates[idx]; in minstrel_ht_get_stats()
169 return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; in minstrel_get_ratestats()
210 mr = &mi->groups[group].rates[rate]; in minstrel_ht_calc_tp()
252 cur_thr = mi->groups[cur_group].rates[cur_idx].cur_tp; in minstrel_ht_sort_best_tp_rates()
253 cur_prob = mi->groups[cur_group].rates[cur_idx].probability; in minstrel_ht_sort_best_tp_rates()
258 tmp_thr = mi->groups[tmp_group].rates[tmp_idx].cur_tp; in minstrel_ht_sort_best_tp_rates()
259 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].probability; in minstrel_ht_sort_best_tp_rates()
285 mr = &mg->rates[index % MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate()
289 tmp_tp = mi->groups[tmp_group].rates[tmp_idx].cur_tp; in minstrel_ht_set_best_prob_rate()
290 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].probability; in minstrel_ht_set_best_prob_rate()
[all …]
Dutil.c1261 u8 rates[32]; in ieee80211_build_preq_ies_band() local
1283 rates[num_rates++] = in ieee80211_build_preq_ies_band()
1294 memcpy(pos, rates, supp_rates_len); in ieee80211_build_preq_ies_band()
1321 memcpy(pos, rates + supp_rates_len, ext_rates_len); in ieee80211_build_preq_ies_band()
2269 const u8 *srates, int srates_len, u32 *rates) in ieee80211_parse_bitrates() argument
2276 *rates = 0; in ieee80211_parse_bitrates()
2288 *rates |= BIT(j); in ieee80211_parse_bitrates()
2304 u8 i, rates, *pos; in ieee80211_add_srates_ie() local
2311 rates = 0; in ieee80211_add_srates_ie()
2315 rates++; in ieee80211_add_srates_ie()
[all …]
Drc80211_minstrel_ht.h41 struct minstrel_rate_stats rates[MCS_GROUP_RATES]; member
Dmesh_plink.c384 u32 rates, basic_rates = 0, changed = 0; in mesh_sta_info_init() local
387 rates = ieee80211_sta_get_rates(sdata, elems, band, &basic_rates); in mesh_sta_info_init()
396 if (sta->sta.supp_rates[band] != rates) in mesh_sta_info_init()
398 sta->sta.supp_rates[band] = rates; in mesh_sta_info_init()
Dtx.c733 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl()
735 if (unlikely(info->control.rates[0].idx < 0)) { in ieee80211_tx_h_rate_ctrl()
751 tx->rate = info->control.rates[0]; in ieee80211_tx_h_rate_ctrl()
764 if (unlikely(!info->control.rates[0].count)) in ieee80211_tx_h_rate_ctrl()
765 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl()
767 if (WARN_ON_ONCE((info->control.rates[0].count > 1) && in ieee80211_tx_h_rate_ctrl()
769 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl()
958 info->control.rates[1].idx = -1; in ieee80211_tx_h_fragment()
959 info->control.rates[2].idx = -1; in ieee80211_tx_h_fragment()
960 info->control.rates[3].idx = -1; in ieee80211_tx_h_fragment()
Drc80211_minstrel_ht_debugfs.c37 struct minstrel_rate_stats *mr = &mi->groups[i].rates[j]; in minstrel_ht_stats_dump()
Drc80211_minstrel.c231 struct ieee80211_tx_rate *ar = info->status.rates; in minstrel_tx_status()
300 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in minstrel_get_rate()
Dmlme.c602 u32 rate_flags, rates = 0; in ieee80211_send_assoc() local
628 &rates); in ieee80211_send_assoc()
640 rates |= BIT(i); in ieee80211_send_assoc()
721 if (BIT(i) & rates) { in ieee80211_send_assoc()
736 if (BIT(i) & rates) { in ieee80211_send_assoc()
2505 u32 *rates, u32 *basic_rates, in ieee80211_get_rates() argument
2541 *rates |= BIT(j); in ieee80211_get_rates()
4010 u32 rates = 0, basic_rates = 0; in ieee80211_prep_connection() local
4040 &rates, &basic_rates, in ieee80211_prep_connection()
4059 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
Dibss.c52 u32 rate_flags, rates = 0, rates_added = 0; in ieee80211_ibss_build_presp() local
106 rates |= BIT(i); in ieee80211_ibss_build_presp()
116 if (!(rates & BIT(ri))) in ieee80211_ibss_build_presp()
159 if (!(rates & BIT(ri))) in ieee80211_ibss_build_presp()
Dscan.c281 bands_used, req->rates, &chandef); in ieee80211_prep_hw_scan()
469 local->scan_req->rates[band], false, in ieee80211_scan_state_send_probe()
Dmain.c889 local->int_scan_req->rates[band] = (u32) -1; in ieee80211_register_hw()
Dieee80211_i.h1860 const u8 *srates, int srates_len, u32 *rates);
Dsta_info.c246 kfree(rcu_dereference_raw(sta->sta.rates)); in sta_info_free()
/net/netfilter/ipvs/
Dip_vs_ctl.c2106 struct ip_vs_stats_user rates; in ip_vs_stats_percpu_show() local
2140 ip_vs_read_estimator(&rates, tot_stats); in ip_vs_stats_percpu_show()
2148 rates.cps, in ip_vs_stats_percpu_show()
2149 rates.inpps, in ip_vs_stats_percpu_show()
2150 rates.outpps, in ip_vs_stats_percpu_show()
2151 rates.inbps, in ip_vs_stats_percpu_show()
2152 rates.outbps); in ip_vs_stats_percpu_show()
/net/wireless/
Dcore.h442 const u8 *rates, unsigned int n_rates,
Dutil.c1500 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument
1514 int rate = (rates[i] & 0x7f) * 5; in ieee80211_get_ratemask()
Dtrace.h2450 __array(u32, rates, IEEE80211_NUM_BANDS)
2460 memcpy(__entry->rates, request->rates,
Dnl80211.c5517 request->rates[i] = in nl80211_trigger_scan()
5537 &request->rates[band]); in nl80211_trigger_scan()
6868 u8 *rates = in nl80211_join_ibss() local
6875 err = ieee80211_get_ratemask(sband, rates, n_rates, in nl80211_join_ibss()
7586 u8 *rates, u8 rates_len) in rateset_to_mask() argument
7592 int rate = (rates[i] & 0x7f) * 5; in rateset_to_mask()
7610 u8 *rates, u8 rates_len, in ht_rateset_to_mask() argument
7620 ridx = rates[i] / 8; in ht_rateset_to_mask()
7621 rbit = BIT(rates[i] % 8); in ht_rateset_to_mask()
8244 u8 *rates = nla_data(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_join_mesh() local
[all …]
Dsme.c101 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan()
Dscan.c1220 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
/net/netfilter/
DKconfig830 rates similar to TC estimators. The `rateest' match can be
831 used to match on the measured rates.