Searched refs:wcid (Results 1 - 25 of 84) sorted by relevance

1234

/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.h15 static inline u32 mt7925_mac_wtbl_lmac_addr(struct mt792x_dev *dev, u16 wcid, u8 dw) argument
18 FIELD_PREP(MT_WTBLON_TOP_WDUCR_GROUP, (wcid >> 7)));
20 return MT_WTBL_LMAC_OFFS(wcid, dw);
H A Dmac.c50 struct mt792x_sta, wcid.poll_list);
52 list_del_init(&msta->wcid.poll_list);
55 idx = msta->wcid.idx;
80 if (!msta->wcid.sta)
103 rate = &msta->wcid.rate;
170 struct mt792x_sta *msta = (struct mt792x_sta *)status->wcid;
393 status->wcid = mt792x_rx_get_wcid(dev, idx, unicast);
395 if (status->wcid) {
396 msta = container_of(status->wcid, struct mt792x_sta, wcid);
613 mt7925_mac_write_txwi_8023(__le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid) argument
715 mt7925_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid, struct ieee80211_key_conf *key, int pid, enum mt76_txq_id qid, u32 changed) argument
848 mt7925_mac_add_txs_skb(struct mt792x_dev *dev, struct mt76_wcid *wcid, int pid, __le32 *txs_data) argument
984 struct mt76_wcid *wcid; local
1036 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; local
1060 struct mt76_wcid *wcid = NULL; local
1340 mt7925_usb_sdio_write_txwi(struct mt792x_dev *dev, struct mt76_wcid *wcid, enum mt76_txq_id qid, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, int pid, struct sk_buff *skb) argument
1352 mt7925_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
1401 struct mt76_wcid *wcid; local
[all...]
H A Dpci_mac.c9 enum mt76_txq_id qid, struct mt76_wcid *wcid,
24 if (!wcid)
25 wcid = &dev->mt76.global_wcid;
43 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
44 mt7925_mac_write_txwi(mdev, txwi_ptr, tx_info->skb, wcid, key,
8 mt7925e_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dtx.c65 struct mt76_wcid *wcid; variable in typeref:struct:mt76_wcid
67 wcid = rcu_dereference(dev->wcid[cb->wcid]);
68 if (wcid) {
69 status.sta = wcid_to_sta(wcid);
70 if (status.sta && (wcid->rate.flags || wcid->rate.legacy)) {
71 rs.rate_idx = wcid->rate;
121 mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid, argument
170 mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, struct sk_buff_head *list) argument
214 struct mt76_wcid *wcid, *tmp; local
225 mt76_tx_check_non_aql(struct mt76_dev *dev, struct mt76_wcid *wcid, struct sk_buff *skb) argument
247 struct mt76_wcid *wcid = NULL; local
299 __mt76_tx_queue_skb(struct mt76_phy *phy, int qid, struct sk_buff *skb, struct mt76_wcid *wcid, struct ieee80211_sta *sta, bool *stop) argument
329 mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta, struct mt76_wcid *wcid, struct sk_buff *skb) argument
382 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; local
447 mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q, struct mt76_txq *mtxq, struct mt76_wcid *wcid) argument
519 struct mt76_wcid *wcid; local
589 mt76_txq_schedule_pending_wcid(struct mt76_phy *phy, struct mt76_wcid *wcid) argument
641 struct mt76_wcid *wcid = NULL; local
[all...]
H A Dtrace.h27 #define TXID_ENTRY __field(u8, wcid) __field(u8, pktid)
28 #define TXID_ASSIGN __entry->wcid = wcid; __entry->pktid = pktid
30 #define TXID_PR_ARG __entry->wcid, __entry->pktid
83 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid),
84 TP_ARGS(dev, wcid, pktid),
100 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid),
101 TP_ARGS(dev, wcid, pktid)
H A Dmt76x02_txrx.c17 struct mt76_wcid *wcid = &dev->mt76.global_wcid; local
23 wcid = &msta->wcid;
28 wcid = &mvif->group_wcid;
31 mt76_tx(&dev->mphy, control->sta, wcid, skb);
138 enum mt76_txq_id qid, struct mt76_wcid *wcid,
148 if (qid == MT_TXQ_PSD && wcid && wcid->idx < 128)
149 mt76x02_mac_wcid_set_drop(dev, wcid->idx, false);
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, st
137 mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
[all...]
H A Dutil.c69 struct mt76_wcid *wcid; local
90 wcid = rcu_dereference(dev->wcid[j]);
91 if (!wcid)
95 if (wcid->inactive_count++ < 5)
96 cur_rssi = -ewma_signal_read(&wcid->rssi);
H A Dmt76x02_trace.h22 #define TXID_ENTRY __field(u8, wcid) __field(u8, pktid)
24 #define TXID_PR_ARG __entry->wcid, __entry->pktid
64 __entry->wcid = stat->wcid;
H A Dmac80211.c1022 void mt76_wcid_key_setup(struct mt76_dev *dev, struct mt76_wcid *wcid, argument
1028 wcid->rx_check_pn = false;
1036 wcid->rx_check_pn = true;
1041 memcpy(wcid->rx_key_pn[i], seq.ccmp.pn, sizeof(seq.ccmp.pn));
1046 memcpy(wcid->rx_key_pn[i], seq.ccmp.pn, sizeof(seq.ccmp.pn));
1127 *sta = wcid_to_sta(mstat.wcid);
1135 struct mt76_wcid *wcid = status->wcid; local
1146 if (!wcid || !wcid
1193 struct mt76_wcid *wcid = status->wcid; local
1221 struct mt76_wcid *wcid; local
1244 struct mt76_wcid *wcid = status->wcid; local
1287 struct mt76_wcid *wcid = status->wcid; local
1412 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; local
1449 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; local
1504 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; local
1514 mt76_wcid_init(struct mt76_wcid *wcid) argument
1524 mt76_wcid_cleanup(struct mt76_dev *dev, struct mt76_wcid *wcid) argument
[all...]
H A Dagg-rx.c123 struct mt76_wcid *wcid = status->wcid; local
136 tid = rcu_dereference(wcid->aggr[tidno]);
151 struct mt76_wcid *wcid = status->wcid; local
161 sta = wcid_to_sta(wcid);
176 tid = rcu_dereference(wcid->aggr[tidno]);
242 int mt76_rx_aggr_start(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno, argument
247 mt76_rx_aggr_stop(dev, wcid, tidno);
260 rcu_assign_pointer(wcid
290 mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno) argument
[all...]
H A Dmt76x02_usb.h19 enum mt76_txq_id qid, struct mt76_wcid *wcid,
H A Dmt76x02_usb_core.c21 mt76_tx_complete_skb(mdev, e->wcid, e->skb);
65 enum mt76_txq_id qid, struct mt76_wcid *wcid,
80 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
83 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
101 if (!wcid || wcid->hw_key_idx == 0xff || wcid->sw_iv)
111 if (err && wcid)
113 idr_remove(&wcid->pktid, pid);
64 mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
H A Dmt76_connac_mac.c83 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; local
133 if (wcid
82 mt76_connac_free_pending_tx_skbs(struct mt76_connac_pm *pm, struct mt76_wcid *wcid) argument
99 mt76_connac_pm_queue_skb(struct ieee80211_hw *hw, struct mt76_connac_pm *pm, struct mt76_wcid *wcid, struct sk_buff *skb) argument
344 mt76_connac2_mac_write_txwi_8023(__le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid) argument
469 mt76_connac2_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, struct sk_buff *skb, struct mt76_wcid *wcid, struct ieee80211_key_conf *key, int pid, enum mt76_txq_id qid, u32 changed) argument
588 mt76_connac2_mac_fill_txs(struct mt76_dev *dev, struct mt76_wcid *wcid, __le32 *txs_data) argument
713 mt76_connac2_mac_add_txs_skb(struct mt76_dev *dev, struct mt76_wcid *wcid, int pid, __le32 *txs_data) argument
1110 struct mt76_wcid *wcid; local
1138 struct mt76_wcid *wcid; local
[all...]
H A Dmt76x02.h197 enum mt76_txq_id qid, struct mt76_wcid *wcid,
263 struct mt76_wcid *wcid; local
268 wcid = rcu_dereference(dev->wcid[idx]);
269 if (!wcid)
272 return container_of(wcid, struct mt76x02_sta, wcid);
282 return &sta->wcid;
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c50 unsigned int wcid = GROUP_WCID(idx); local
62 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG))
64 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG);
65 mvif->group_wcid.idx = wcid;
76 unsigned int wcid = mvif->group_wcid.idx; local
78 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG);
226 msta->wcid
299 struct mt76_wcid *wcid = msta ? &msta->wcid : &mvif->group_wcid; local
[all...]
H A Dtx.c131 struct ieee80211_sta *sta, struct mt76_wcid *wcid,
146 if (!wcid->tx_rate_set)
152 rate_ctl = wcid->tx_rate;
180 txwi->wcid = wcid->idx;
198 struct mt76_wcid *wcid = dev->mon_wcid; local
213 wcid = &msta->wcid;
217 wcid = &mvif->group_wcid;
220 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_le
130 mt7601u_push_txwi(struct mt7601u_dev *dev, struct sk_buff *skb, struct ieee80211_sta *sta, struct mt76_wcid *wcid, int pkt_len) argument
[all...]
H A Dmac.c146 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid, argument
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; local
182 if (stat->wcid < ARRAY_SIZE(dev->wcid))
183 wcid = rcu_dereference(dev->wcid[sta
374 struct mt76_wcid *wcid; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c64 struct mt792x_sta, wcid.poll_list);
65 list_del_init(&msta->wcid.poll_list);
68 idx = msta->wcid.idx;
93 if (!msta->wcid.sta)
116 rate = &msta->wcid.rate;
210 status->wcid = mt792x_rx_get_wcid(dev, idx, unicast);
212 if (status->wcid) {
213 msta = container_of(status->wcid, struct mt792x_sta, wcid);
215 if (list_empty(&msta->wcid
448 struct mt76_wcid *wcid; local
493 struct mt76_wcid *wcid = NULL; local
751 mt7921_usb_sdio_write_txwi(struct mt792x_dev *dev, struct mt76_wcid *wcid, enum mt76_txq_id qid, struct ieee80211_sta *sta, struct ieee80211_key_conf *key, int pid, struct sk_buff *skb) argument
763 mt7921_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
817 struct mt76_wcid *wcid; local
[all...]
H A Dpci_mac.c9 enum mt76_txq_id qid, struct mt76_wcid *wcid,
24 if (!wcid)
25 wcid = &dev->mt76.global_wcid;
43 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
44 mt76_connac2_mac_write_txwi(mdev, txwi_ptr, tx_info->skb, wcid, key,
8 mt7921e_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
H A Dmain.c284 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid,
294 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list);
295 mvif->sta.wcid.idx = idx;
296 mvif->sta.wcid.phy_idx = mvif->mt76.band_idx;
297 mvif->sta.wcid.hw_key_idx = -1;
298 mvif->sta.wcid.tx_info |= MT_WCID_TX_INFO_SET;
299 mt76_wcid_init(&mvif->sta.wcid);
306 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
309 mtxq->wcid
470 struct mt76_wcid *wcid = &msta->wcid; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c69 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list);
70 mvif->sta.wcid.idx = idx;
71 mvif->sta.wcid.hw_key_idx = -1;
73 mt76_wcid_init(&mvif->sta.wcid);
79 mtxq->wcid = idx;
80 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
94 int idx = msta->wcid.idx;
102 rcu_assign_pointer(dev->mt76.wcid[idx], NULL);
105 if (!list_empty(&msta->wcid
387 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; local
495 struct mt76_wcid *wcid = &msta->wcid; local
686 struct mt76_wcid *wcid = &dev->global_sta.wcid; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dusb_sdio.c44 mt7663_usb_sdio_write_txwi(struct mt7615_dev *dev, struct mt76_wcid *wcid, argument
52 mt7615_mac_write_txwi(dev, txwi, skb, wcid, sta, pid, key, qid, false);
72 addr = mt7615_mac_wtbl_addr(dev, sta->wcid.idx);
106 FIELD_PREP(MT_WTBL_UPDATE_WLAN_IDX, sta->wcid.idx) |
122 if (!(sta->wcid.tx_info & MT_WCID_TX_INFO_SET))
126 sta->wcid.tx_info |= MT_WCID_TX_INFO_SET;
177 mt76_tx_complete_skb(mdev, e->wcid, e->skb);
182 enum mt76_txq_id qid, struct mt76_wcid *wcid,
193 msta = wcid ? container_of(wcid, struc
181 mt7663_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
[all...]
H A Dmain.c225 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list);
226 mvif->sta.wcid.idx = idx;
227 mvif->sta.wcid.phy_idx = mvif->mt76.band_idx;
228 mvif->sta.wcid.hw_key_idx = -1;
229 mt76_wcid_init(&mvif->sta.wcid);
234 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
237 mtxq->wcid = idx;
254 int idx = msta->wcid.idx;
265 mt76_connac_free_pending_tx_skbs(&dev->pm, &msta->wcid);
352 struct mt76_wcid *wcid = &msta->wcid; local
769 struct mt76_wcid *wcid = &dev->mt76.global_wcid; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c251 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list);
252 mvif->sta.wcid.idx = idx;
253 mvif->sta.wcid.phy_idx = ext_phy;
254 mvif->sta.wcid.hw_key_idx = -1;
255 mvif->sta.wcid.tx_info |= MT_WCID_TX_INFO_SET;
256 mt76_wcid_init(&mvif->sta.wcid);
263 mtxq->wcid = idx;
276 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
291 int idx = msta->wcid
372 struct mt76_wcid *wcid = &msta->wcid; local
804 struct mt76_wcid *wcid = &dev->mt76.global_wcid; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c213 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list);
214 mvif->sta.wcid.idx = idx;
215 mvif->sta.wcid.phy_idx = band_idx;
216 mvif->sta.wcid.hw_key_idx = -1;
217 mvif->sta.wcid.tx_info |= MT_WCID_TX_INFO_SET;
218 mt76_wcid_init(&mvif->sta.wcid);
225 mtxq->wcid = idx;
242 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
257 int idx = msta->wcid
326 struct mt76_wcid *wcid = &msta->wcid; local
729 struct mt76_wcid *wcid = &dev->mt76.global_wcid; local
[all...]

Completed in 222 milliseconds

1234