Lines Matching refs:wcid

206 void mt76x02_mac_wcid_set_rate(struct mt76x02_dev *dev, struct mt76_wcid *wcid,  in mt76x02_mac_wcid_set_rate()  argument
219 wcid->tx_info = tx_info; in mt76x02_mac_wcid_set_rate()
245 stat->wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, stat1); in mt76x02_mac_load_tx_status()
314 struct sk_buff *skb, struct mt76_wcid *wcid, in mt76x02_mac_write_txwi() argument
330 if (!info->control.hw_key && wcid && wcid->hw_key_idx != 0xff && in mt76x02_mac_write_txwi()
332 wcid = NULL; in mt76x02_mac_write_txwi()
337 if (wcid) in mt76x02_mac_write_txwi()
338 txwi->wcid = wcid->idx; in mt76x02_mac_write_txwi()
340 txwi->wcid = 0xff; in mt76x02_mac_write_txwi()
342 if (wcid && wcid->sw_iv && key) { in mt76x02_mac_write_txwi()
357 if (wcid && (rate->idx < 0 || !rate->count)) { in mt76x02_mac_write_txwi()
358 wcid_tx_info = wcid->tx_info; in mt76x02_mac_write_txwi()
474 mt76x02_mac_process_tx_rate(&rate[0], msta->wcid.tx_info, in mt76x02_mac_fill_tx_status()
519 struct mt76_wcid *wcid = NULL; in mt76x02_send_tx_status() local
529 if (stat->wcid < ARRAY_SIZE(dev->mt76.wcid)) in mt76x02_send_tx_status()
530 wcid = rcu_dereference(dev->mt76.wcid[stat->wcid]); in mt76x02_send_tx_status()
532 if (wcid && wcid->sta) { in mt76x02_send_tx_status()
535 priv = msta = container_of(wcid, struct mt76x02_sta, wcid); in mt76x02_send_tx_status()
542 if (wcid) { in mt76x02_send_tx_status()
544 status.skb = mt76_tx_status_skb_get(mdev, wcid, in mt76x02_send_tx_status()
565 stat->wcid == msta->status.wcid && msta->n_frames < 32) { in mt76x02_send_tx_status()
721 u8 wcid; in mt76x02_mac_process_rx() local
737 wcid = FIELD_GET(MT_RXWI_CTL_WCID, ctl); in mt76x02_mac_process_rx()
738 sta = mt76x02_rx_get_sta(&dev->mt76, wcid); in mt76x02_mac_process_rx()
739 status->wcid = mt76x02_rx_get_sta_wcid(sta, unicast); in mt76x02_mac_process_rx()
842 trace_mac_txdone_add(dev, txwi->wcid, txwi->pktid); in mt76x02_tx_complete_skb()