Lines Matching refs:rt
94 dot11rate(struct ath_rateioctl_rt *rt, int rix)
97 if (rt->ratecode[rix] & IEEE80211_RATE_MCS)
98 return rt->ratecode[rix] & ~(IEEE80211_RATE_MCS);
100 return (rt->ratecode[rix] / 2);
104 dot11str(struct ath_rateioctl_rt *rt, int rix)
108 else if (rt->ratecode[rix] & IEEE80211_RATE_MCS)
115 ath_sample_stats(struct ath_ratestats *r, struct ath_rateioctl_rt *rt,
130 dot11rate(rt, sn->current_rix[y]),
131 dot11str(rt, sn->current_rix[y]),
138 dot11rate(rt, sn->last_sample_rix[y]),
139 dot11str(rt, sn->last_sample_rix[y]),
140 dot11rate(rt, sn->current_sample_rix[y]),
141 dot11str(rt, sn->current_sample_rix[y]),
173 dot11rate(rt, rix),
174 dot11str(rt, rix),
225 struct ath_rateioctl_rt *rt = NULL;
247 rt = (void *) (buf + sizeof(struct ath_rateioctl_tlv));
270 ath_sample_stats(r, rt, sn);