Lines Matching defs:wcid

83 				      struct mt76_wcid *wcid)
89 if (wcid && pm->tx_q[i].wcid != wcid)
101 struct mt76_wcid *wcid,
110 pm->tx_q[qid].wcid = wcid;
127 struct mt76_wcid *wcid = pm->tx_q[i].wcid;
133 if (wcid && wcid->sta)
134 sta = container_of((void *)wcid, struct ieee80211_sta,
137 mt76_tx(phy, sta, wcid, pm->tx_q[i].skb);
155 mt76_tx_complete_skb(mdev, e->wcid, e->skb);
345 struct mt76_wcid *wcid)
353 if (wcid->sta) {
356 sta = container_of((void *)wcid, struct ieee80211_sta, drv_priv);
470 struct sk_buff *skb, struct mt76_wcid *wcid,
485 bool amsdu_en = wcid->amsdu;
514 wcid->stats.tx_packets++;
523 FIELD_PREP(MT_TXD1_WLAN_IDX, wcid->idx) |
555 mt76_connac2_mac_write_txwi_8023(txwi, skb, wcid);
588 bool mt76_connac2_mac_fill_txs(struct mt76_dev *dev, struct mt76_wcid *wcid,
591 struct mt76_sta_stats *stats = &wcid->stats;
611 if (wcid->sta) {
615 sta = container_of((void *)wcid, struct ieee80211_sta,
644 if (wcid->phy_idx == MT_BAND1 && dev->phys[MT_BAND1])
663 if (wcid->rate.flags & RATE_INFO_FLAGS_SHORT_GI)
679 rate.he_gi = wcid->rate.he_gi;
707 wcid->rate = rate;
713 bool mt76_connac2_mac_add_txs_skb(struct mt76_dev *dev, struct mt76_wcid *wcid,
723 skb = mt76_tx_status_skb_get(dev, wcid, pid, &list);
735 mt76_connac2_mac_fill_txs(dev, wcid, txs_data);
945 sta = container_of((void *)status->wcid, struct ieee80211_sta, drv_priv);
1110 struct mt76_wcid *wcid;
1128 wcid = (struct mt76_wcid *)sta->drv_priv;
1129 if (!test_and_set_bit(tid, &wcid->ampdu_state))
1138 struct mt76_wcid *wcid;
1148 wcid = (struct mt76_wcid *)sta->drv_priv;
1149 wcid_idx = wcid->idx;
1152 wcid = rcu_dereference(dev->wcid[wcid_idx]);
1154 if (wcid && wcid->sta) {
1155 sta = container_of((void *)wcid, struct ieee80211_sta,
1158 if (list_empty(&wcid->poll_list))
1159 list_add_tail(&wcid->poll_list,