/net/mac80211/ |
D | rate.c | 335 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 …]
|
D | status.c | 270 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 …]
|
D | rc80211_minstrel_ht.c | 325 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 …]
|
D | util.c | 1665 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 …]
|
D | rc80211_minstrel_ht.h | 51 struct minstrel_rate_stats rates[MCS_GROUP_RATES]; member
|
D | tx.c | 752 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 …]
|
D | rc80211_minstrel_ht_debugfs.c | 54 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()
|
D | mesh_plink.c | 415 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()
|
D | rc80211_minstrel.c | 266 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()
|
D | mlme.c | 654 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 …]
|
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 | driver-ops.c | 130 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state()
|
D | scan.c | 376 bands_used, req->rates, &chandef, in ieee80211_prep_hw_scan() 652 scan_req->rates[band], flags, in ieee80211_scan_state_send_probe()
|
D | main.c | 1037 local->int_scan_req->rates[band] = (u32) -1; in ieee80211_register_hw()
|
D | ieee80211_i.h | 2170 const u8 *srates, int srates_len, u32 *rates);
|
D | sta_info.c | 272 kfree(rcu_dereference_raw(sta->sta.rates)); in sta_info_free()
|
/net/wireless/ |
D | core.h | 519 const u8 *rates, unsigned int n_rates,
|
D | nl80211.c | 4288 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 …]
|
D | util.c | 1917 const u8 *rates, unsigned int n_rates, in ieee80211_get_ratemask() argument 1931 int rate = (rates[i] & 0x7f) * 5; in ieee80211_get_ratemask()
|
D | sme.c | 97 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()
|
D | trace.h | 3158 __array(u32, rates, NUM_NL80211_BANDS) 3170 memcpy(__entry->rates, request->rates,
|
D | scan.c | 2300 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
|
/net/netfilter/ |
D | Kconfig | 993 rates similar to TC estimators. The `rateest' match can be 994 used to match on the measured rates.
|