Lines Matching defs:wcid
253 msta->wcid.sta = 1;
254 msta->wcid.idx = idx;
255 msta->wcid.hw_key_idx = -1;
261 set_bit(MT_WCID_FLAG_CHECK_PS, &msta->wcid.flags);
271 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
272 int idx = wcid->idx;
294 rcu_assign_pointer(dev->mt76.wcid[MT_VIF_WCID(idx)], &mvif->group_wcid);
295 mtxq->wcid = MT_VIF_WCID(idx);
348 rcu_assign_pointer(dev->mt76.wcid[mvif->group_wcid.idx], NULL);
374 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid,
376 mt76_set(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, BIT(16 + tid));
379 mt76_rx_aggr_stop(&dev->mt76, &msta->wcid, tid);
380 mt76_clear(dev, MT_WCID_ADDR(msta->wcid.idx) + 4,
414 struct mt76_wcid *wcid;
455 wcid = msta ? &msta->wcid : &mvif->group_wcid;
458 if (idx == wcid->hw_key_idx) {
459 wcid->hw_key_idx = -1;
460 wcid->sw_iv = false;
466 key->hw_key_idx = wcid->idx;
467 wcid->hw_key_idx = idx;
470 wcid->sw_iv = true;
472 mt76_wcid_key_setup(&dev->mt76, wcid, key);
475 if (key || wcid->hw_key_idx == idx) {
476 ret = mt76x02_mac_wcid_set_key(dev, wcid->idx, key);
484 return mt76x02_mac_wcid_set_key(dev, msta->wcid.idx, key);
592 mt76x02_mac_wcid_set_rate(dev, &msta->wcid, &rate);
628 int idx = msta->wcid.idx;