Lines Matching defs:ni

65 r92c_tx_set_ht40(struct rtwn_softc *sc, void *buf, struct ieee80211_node *ni)
69 if (ieee80211_ht_check_tx_ht40(ni)) {
72 extc_offset = r92c_tx_get_sco(sc, ni->ni_chan);
130 struct ieee80211_node *ni, int ismcast)
133 struct ieee80211vap *vap = ni->ni_vap;
138 chan = (ni->ni_chan != IEEE80211_CHAN_ANYC) ?
139 ni->ni_chan : ic->ic_curchan;
143 if (ismcast || !(ni->ni_flags & IEEE80211_NODE_HT)) {
184 r92c_tx_set_sgi(struct rtwn_softc *sc, void *buf, struct ieee80211_node *ni)
195 if (ieee80211_ht_check_tx_ht40(ni)) {
196 if (ieee80211_ht_check_tx_shortgi_40(ni))
198 } else if (ieee80211_ht_check_tx_ht(ni)) {
199 if (ieee80211_ht_check_tx_shortgi_20(ni))
233 const struct ieee80211_node *ni, int tid)
238 tap = &ni->ni_tx_ampdu[tid];
304 const struct ieee80211_node *ni, const struct mbuf *m,
321 chan = (ni->ni_chan != IEEE80211_CHAN_ANYC) ?
322 ni->ni_chan : ic->ic_curchan;
346 r92c_fill_tx_desc(struct rtwn_softc *sc, struct ieee80211_node *ni,
352 struct ieee80211vap *vap = ni->ni_vap;
384 struct rtwn_node *un = RTWN_NODE(ni);
402 ieee80211_ht_get_node_ampdu_density(ni)));
404 r92c_calculate_tx_agg_window(sc, ni, tid)));
416 prot = r92c_tx_get_protmode(sc, vap, ni, m, ridx,
426 r92c_tx_set_ht40(sc, txd, ni);
427 r92c_tx_set_sgi(sc, txd, ni);
447 r92c_tx_raid(sc, txd, ni, ismcast);
456 seqno = ni->ni_txseqs[tid] % IEEE80211_SEQ_RANGE;
457 ni->ni_txseqs[tid]++;
467 r92c_fill_tx_desc_raw(struct rtwn_softc *sc, struct ieee80211_node *ni,
470 struct ieee80211vap *vap = ni->ni_vap;
507 r92c_tx_raid(sc, txd, ni, ismcast);