Lines Matching defs:rate
1688 int dur = 0, rtsdur = 0, rtsenable = 0, ctsenable = 0, rate,
1727 rate = tp->mgmtrate;
1732 rate = tp->mcastrate;
1734 rate = tp->ucastrate;
1736 rate = urtw_rtl2rate(sc->sc_currate);
1743 IEEE80211_CRC_LEN, rate, 0, 0);
1752 IEEE80211_CRC_LEN, rate, 0, isshort);
1759 IEEE80211_CRC_LEN, rate, 0, isshort);
1765 IEEE80211_CRC_LEN, rate, 0, isshort) +
1972 urtw_rate2rtl(uint32_t rate)
1978 if (rate == urtw_ratetable[i].reg)
1987 urtw_rtl2rate(uint32_t rate)
1993 if (rate == urtw_ratetable[i].val)
3992 uint8_t noise = 0, rate;
4011 rate = (le32toh(rx->flag) >> URTW_RX_FLAG_RXRATE_SHIFT) & 0xf;
4026 rate = (le32toh(rx->flag) >> URTW_RX_FLAG_RXRATE_SHIFT) & 0xf;
4057 sc->sc_currate = (rate > 0) ? rate : sc->sc_currate;
4313 urtw_isbmode(uint16_t rate)
4316 return ((rate <= 22 && rate != 12 && rate != 18) ||
4317 rate == 44) ? (1) : (0);
4321 urtw_rate2dbps(uint16_t rate)
4324 switch(rate) {
4333 return (rate * 2);
4341 urtw_compute_txtime(uint16_t framelen, uint16_t rate,
4346 if (urtw_isbmode(rate)) {
4347 if (ismgt || !isshort || rate == 2)
4349 (framelen * 8 / (rate / 2)));
4352 (framelen * 8 / (rate / 2)));
4353 if ((framelen * 8 % (rate / 2)) != 0)
4356 n_dbps = urtw_rate2dbps(rate);