Lines Matching defs:aid
168 int aid, int staid, MWL_HAL_PEERINFO *pi);
171 static int allocstaid(struct mwl_softc *sc, int aid);
670 /* override max aid so sta's cannot assoc when we're out of sta id's */
3901 mwl_peerstadb(struct ieee80211_node *ni, int aid, int staid, MWL_HAL_PEERINFO *pi)
3918 aid, staid, pi,
4174 DPRINTF(sc, MWL_DEBUG_STATE, "%s: %s: aid 0x%x\n",
4226 allocstaid(struct mwl_softc *sc, int aid)
4230 if (!(0 < aid && aid < MWL_MAXSTAID) || isset(sc->sc_staid, aid)) {
4236 staid = aid;
4259 uint16_t aid;
4262 aid = IEEE80211_AID(ni->ni_associd);
4264 mn->mn_staid = allocstaid(sc, aid);
4270 DPRINTF(sc, MWL_DEBUG_NODE, "%s: mac %s isnew %d aid %d staid %d\n",
4271 __func__, ether_sprintf(ni->ni_macaddr), isnew, aid, mn->mn_staid);
4272 error = mwl_peerstadb(ni, aid, mn->mn_staid, mkpeerinfo(&pi, ni));