Home
last modified time | relevance | path

Searched refs:MINSTREL_TRUNC (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/net/mac80211/
Drc80211_minstrel_ht_debugfs.c70 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()
Drc80211_minstrel_ht.h22 #define MINSTREL_TRUNC(val) ((val) >> MINSTREL_SCALE) macro
Drc80211_minstrel_ht.c172 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()