Lines Matching defs:wcid
228 void mt76x02_mac_wcid_set_rate(struct mt76x02_dev *dev, struct mt76_wcid *wcid,
241 wcid->tx_info = tx_info;
267 stat->wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, stat1);
336 struct sk_buff *skb, struct mt76_wcid *wcid,
354 if (!info->control.hw_key && wcid && wcid->hw_key_idx != 0xff &&
356 wcid = NULL;
361 if (wcid)
362 txwi->wcid = wcid->idx;
364 txwi->wcid = 0xff;
366 if (wcid && wcid->sw_iv && key) {
381 if (wcid && (rate->idx < 0 || !rate->count)) {
382 wcid_tx_info = wcid->tx_info;
502 mt76x02_mac_process_tx_rate(&rate[0], msta->wcid.tx_info,
553 struct mt76_wcid *wcid = NULL;
567 if (stat->wcid < MT76x02_N_WCIDS)
568 wcid = rcu_dereference(dev->mt76.wcid[stat->wcid]);
570 if (wcid && wcid->sta) {
573 priv = msta = container_of(wcid, struct mt76x02_sta, wcid);
580 if (wcid) {
582 status.skb = mt76_tx_status_skb_get(mdev, wcid,
603 stat->wcid == msta->status.wcid && msta->n_frames < 32) {
788 u8 wcid;
804 wcid = FIELD_GET(MT_RXWI_CTL_WCID, ctl);
805 sta = mt76x02_rx_get_sta(&dev->mt76, wcid);
806 status->wcid = mt76x02_rx_get_sta_wcid(sta, unicast);
923 trace_mac_txdone(mdev, txwi->wcid, txwi->pktid);
925 mt76_tx_complete_skb(mdev, e->wcid, e->skb);