Lines Matching refs:bitrate
22 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()
172 sband->bitrates[i].bitrate == 120 || in set_mandatory_flags_band()
173 sband->bitrates[i].bitrate == 240) { in set_mandatory_flags_band()
179 if (sband->bitrates[i].bitrate != 10 && in set_mandatory_flags_band()
180 sband->bitrates[i].bitrate != 20 && in set_mandatory_flags_band()
181 sband->bitrates[i].bitrate != 55 && in set_mandatory_flags_band()
182 sband->bitrates[i].bitrate != 110) in set_mandatory_flags_band()
1067 u32 bitrate; in cfg80211_calculate_bitrate_vht() local
1078 bitrate = base[idx][rate->mcs]; in cfg80211_calculate_bitrate_vht()
1079 bitrate *= rate->nss; in cfg80211_calculate_bitrate_vht()
1082 bitrate = (bitrate / 9) * 10; in cfg80211_calculate_bitrate_vht()
1085 return (bitrate + 50000) / 100000; in cfg80211_calculate_bitrate_vht()
1090 int modulation, streams, bitrate; in cfg80211_calculate_bitrate() local
1107 bitrate = (rate->flags & RATE_INFO_FLAGS_40_MHZ_WIDTH) ? in cfg80211_calculate_bitrate()
1111 bitrate *= (modulation + 1); in cfg80211_calculate_bitrate()
1113 bitrate *= (modulation + 2); in cfg80211_calculate_bitrate()
1115 bitrate *= (modulation + 3); in cfg80211_calculate_bitrate()
1117 bitrate *= streams; in cfg80211_calculate_bitrate()
1120 bitrate = (bitrate / 9) * 10; in cfg80211_calculate_bitrate()
1123 return (bitrate + 50000) / 100000; in cfg80211_calculate_bitrate()
1518 if (sband->bitrates[j].bitrate == rate) { in ieee80211_get_ratemask()