Searched refs:MINSTREL_TRUNC (Results 1 – 3 of 3) sorted by relevance
70 prob = MINSTREL_TRUNC(mr->cur_prob * 1000); in minstrel_ht_stats_open()71 eprob = MINSTREL_TRUNC(mr->probability * 1000); in minstrel_ht_stats_open()89 MINSTREL_TRUNC(mi->avg_ampdu_len), in minstrel_ht_stats_open()90 MINSTREL_TRUNC(mi->avg_ampdu_len * 10) % 10); in minstrel_ht_stats_open()
22 #define MINSTREL_TRUNC(val) ((val) >> MINSTREL_SCALE) macro
172 usecs = mi->overhead / MINSTREL_TRUNC(mi->avg_ampdu_len); in minstrel_ht_calc_tp()174 mr->cur_tp = MINSTREL_TRUNC((1000000 / usecs) * mr->probability); in minstrel_ht_calc_tp()413 mi->sample_wait = 16 + 2 * MINSTREL_TRUNC(mi->avg_ampdu_len); in minstrel_ht_tx_status()468 unsigned int ampdu_len = MINSTREL_TRUNC(mi->avg_ampdu_len); in minstrel_calc_retransmit()