Lines Matching refs:rate
95 uint8_t flags, rate; in r92c_rx_radiotap_flags() local
100 rate = MS(le32toh(stat->rxdw3), R92C_RXDW3_RATE); in r92c_rx_radiotap_flags()
101 if (RTWN_RATE_IS_CCK(rate)) in r92c_rx_radiotap_flags()
114 uint8_t rate; in r92c_get_rx_stats() local
118 rate = MS(rxdw3, R92C_RXDW3_RATE); in r92c_get_rx_stats()
124 if ((rxdw3 & R92C_RXDW3_SPLCP) && rate >= RTWN_RIDX_HT_MCS(0)) in r92c_get_rx_stats()
132 if (RTWN_RATE_IS_CCK(rate)) in r92c_get_rx_stats()
134 else if (rate < RTWN_RIDX_HT_MCS(0)) in r92c_get_rx_stats()
140 if (rate < RTWN_RIDX_HT_MCS(0)) { in r92c_get_rx_stats()
141 rxs->c_rate = ridx2rate[rate]; in r92c_get_rx_stats()
142 if (RTWN_RATE_IS_CCK(rate)) in r92c_get_rx_stats()
148 IEEE80211_RATE_MCS | (rate - RTWN_RIDX_HT_MCS_SHIFT); in r92c_get_rx_stats()