Home
last modified time | relevance | path

Searched refs:bitrates (Results 1 – 19 of 19) sorted by relevance

/net/wireless/
Dutil.c31 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate()
37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate()
39 result = &sband->bitrates[i]; in ieee80211_get_response_rate()
49 struct ieee80211_rate *bitrates; in ieee80211_mandatory_rates() local
67 bitrates = sband->bitrates; in ieee80211_mandatory_rates()
69 if (bitrates[i].flags & mandatory_flag) in ieee80211_mandatory_rates()
172 if (sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band()
173 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band()
174 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band()
175 sband->bitrates[i].flags |= in set_mandatory_flags_band()
[all …]
Dmesh.c185 if (sband->bitrates[i].bitrate == 10) { in __cfg80211_join_mesh()
Dibss.c121 if (sband->bitrates[j].flags & flag) in __cfg80211_join_ibss()
Dwext-compat.c1230 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()
Dnl80211.c1685 rate = &sband->bitrates[i]; in nl80211_send_band_rateinfo()
4299 &sband->bitrates[ridx]; in rateset_to_mask()
9643 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()
/net/mac80211/
Drc80211_minstrel_ht_debugfs.c55 static const int bitrates[4] = { 10, 20, 55, 110 }; in minstrel_ht_stats_dump() local
87 int r = bitrates[j % 4]; in minstrel_ht_stats_dump()
202 static const int bitrates[4] = { 10, 20, 55, 110 }; in minstrel_ht_stats_csv_dump() local
234 int r = bitrates[j % 4]; in minstrel_ht_stats_csv_dump()
Drc80211_minstrel.c471 ctl_rate = &sband->bitrates[mi->lowest_rix]; in minstrel_rate_init()
491 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_rate_init()
500 mr->bitrate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in minstrel_rate_init()
502 calc_rate_durations(sband->band, mr, &sband->bitrates[i], in minstrel_rate_init()
532 if (!(sband->bitrates[i].flags & IEEE80211_RATE_ERP_G)) in minstrel_rate_init()
Drate.c340 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low()
607 rate = &sband->bitrates[rates[0].idx]; in rate_fixup_ratelist()
614 if (sband->bitrates[i].bitrate > rate->bitrate) in rate_fixup_ratelist()
617 if (sband->bitrates[baserate].bitrate < in rate_fixup_ratelist()
618 sband->bitrates[i].bitrate) in rate_fixup_ratelist()
671 rate = &sband->bitrates[rates[i].idx]; in rate_fixup_ratelist()
736 if ((flags & sband->bitrates[i].flags) != flags) in rate_control_cap_mask()
Dutil.c171 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_rts_duration()
215 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_ctstoself_duration()
1685 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_build_preq_ies_band()
1689 (u8) DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_build_preq_ies_band()
1989 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_get_rates()
1993 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_get_rates()
3160 br = &sband->bitrates[j]; in ieee80211_parse_bitrates()
3191 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_add_srates_ie()
3206 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_add_srates_ie()
3211 rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_add_srates_ie()
[all …]
Dibss.c101 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_build_presp()
103 if (sband->bitrates[i].bitrate > 110 && in ieee80211_ibss_build_presp()
114 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
158 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
456 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_join_ibss()
460 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_join_ibss()
1810 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_join()
Drc80211_minstrel_ht.c1374 if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE) in minstrel_ht_update_cck()
1605 static const int bitrates[4] = { 10, 20, 55, 110 }; in minstrel_ht_init_cck_rates() local
1615 struct ieee80211_rate *rate = &sband->bitrates[i]; in minstrel_ht_init_cck_rates()
1620 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_ht_init_cck_rates()
1623 for (j = 0; j < ARRAY_SIZE(bitrates); j++) { in minstrel_ht_init_cck_rates()
1624 if (rate->bitrate != bitrates[j]) in minstrel_ht_init_cck_rates()
Dsta_info.c458 rate = &hw->wiphy->bands[i]->bitrates[r]; in sta_info_alloc()
2101 if (WARN_ON_ONCE(!sband->bitrates)) in sta_stats_decode_rate()
2104 brate = sband->bitrates[rate_idx].bitrate; in sta_stats_decode_rate()
Dtx.c81 txrate = &sband->bitrates[tx->rate.idx]; in ieee80211_duration()
140 mrate = sband->bitrates[0].bitrate; in ieee80211_duration()
142 struct ieee80211_rate *r = &sband->bitrates[i]; in ieee80211_duration()
2197 if (rate * 5 != sband->bitrates[i].bitrate) in ieee80211_parse_tx_radiotap()
Dmesh_plink.c115 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G) in mesh_set_short_slot_time()
Dstatus.c342 sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
Dscan.c133 &sband->bitrates[rx_status->rate_idx]; in ieee80211_update_bss_from_elems()
Dcfg.c701 WARN_ON_ONCE(sband && !sband->bitrates); in sta_set_rate_info_tx()
702 if (sband && sband->bitrates) { in sta_set_rate_info_tx()
703 brate = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx()
Dmlme.c773 int rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_send_assoc()
789 rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_send_assoc()
3147 br = &sband->bitrates[j]; in ieee80211_get_rates()
Drx.c3704 rate = &sband->bitrates[status->rate_idx]; in ieee80211_rx_handlers_result()
4716 rate = &sband->bitrates[status->rate_idx]; in ieee80211_rx_napi()