Home
last modified time | relevance | path

Searched refs:bitrate (Results 1 – 15 of 15) 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.c1440 iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; in ieee80211_bss()
1443 iwe.u.bitrate.value = in ieee80211_bss()
Dnl80211.c1154 rate->bitrate)) in nl80211_send_band_rateinfo()
3514 u32 bitrate; in nl80211_put_sta_rate() local
3522 bitrate = cfg80211_calculate_bitrate(info); in nl80211_put_sta_rate()
3524 bitrate_compat = bitrate < (1UL << 16) ? bitrate : 0; in nl80211_put_sta_rate()
3525 if (bitrate > 0 && in nl80211_put_sta_rate()
3526 nla_put_u32(msg, NL80211_RATE_INFO_BITRATE32, bitrate)) in nl80211_put_sta_rate()
6783 if (sband->bitrates[i].bitrate == rateval) { in nl80211_parse_mcast_rate()
7597 if (rate == srate->bitrate) { in rateset_to_mask()
/net/mac80211/
Dutil.c198 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration()
213 int erp, shift = 0, bitrate; in ieee80211_rts_duration() local
232 bitrate = DIV_ROUND_UP(rate->bitrate, 1 << shift); in ieee80211_rts_duration()
235 dur = ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration()
238 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_rts_duration()
241 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration()
257 int erp, shift = 0, bitrate; in ieee80211_ctstoself_duration() local
275 bitrate = DIV_ROUND_UP(rate->bitrate, 1 << shift); in ieee80211_ctstoself_duration()
278 dur = ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_ctstoself_duration()
282 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_ctstoself_duration()
[all …]
Drc80211_minstrel_debugfs.c82 p += sprintf(p, "%3u%s", mr->bitrate / 2, in minstrel_stats_open()
83 (mr->bitrate & 1 ? ".5" : " ")); in minstrel_stats_open()
Drc80211_minstrel.c409 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
412 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
454 ctl_rate->bitrate, in minstrel_rate_init()
481 mr->bitrate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in minstrel_rate_init()
599 if (rate->bitrate != bitrates[j]) in minstrel_init_cck_rates()
Drate.c460 if (sband->bitrates[i].bitrate > rate->bitrate) in rate_fixup_ratelist()
463 if (sband->bitrates[baserate].bitrate < in rate_fixup_ratelist()
464 sband->bitrates[i].bitrate) in rate_fixup_ratelist()
Drc80211_minstrel.h57 int bitrate; member
Dtx.c130 mrate = sband->bitrates[0].bitrate; in ieee80211_duration()
134 if (r->bitrate > txrate->bitrate) in ieee80211_duration()
141 rate = DIV_ROUND_UP(r->bitrate, 1 << shift); in ieee80211_duration()
151 mrate = r->bitrate; in ieee80211_duration()
156 mrate = r->bitrate; in ieee80211_duration()
189 txrate->bitrate, erp, in ieee80211_duration()
Dibss.c102 if (sband->bitrates[i].bitrate > 110 && in ieee80211_ibss_build_presp()
113 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
156 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp()
443 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate, in ieee80211_sta_join_ibss()
Dstatus.c306 rate = sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
Dmlme.c722 int rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_send_assoc()
738 rate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in ieee80211_send_assoc()
2539 brate = DIV_ROUND_UP(br->bitrate, (1 << shift) * 5); in ieee80211_get_rates()
Dcfg.c425 brate = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx()
456 brate = sband->bitrates[sta->last_rx_rate_idx].bitrate; in sta_set_rate_info_rx()
Drx.c219 *pos = DIV_ROUND_UP(rate->bitrate, 5 * (1 << shift)); in ieee80211_add_rx_radiotap_header()