Lines Matching full:ni
173 rssadapt_node_init(struct ieee80211_node *ni) in rssadapt_node_init() argument
176 struct ieee80211vap *vap = ni->ni_vap; in rssadapt_node_init()
178 const struct ieee80211_rateset *rs = &ni->ni_rates; in rssadapt_node_init()
186 if (ni->ni_rctls == NULL) { in rssadapt_node_init()
187 ni->ni_rctls = ra = in rssadapt_node_init()
196 ra = ni->ni_rctls; in rssadapt_node_init()
206 ni->ni_txrate = rs->rs_rates[ra->ra_rix] & IEEE80211_RATE_VAL; in rssadapt_node_init()
209 IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_RATECTL, ni, in rssadapt_node_init()
210 "RSSADAPT initial rate %d", ni->ni_txrate); in rssadapt_node_init()
214 rssadapt_node_deinit(struct ieee80211_node *ni) in rssadapt_node_deinit() argument
217 IEEE80211_FREE(ni->ni_rctls, M_80211_RATECTL); in rssadapt_node_deinit()
236 rssadapt_rate(struct ieee80211_node *ni, void *arg __unused, uint32_t iarg) in rssadapt_rate() argument
238 struct ieee80211_rssadapt_node *ra = ni->ni_rctls; in rssadapt_rate()
247 ni->ni_txrate = ni->ni_rates.rs_rates[0]; in rssadapt_rate()
260 rssi = ni->ni_ic->ic_node_getrssi(ni); in rssadapt_rate()
266 ni->ni_txrate = ni->ni_rates.rs_rates[rix] & IEEE80211_RATE_VAL; in rssadapt_rate()
269 IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_RATECTL, ni, in rssadapt_rate()
271 ni->ni_txrate, pktlen, rssi); in rssadapt_rate()
331 rssadapt_tx_complete(const struct ieee80211_node *ni, in rssadapt_tx_complete() argument
334 struct ieee80211_rssadapt_node *ra = ni->ni_rctls; in rssadapt_tx_complete()