Lines Matching refs:aid
169 int aid, int staid, MWL_HAL_PEERINFO *pi);
172 static int allocstaid(struct mwl_softc *sc, int aid);
673 /* override max aid so sta's cannot assoc when we're out of sta id's */
3915 mwl_peerstadb(struct ieee80211_node *ni, int aid, int staid, MWL_HAL_PEERINFO *pi)
3932 aid, staid, pi,
4188 DPRINTF(sc, MWL_DEBUG_STATE, "%s: %s: aid 0x%x\n",
4240 allocstaid(struct mwl_softc *sc, int aid)
4244 if (!(0 < aid && aid < MWL_MAXSTAID) || isset(sc->sc_staid, aid)) {
4250 staid = aid;
4273 uint16_t aid;
4276 aid = IEEE80211_AID(ni->ni_associd);
4278 mn->mn_staid = allocstaid(sc, aid);
4284 DPRINTF(sc, MWL_DEBUG_NODE, "%s: mac %s isnew %d aid %d staid %d\n",
4285 __func__, ether_sprintf(ni->ni_macaddr), isnew, aid, mn->mn_staid);
4286 error = mwl_peerstadb(ni, aid, mn->mn_staid, mkpeerinfo(&pi, ni));