Lines Matching refs:ni
1017 athn_set_key(struct ieee80211com *ic, struct ieee80211_node *ni,
1027 return ieee80211_set_key(ic, ni, k);
1033 entry = IEEE80211_WEP_NKID + IEEE80211_AID(ni->ni_associd);
1060 addr = ni->ni_macaddr;
1100 athn_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni,
1111 ieee80211_delete_key(ic, ni, k);
1241 athn_iter_calib(void *arg, struct ieee80211_node *ni)
1244 struct athn_node *an = (struct athn_node *)ni;
1246 if ((ni->ni_flags & IEEE80211_NODE_HT) == 0)
1247 ieee80211_amrr_choose(&sc->amrr, ni, &an->amn);
2160 athn_set_bss(struct athn_softc *sc, struct ieee80211_node *ni)
2162 const uint8_t *bssid = ni->ni_bssid;
2166 SM(AR_BSS_ID1_AID, IEEE80211_AID(ni->ni_associd)));
2478 athn_newassoc(struct ieee80211com *ic, struct ieee80211_node *ni, int isnew)
2481 struct athn_node *an = (void *)ni;
2482 struct ieee80211_rateset *rs = &ni->ni_rates;
2486 if ((ni->ni_flags & IEEE80211_NODE_HT) == 0)
2492 ni->ni_txrate = 0;
2517 ni->ni_txmcs = 0;
2528 if (IEEE80211_IS_CHAN_5GHZ(ni->ni_chan))
2536 if (!isset(ni->ni_rxmcs, j))
2814 struct ieee80211_node *ni;
2828 ni = m->m_pkthdr.ph_cookie;
2836 ni = m->m_pkthdr.ph_cookie;
2850 if ((m = ieee80211_encap(ifp, m, &ni)) == NULL)
2857 if (sc->ops.tx(sc, m, ni, 0) != 0) {
2858 ieee80211_release_node(ic, ni);