Lines Matching defs:wcid
897 uint8_t wcid = ((struct rt2860_node *)ni)->wcid;
899 ieee80211_amrr_choose(&sc->amrr, ni, &sc->amn[wcid]);
945 uint8_t rate, wcid = 0;
950 wcid = rn->wcid = IEEE80211_AID(ni->ni_associd);
952 /* init WCID table entry */
953 RAL_WRITE_REGION_1(sc, RT2860_WCID_ENTRY(wcid),
956 DPRINTF(("new assoc isnew=%d addr=%s WCID=%d\n",
957 isnew, ether_sprintf(ni->ni_macaddr), wcid));
959 ieee80211_amrr_node_init(&sc->amrr, &sc->amn[wcid]);
994 uint8_t wcid = ((struct rt2860_node *)ni)->wcid;
998 tmp = RAL_READ(sc, RT2860_WCID_ENTRY(wcid) + 4);
1000 RAL_WRITE(sc, RT2860_WCID_ENTRY(wcid) + 4, tmp);
1009 uint8_t wcid = ((struct rt2860_node *)ni)->wcid;
1013 tmp = RAL_READ(sc, RT2860_WCID_ENTRY(wcid) + 4);
1015 RAL_WRITE(sc, RT2860_WCID_ENTRY(wcid) + 4, tmp);
1223 uint8_t wcid, mcs, pid;
1229 wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
1232 if (!(stat & RT2860_TXQ_ACKREQ) || wcid == 0xff)
1236 amn = &sc->amn[wcid];
1696 txwi->wcid = (type == IEEE80211_FC0_TYPE_DATA) ? rn->wcid : 0xff;
1836 DPRINTFN(4, ("sending frame qid=%d wcid=%d nsegs=%d ridx=%d\n",
1837 qid, txwi->wcid, data->map->dm_nsegs, ridx));
3112 uint8_t mode, wcid, iv[8];
3144 wcid = 0; /* NB: update WCID0 for group keys */
3147 wcid = ((struct rt2860_node *)ni)->wcid;
3148 base = RT2860_PKEY(wcid);
3195 RAL_WRITE_REGION_1(sc, RT2860_IVEIV(wcid), iv, 8);
3206 attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid));
3208 RAL_WRITE(sc, RT2860_WCID_ATTR(wcid), attr);
3220 uint8_t wcid;
3230 wcid = ((struct rt2860_node *)ni)->wcid;
3231 attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid));
3233 RAL_WRITE(sc, RT2860_WCID_ATTR(wcid), attr);
3881 /* clear RX WCID search table */
3887 /* clear WCID attribute table */
4234 txwi.wcid = 0xff;