Lines Matching refs:wcid
146 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid,
152 wcid->tx_rate = mt76_mac_tx_rate_val(dev, rate, &wcid->tx_rate_nss);
153 wcid->tx_rate_set = true;
168 stat.wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, val);
178 struct mt76_wcid *wcid = NULL;
182 if (stat->wcid < ARRAY_SIZE(dev->wcid))
183 wcid = rcu_dereference(dev->wcid[stat->wcid]);
185 if (wcid) {
186 msta = container_of(wcid, struct mt76_sta, wcid);
374 struct mt76_wcid *wcid;
380 for (i = 0; i < ARRAY_SIZE(dev->wcid); i++) {
381 wcid = rcu_dereference(dev->wcid[i]);
382 if (!wcid)
385 msta = container_of(wcid, struct mt76_sta, wcid);