Lines Matching refs:ni

1568 	struct ieee80211_node *ni;  in uath_data_rxeof()  local
1677 ni = ieee80211_find_rxnode(ic, wh); in uath_data_rxeof()
1680 (void) ieee80211_input(ic, m, ni, (int)BE_32(desc->rssi), 0); in uath_data_rxeof()
1683 ieee80211_free_node(ni); in uath_data_rxeof()
1783 struct ieee80211_node *ni = ic->ic_bss; in uath_create_connection() local
1793 rs = &ni->in_rates; in uath_create_connection()
1799 if (UATH_IS_CHAN_A(ni->in_chan)) in uath_create_connection()
1801 else if (UATH_IS_CHAN_ANYG(ni->in_chan)) in uath_create_connection()
1835 struct ieee80211_node *ni = ic->ic_bss; in uath_write_associd() local
1841 associd.associd = BE_32(ni->in_associd); in uath_write_associd()
1843 IEEE80211_ADDR_COPY(associd.bssid, ni->in_bssid); in uath_write_associd()
1893 struct ieee80211_node *ni = ic->ic_bss; in uath_newstate() local
1938 if (uath_switch_channel(sc, ni->in_chan) != 0) { in uath_newstate()
1950 if (uath_set_rates(sc, &ni->in_rates) != 0) { in uath_newstate()
1967 ni->in_txrate = ni->in_rates.ir_nrates - 1; in uath_newstate()
1997 struct ieee80211_node *ni = NULL; in uath_send() local
2046 ni = ieee80211_find_txnode(ic, wh->i_addr1); in uath_send()
2047 if (ni == NULL) { in uath_send()
2055 (void) ieee80211_encap(ic, m, ni); in uath_send()
2092 if (ni->in_flags & UATH_NODE_QOS) { in uath_send()
2127 if (ni != NULL) in uath_send()
2128 ieee80211_free_node(ni); in uath_send()
2911 struct ieee80211_node *ni = NULL; in uath_m_stat() local
2917 ni = ic->ic_bss; in uath_m_stat()
2918 rs = &ni->in_rates; in uath_m_stat()
2920 (rs->ir_rates[ni->in_txrate] & IEEE80211_RATE_VAL) in uath_m_stat()