Lines Matching refs:wcid

943 	 * To delete the right key from h/w, we need wcid.
945 * and matching wcid will be written into there. So, cast
2232 uint8_t mode, wcid, iv[8];
2268 wcid = 0; /* NB: update WCID0 for group keys */
2271 wcid = (vap->iv_opmode == IEEE80211_M_STA) ?
2273 base = RT2860_PKEY(wcid);
2311 if (run_write_region_1(sc, RT2860_IVEIV(wcid), iv, 8))
2325 if (run_read(sc, RT2860_WCID_ATTR(wcid), &attr))
2328 if (run_write(sc, RT2860_WCID_ATTR(wcid), attr))
2334 /* need wcid to delete the right key later */
2335 k->wk_pad = wcid;
2386 uint8_t wcid;
2398 DPRINTF("removing key for wcid %x\n", k->wk_pad);
2399 /* matching wcid was written to wk_pad in run_key_set() */
2400 wcid = k->wk_pad;
2401 run_read(sc, RT2860_WCID_ATTR(wcid), &attr);
2403 run_write(sc, RT2860_WCID_ATTR(wcid), attr);
2404 run_set_region_4(sc, RT2860_WCID_ENTRY(wcid), 0, 8);
2435 /* matching wcid was written to wk_pad in run_key_set() */
2492 uint8_t wcid, mcs, pid;
2504 wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
2507 if (!(stat & RT2860_TXQ_ACKREQ) || wcid > RT2870_WCID_MAX ||
2508 wcid == 0)
2521 wstat = &(sc->wcid_stats[wcid]);
2610 uint8_t wcid = cmdq->wcid;
2614 run_write_region_1(sc, RT2860_WCID_ENTRY(wcid),
2617 memset(&(sc->wcid_stats[wcid]), 0, sizeof(sc->wcid_stats[wcid]));
2630 uint8_t wcid;
2633 wcid = (vap->iv_opmode == IEEE80211_M_STA) ?
2636 if (wcid > RT2870_WCID_MAX) {
2637 device_printf(sc->sc_dev, "wcid=%d out of range\n", wcid);
2653 sc->cmdq[cnt].wcid = wcid;
3350 txwi->wcid = 0;
3352 txwi->wcid = (vap->iv_opmode == IEEE80211_M_STA) ?
3463 txwi->wcid = 0xff;
3548 txwi->wcid = 0xff;
3628 txwi->wcid = 0xff;
4925 txwi.wcid = 0xff;