/net/mac80211/ |
D | rate.c | 357 info->control.rates[0].flags |= IEEE80211_TX_RC_S1G_MCS; in __rate_control_send_low() 358 info->control.rates[0].idx = 0; in __rate_control_send_low() 366 info->control.rates[0].idx = 0; in __rate_control_send_low() 377 info->control.rates[0].idx = i; in __rate_control_send_low() 387 info->control.rates[0].count = in __rate_control_send_low() 411 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low() 422 rc_send_low_basicrate(&info->control.rates[0], in rate_control_send_low() 618 struct ieee80211_tx_rate *rates, in rate_fixup_ratelist() argument 633 if (!(rates[0].flags & in rate_fixup_ratelist() 638 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist() [all …]
|
D | status.c | 251 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 …]
|
D | rc80211_minstrel_ht.c | 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() 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() 587 mrs = &mg->rates[cur_idx]; in minstrel_ht_set_best_prob_rate() 591 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_set_best_prob_rate() 598 max_tp_prob = mi->groups[max_tp_group].rates[max_tp_idx].prob_avg; in minstrel_ht_set_best_prob_rate() 611 max_gpr_prob = mi->groups[max_gpr_group].rates[max_gpr_idx].prob_avg; in minstrel_ht_set_best_prob_rate() 649 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_assign_best_tp_rates() [all …]
|
D | rc80211_minstrel_ht_debugfs.c | 70 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_dump() 216 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_csv_dump()
|
D | util.c | 1942 u8 rates[32]; in ieee80211_build_preq_ies_band() local 1973 rates[num_rates++] = in ieee80211_build_preq_ies_band() 1984 memcpy(pos, rates, supp_rates_len); in ieee80211_build_preq_ies_band() 2011 memcpy(pos, rates + supp_rates_len, ext_rates_len); in ieee80211_build_preq_ies_band() 4016 const u8 *srates, int srates_len, u32 *rates) in ieee80211_parse_bitrates() argument 4023 *rates = 0; in ieee80211_parse_bitrates() 4035 *rates |= BIT(j); in ieee80211_parse_bitrates() 4051 u8 i, rates, *pos; in ieee80211_add_srates_ie() local 4058 rates = 0; in ieee80211_add_srates_ie() 4062 rates++; in ieee80211_add_srates_ie() [all …]
|
D | rc80211_minstrel_ht.h | 145 struct minstrel_rate_stats rates[MCS_GROUP_RATES]; member
|
D | tx.c | 773 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl() 775 if (unlikely(info->control.rates[0].idx < 0)) { in ieee80211_tx_h_rate_ctrl() 791 tx->rate = info->control.rates[0]; in ieee80211_tx_h_rate_ctrl() 804 if (unlikely(!info->control.rates[0].count)) in ieee80211_tx_h_rate_ctrl() 805 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl() 807 if (WARN_ON_ONCE((info->control.rates[0].count > 1) && in ieee80211_tx_h_rate_ctrl() 809 info->control.rates[0].count = 1; in ieee80211_tx_h_rate_ctrl() 1017 info->control.rates[1].idx = -1; in ieee80211_tx_h_fragment() 1018 info->control.rates[2].idx = -1; in ieee80211_tx_h_fragment() 1019 info->control.rates[3].idx = -1; in ieee80211_tx_h_fragment() [all …]
|
D | mesh_plink.c | 425 u32 rates, basic_rates = 0, changed = 0; in mesh_sta_info_init() local 432 rates = ieee80211_sta_get_rates(sdata, elems, sband->band, in mesh_sta_info_init() 444 if (sta->sta.deflink.supp_rates[sband->band] != rates) in mesh_sta_info_init() 446 sta->sta.deflink.supp_rates[sband->band] = rates; in mesh_sta_info_init()
|
D | airtime.c | 612 for (i = 0; i < ARRAY_SIZE(info->status.rates); i++) { in ieee80211_calc_tx_airtime() 613 struct ieee80211_tx_rate *rate = &info->status.rates[i]; in ieee80211_calc_tx_airtime()
|
D | ibss.c | 51 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()
|
D | scan.c | 380 bands_used, req->rates, &chandef, in ieee80211_prep_hw_scan() 655 scan_req->rates[band], flags, in ieee80211_scan_state_send_probe()
|
D | mlme.c | 835 u32 rates = 0; in ieee80211_assoc_add_rates() local 849 &rates); in ieee80211_assoc_add_rates() 858 rates |= BIT(i); in ieee80211_assoc_add_rates() 871 if (BIT(i) & rates) { in ieee80211_assoc_add_rates() 886 if (BIT(i) & rates) { in ieee80211_assoc_add_rates() 3895 u32 *rates, u32 *basic_rates, in ieee80211_get_rates() argument 3932 *rates |= BIT(j); in ieee80211_get_rates() 4395 u32 rates = 0, basic_rates = 0; in ieee80211_mgd_setup_link_sta() local 4414 &rates, &basic_rates, &have_higher_than_11mbit, in ieee80211_mgd_setup_link_sta() 4435 if (rates) in ieee80211_mgd_setup_link_sta() [all …]
|
D | driver-ops.c | 133 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state()
|
D | main.c | 1196 local->int_scan_req->rates[band] = (u32) -1; in ieee80211_register_hw()
|
D | ieee80211_i.h | 2505 const u8 *srates, int srates_len, u32 *rates);
|
D | sta_info.c | 434 kfree(rcu_dereference_raw(sta->sta.rates)); in sta_info_free()
|
/net/wireless/ |
D | core.h | 550 const u8 *rates, unsigned int n_rates,
|
D | nl80211.c | 4974 u8 *rates, u8 rates_len) in rateset_to_mask() argument 4980 int rate = (rates[i] & 0x7f) * 5; in rateset_to_mask() 4999 u8 *rates, u8 rates_len, in ht_rateset_to_mask() argument 5009 ridx = rates[i] / 8; in ht_rateset_to_mask() 5010 rbit = BIT(rates[i] % 8); in ht_rateset_to_mask() 5776 const struct element *rates) in nl80211_check_ap_rate_selectors() argument 5780 if (!rates) in nl80211_check_ap_rate_selectors() 5783 for (i = 0; i < rates->datalen; i++) { in nl80211_check_ap_rate_selectors() 5784 if (rates->data[i] == BSS_MEMBERSHIP_SELECTOR_HT_PHY) in nl80211_check_ap_rate_selectors() 5786 if (rates->data[i] == BSS_MEMBERSHIP_SELECTOR_VHT_PHY) in nl80211_check_ap_rate_selectors() [all …]
|
D | sme.c | 96 request->rates[band] = (1 << sband->n_bitrates) - 1; in cfg80211_conn_scan() 113 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan()
|
D | util.c | 2343 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument 2357 int rate = (rates[i] & 0x7f) * 5; in ieee80211_get_ratemask()
|
D | trace.h | 3500 __array(u32, rates, NUM_NL80211_BANDS) 3512 memcpy(__entry->rates, request->rates,
|
D | scan.c | 3484 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
|
/net/netfilter/ |
D | Kconfig | 1034 rates similar to TC estimators. The `rateest' match can be 1035 used to match on the measured rates.
|