Home
last modified time | relevance | path

Searched refs:bitrate (Results 1 – 16 of 16) sorted by relevance

/net/wireless/
Dutil.c22 u32 basic_rates, int bitrate) in ieee80211_get_response_rate() argument
30 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate()
148 if (sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band()
149 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band()
150 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band()
161 if (sband->bitrates[i].bitrate == 10) { in set_mandatory_flags_band()
168 if (sband->bitrates[i].bitrate == 20 || in set_mandatory_flags_band()
169 sband->bitrates[i].bitrate == 55 || in set_mandatory_flags_band()
170 sband->bitrates[i].bitrate == 110 || in set_mandatory_flags_band()
171 sband->bitrates[i].bitrate == 60 || in set_mandatory_flags_band()
[all …]
Dwext-compat.c46 if (sband->bitrates[i].bitrate == 10) in cfg80211_wext_giwname()
48 if (sband->bitrates[i].bitrate == 60) in cfg80211_wext_giwname()
1254 if (fixed == srate->bitrate) { in cfg80211_wext_siwrate()
1259 if (srate->bitrate <= maxrate) { in cfg80211_wext_siwrate()
Dscan.c1625 iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; in ieee80211_bss()
1628 iwe.u.bitrate.value = in ieee80211_bss()
Dnl80211.c1205 rate->bitrate)) in nl80211_send_band_rateinfo()
3651 u32 bitrate; in nl80211_put_sta_rate() local
3660 bitrate = cfg80211_calculate_bitrate(info); in nl80211_put_sta_rate()
3662 bitrate_compat = bitrate < (1UL << 16) ? bitrate : 0; in nl80211_put_sta_rate()
3663 if (bitrate > 0 && in nl80211_put_sta_rate()
3664 nla_put_u32(msg, NL80211_RATE_INFO_BITRATE32, bitrate)) in nl80211_put_sta_rate()
7439 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()
8282 if (rate == srate->bitrate) { in rateset_to_mask()
/net/mac80211/
Drc80211_minstrel_debugfs.c103 p += sprintf(p, " %3u%s ", mr->bitrate / 2, in minstrel_stats_open()
104 (mr->bitrate & 1 ? ".5" : " ")); in minstrel_stats_open()
171 p += sprintf(p, ",%u%s", mr->bitrate / 2, in minstrel_stats_csv_open()
172 (mr->bitrate & 1 ? ".5," : ",")); in minstrel_stats_csv_open()
Drc80211_minstrel.c431 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
434 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
476 ctl_rate->bitrate, in minstrel_rate_init()
503 mr->bitrate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in minstrel_rate_init()
621 if (rate->bitrate != bitrates[j]) in minstrel_init_cck_rates()
Dutil.c150 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration()
165 int erp, shift = 0, bitrate; in ieee80211_rts_duration() local
184 bitrate = DIV_ROUND_UP(rate->bitrate, 1 << shift); in ieee80211_rts_duration()
187 dur = ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration()
190 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_rts_duration()
193 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration()
209 int erp, shift = 0, bitrate; in ieee80211_ctstoself_duration() local
227 bitrate = DIV_ROUND_UP(rate->bitrate, 1 << shift); in ieee80211_ctstoself_duration()
230 dur = ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_ctstoself_duration()
234 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_ctstoself_duration()
[all …]
Drate.c575 if (sband->bitrates[i].bitrate > rate->bitrate) in rate_fixup_ratelist()
578 if (sband->bitrates[baserate].bitrate < in rate_fixup_ratelist()
579 sband->bitrates[i].bitrate) in rate_fixup_ratelist()
Drc80211_minstrel.h81 int bitrate; member
Dibss.c105 if (sband->bitrates[i].bitrate > 110 && in ieee80211_ibss_build_presp()
116 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
160 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
461 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_join_ibss()
Dtx.c139 mrate = sband->bitrates[0].bitrate; in ieee80211_duration()
143 if (r->bitrate > txrate->bitrate) in ieee80211_duration()
150 rate = DIV_ROUND_UP(r->bitrate, 1 << shift); in ieee80211_duration()
160 mrate = r->bitrate; in ieee80211_duration()
165 mrate = r->bitrate; in ieee80211_duration()
198 txrate->bitrate, erp, in ieee80211_duration()
Dstatus.c307 rate = sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
Dmlme.c753 int rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_send_assoc()
769 rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_send_assoc()
2921 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_get_rates()
Dsta_info.c1882 brate = sband->bitrates[sta->rx_stats.last_rate_idx].bitrate; in sta_set_rate_info_rx()
Drx.c311 *pos = DIV_ROUND_UP(rate->bitrate, 5 * (1 << shift)); in ieee80211_add_rx_radiotap_header()
Dcfg.c456 brate = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx()