• Home
  • Raw
  • Download

Lines Matching refs:wcid

252 	msta->wcid.sta = 1;  in mt76x02_sta_add()
253 msta->wcid.idx = idx; in mt76x02_sta_add()
254 msta->wcid.hw_key_idx = -1; in mt76x02_sta_add()
260 set_bit(MT_WCID_FLAG_CHECK_PS, &msta->wcid.flags); in mt76x02_sta_add()
270 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; in mt76x02_sta_remove() local
271 int idx = wcid->idx; in mt76x02_sta_remove()
291 rcu_assign_pointer(dev->mt76.wcid[MT_VIF_WCID(idx)], &mvif->group_wcid); in mt76x02_vif_init()
292 mtxq->wcid = MT_VIF_WCID(idx); in mt76x02_vif_init()
345 rcu_assign_pointer(dev->mt76.wcid[mvif->group_wcid.idx], NULL); in mt76x02_remove_interface()
370 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid, in mt76x02_ampdu_action()
372 mt76_set(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, BIT(16 + tid)); in mt76x02_ampdu_action()
375 mt76_rx_aggr_stop(&dev->mt76, &msta->wcid, tid); in mt76x02_ampdu_action()
376 mt76_clear(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, in mt76x02_ampdu_action()
410 struct mt76_wcid *wcid; in mt76x02_set_key() local
451 wcid = msta ? &msta->wcid : &mvif->group_wcid; in mt76x02_set_key()
454 key->hw_key_idx = wcid->idx; in mt76x02_set_key()
455 wcid->hw_key_idx = idx; in mt76x02_set_key()
458 wcid->sw_iv = true; in mt76x02_set_key()
461 if (idx == wcid->hw_key_idx) { in mt76x02_set_key()
462 wcid->hw_key_idx = -1; in mt76x02_set_key()
463 wcid->sw_iv = false; in mt76x02_set_key()
468 mt76_wcid_key_setup(&dev->mt76, wcid, key); in mt76x02_set_key()
471 if (key || wcid->hw_key_idx == idx) { in mt76x02_set_key()
472 ret = mt76x02_mac_wcid_set_key(dev, wcid->idx, key); in mt76x02_set_key()
480 return mt76x02_mac_wcid_set_key(dev, msta->wcid.idx, key); in mt76x02_set_key()
587 mt76x02_mac_wcid_set_rate(dev, &msta->wcid, &rate); in mt76x02_sta_rate_tbl_update()
623 int idx = msta->wcid.idx; in mt76x02_sta_ps()