Lines Matching full:ni
70 r12a_tx_set_ht40(struct rtwn_softc *sc, void *buf, struct ieee80211_node *ni) in r12a_tx_set_ht40() argument
75 if (ieee80211_ht_check_tx_ht40(ni)) { in r12a_tx_set_ht40()
78 prim_chan = r12a_get_primary_channel(sc, ni->ni_chan); in r12a_tx_set_ht40()
125 struct ieee80211_node *ni, int ismcast) in r12a_tx_raid() argument
128 struct ieee80211vap *vap = ni->ni_vap; in r12a_tx_raid()
133 chan = (ni->ni_chan != IEEE80211_CHAN_ANYC) ? in r12a_tx_raid()
134 ni->ni_chan : ic->ic_curchan; in r12a_tx_raid()
138 if (ismcast || !(ni->ni_flags & IEEE80211_NODE_HT)) { in r12a_tx_raid()
207 r12a_tx_set_sgi(struct rtwn_softc *sc, void *buf, struct ieee80211_node *ni) in r12a_tx_set_sgi() argument
220 if (ieee80211_ht_check_tx_ht40(ni)) { in r12a_tx_set_sgi()
221 if (ieee80211_ht_check_tx_shortgi_40(ni)) in r12a_tx_set_sgi()
223 } else if (ieee80211_ht_check_tx_ht(ni)) { in r12a_tx_set_sgi()
224 if (ieee80211_ht_check_tx_shortgi_20(ni)) in r12a_tx_set_sgi()
231 struct ieee80211_node *ni) in r12a_tx_set_ldpc() argument
233 struct ieee80211vap *vap = ni->ni_vap; in r12a_tx_set_ldpc()
236 (ni->ni_htcap & IEEE80211_HTCAP_LDPC)) in r12a_tx_set_ldpc()
242 const struct ieee80211_node *ni, int tid) in r12a_calculate_tx_agg_window() argument
247 tap = &ni->ni_tx_ampdu[tid]; in r12a_calculate_tx_agg_window()
263 r12a_fill_tx_desc(struct rtwn_softc *sc, struct ieee80211_node *ni, in r12a_fill_tx_desc() argument
267 struct ieee80211vap *vap = ni->ni_vap; in r12a_fill_tx_desc()
304 struct rtwn_node *un = RTWN_NODE(ni); in r12a_fill_tx_desc()
313 ieee80211_ht_get_node_ampdu_density(ni))); in r12a_fill_tx_desc()
315 r12a_calculate_tx_agg_window(sc, ni, tid))); in r12a_fill_tx_desc()
331 r12a_tx_set_ht40(sc, txd, ni); in r12a_fill_tx_desc()
332 r12a_tx_set_sgi(sc, txd, ni); in r12a_fill_tx_desc()
333 r12a_tx_set_ldpc(sc, txd, ni); in r12a_fill_tx_desc()
361 r12a_tx_raid(sc, txd, ni, ismcast); in r12a_fill_tx_desc()
375 seqno = ni->ni_txseqs[tid]; in r12a_fill_tx_desc()
376 ni->ni_txseqs[tid]++; in r12a_fill_tx_desc()
386 r12a_fill_tx_desc_raw(struct rtwn_softc *sc, struct ieee80211_node *ni, in r12a_fill_tx_desc_raw() argument
389 struct ieee80211vap *vap = ni->ni_vap; in r12a_fill_tx_desc_raw()
426 r12a_tx_raid(sc, txd, ni, ismcast); in r12a_fill_tx_desc_raw()