Home
last modified time | relevance | path

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

1234

/linux/drivers/net/wireless/mediatek/mt76/
H A Dtx.c65 struct mt76_wcid *wcid; in mt76_tx_status_unlock() local
67 wcid = rcu_dereference(dev->wcid[cb->wcid]); in mt76_tx_status_unlock()
68 if (wcid) { in mt76_tx_status_unlock()
69 status.sta = wcid_to_sta(wcid); in mt76_tx_status_unlock()
70 if (status.sta && (wcid->rate.flags || wcid->rate.legacy)) { in mt76_tx_status_unlock()
71 rs.rate_idx = wcid->rate; in mt76_tx_status_unlock()
121 mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_tx_status_skb_add() argument
131 if (!wcid || !rcu_access_pointer(dev->wcid[wcid->idx])) in mt76_tx_status_skb_add()
149 pid = idr_alloc(&wcid->pktid, skb, MT_PACKET_ID_FIRST, in mt76_tx_status_skb_add()
156 cb->wcid = wcid->idx; in mt76_tx_status_skb_add()
[all …]
H A Dmt76x02_txrx.c17 struct mt76_wcid *wcid = &dev->mt76.global_wcid; in mt76x02_tx() local
23 wcid = &msta->wcid; in mt76x02_tx()
28 wcid = &mvif->group_wcid; in mt76x02_tx()
31 mt76_tx(&dev->mphy, control->sta, wcid, skb); in mt76x02_tx()
138 enum mt76_txq_id qid, struct mt76_wcid *wcid, in mt76x02_tx_prepare_skb() argument
148 if (qid == MT_TXQ_PSD && wcid && wcid->idx < 128) in mt76x02_tx_prepare_skb()
149 mt76x02_mac_wcid_set_drop(dev, wcid->idx, false); in mt76x02_tx_prepare_skb()
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02_tx_prepare_skb()
155 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02_tx_prepare_skb()
172 if (!wcid || wcid->hw_key_idx == 0xff || wcid->sw_iv) in mt76x02_tx_prepare_skb()
H A Dmac80211.c1048 void mt76_wcid_key_setup(struct mt76_dev *dev, struct mt76_wcid *wcid, in mt76_wcid_key_setup() argument
1054 wcid->rx_check_pn = false; in mt76_wcid_key_setup()
1062 wcid->rx_check_pn = true; in mt76_wcid_key_setup()
1067 memcpy(wcid->rx_key_pn[i], seq.ccmp.pn, sizeof(seq.ccmp.pn)); in mt76_wcid_key_setup()
1072 memcpy(wcid->rx_key_pn[i], seq.ccmp.pn, sizeof(seq.ccmp.pn)); in mt76_wcid_key_setup()
1153 if (mstat.wcid) { in mt76_rx_convert()
1154 status->link_valid = mstat.wcid->link_valid; in mt76_rx_convert()
1155 status->link_id = mstat.wcid->link_id; in mt76_rx_convert()
1158 *sta = wcid_to_sta(mstat.wcid); in mt76_rx_convert()
1166 struct mt76_wcid *wcid = status->wcid; in mt76_check_ccmp_pn() local
[all …]
H A Dmt76_connac_mac.c83 struct mt76_wcid *wcid) in mt76_connac_free_pending_tx_skbs() argument
89 if (wcid && pm->tx_q[i].wcid != wcid) in mt76_connac_free_pending_tx_skbs()
101 struct mt76_wcid *wcid, in mt76_connac_pm_queue_skb() argument
110 pm->tx_q[qid].wcid = wcid; in mt76_connac_pm_queue_skb()
127 struct mt76_wcid *wcid = pm->tx_q[i].wcid; in mt76_connac_pm_dequeue_skbs() local
133 if (wcid && wcid->sta) in mt76_connac_pm_dequeue_skbs()
134 sta = container_of((void *)wcid, struct ieee80211_sta, in mt76_connac_pm_dequeue_skbs()
137 mt76_tx(phy, sta, wcid, pm->tx_q[i].skb); in mt76_connac_pm_dequeue_skbs()
155 mt76_tx_complete_skb(mdev, e->wcid, e->skb); in mt76_connac_tx_complete_skb()
345 struct mt76_wcid *wcid) in mt76_connac2_mac_write_txwi_8023() argument
[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_util.c253 msta->wcid.sta = 1; in mt76x02_sta_add()
254 msta->wcid.idx = idx; in mt76x02_sta_add()
255 msta->wcid.hw_key_idx = -1; in mt76x02_sta_add()
261 set_bit(MT_WCID_FLAG_CHECK_PS, &msta->wcid.flags); in mt76x02_sta_add()
271 struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv; in mt76x02_sta_remove() local
272 int idx = wcid->idx; in mt76x02_sta_remove()
294 rcu_assign_pointer(dev->mt76.wcid[MT_VIF_WCID(idx)], &mvif->group_wcid); in mt76x02_vif_init()
295 mtxq->wcid = MT_VIF_WCID(idx); in mt76x02_vif_init()
348 rcu_assign_pointer(dev->mt76.wcid[mvif->group_wcid.idx], NULL); in mt76x02_remove_interface()
374 mt76_rx_aggr_start(&dev->mt76, &msta->wcid, tid, in mt76x02_ampdu_action()
[all …]
H A Dagg-rx.c123 struct mt76_wcid *wcid = status->wcid; in mt76_rx_aggr_check_ctl() local
136 tid = rcu_dereference(wcid->aggr[tidno]); in mt76_rx_aggr_check_ctl()
151 struct mt76_wcid *wcid = status->wcid; in mt76_rx_aggr_reorder() local
161 sta = wcid_to_sta(wcid); in mt76_rx_aggr_reorder()
176 tid = rcu_dereference(wcid->aggr[tidno]); in mt76_rx_aggr_reorder()
242 int mt76_rx_aggr_start(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno, in mt76_rx_aggr_start() argument
247 mt76_rx_aggr_stop(dev, wcid, tidno); in mt76_rx_aggr_start()
260 rcu_assign_pointer(wcid->aggr[tidno], tid); in mt76_rx_aggr_start()
290 void mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno) in mt76_rx_aggr_stop() argument
294 tid = rcu_replace_pointer(wcid->aggr[tidno], tid, in mt76_rx_aggr_stop()
H A Dutil.c69 struct mt76_wcid *wcid; in mt76_get_min_avg_rssi() local
90 wcid = rcu_dereference(dev->wcid[j]); in mt76_get_min_avg_rssi()
91 if (!wcid) in mt76_get_min_avg_rssi()
95 if (wcid->inactive_count++ < 5) in mt76_get_min_avg_rssi()
96 cur_rssi = -ewma_signal_read(&wcid->rssi); in mt76_get_min_avg_rssi()
H A Dmt76x02_mac.c228 void mt76x02_mac_wcid_set_rate(struct mt76x02_dev *dev, struct mt76_wcid *wcid, in mt76x02_mac_wcid_set_rate() argument
241 wcid->tx_info = tx_info; in mt76x02_mac_wcid_set_rate()
267 stat->wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, stat1); in mt76x02_mac_load_tx_status()
336 struct sk_buff *skb, struct mt76_wcid *wcid, in mt76x02_mac_write_txwi() argument
354 if (!info->control.hw_key && wcid && wcid->hw_key_idx != 0xff && in mt76x02_mac_write_txwi()
356 wcid = NULL; in mt76x02_mac_write_txwi()
361 if (wcid) in mt76x02_mac_write_txwi()
362 txwi->wcid = wcid->idx; in mt76x02_mac_write_txwi()
364 txwi->wcid = 0xff; in mt76x02_mac_write_txwi()
366 if (wcid && wcid->sw_iv && key) { in mt76x02_mac_write_txwi()
[all …]
H A Dmt76x02_usb_core.c21 mt76_tx_complete_skb(mdev, e->wcid, e->skb); in mt76x02u_tx_complete_skb()
65 enum mt76_txq_id qid, struct mt76_wcid *wcid, in mt76x02u_tx_prepare_skb() argument
80 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02u_tx_prepare_skb()
83 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02u_tx_prepare_skb()
101 if (!wcid || wcid->hw_key_idx == 0xff || wcid->sw_iv) in mt76x02u_tx_prepare_skb()
111 if (err && wcid) in mt76x02u_tx_prepare_skb()
113 idr_remove(&wcid->pktid, pid); in mt76x02u_tx_prepare_skb()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c50 unsigned int wcid = GROUP_WCID(idx); in mt7601u_add_interface() local
62 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()
64 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()
65 mvif->group_wcid.idx = wcid; in mt7601u_add_interface()
76 unsigned int wcid = mvif->group_wcid.idx; in mt7601u_remove_interface() local
78 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()
226 msta->wcid.idx = idx; in mt7601u_sta_add()
227 msta->wcid.hw_key_idx = -1; in mt7601u_sta_add()
230 rcu_assign_pointer(dev->wcid[idx], &msta->wcid); in mt7601u_sta_add()
245 int idx = msta->wcid.idx; in mt7601u_sta_remove()
[all …]
H A Dmac.c146 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid, in mt76_mac_wcid_set_rate() argument
152 wcid->tx_rate = mt76_mac_tx_rate_val(dev, rate, &wcid->tx_rate_nss); in mt76_mac_wcid_set_rate()
153 wcid->tx_rate_set = true; in mt76_mac_wcid_set_rate()
168 stat.wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, val); in mt7601u_mac_fetch_tx_status()
178 struct mt76_wcid *wcid = NULL; in mt76_send_tx_status() local
182 if (stat->wcid < ARRAY_SIZE(dev->wcid)) in mt76_send_tx_status()
183 wcid = rcu_dereference(dev->wcid[stat->wcid]); in mt76_send_tx_status()
185 if (wcid) { in mt76_send_tx_status()
186 msta = container_of(wcid, struct mt76_sta, wcid); in mt76_send_tx_status()
374 struct mt76_wcid *wcid; in mt7601u_mac_set_ampdu_factor() local
[all …]
H A Dtx.c131 struct ieee80211_sta *sta, struct mt76_wcid *wcid, in mt7601u_push_txwi() argument
146 if (!wcid->tx_rate_set) in mt7601u_push_txwi()
152 rate_ctl = wcid->tx_rate; in mt7601u_push_txwi()
180 txwi->wcid = wcid->idx; in mt7601u_push_txwi()
198 struct mt76_wcid *wcid = dev->mon_wcid; in mt7601u_tx() local
213 wcid = &msta->wcid; in mt7601u_tx()
217 wcid = &mvif->group_wcid; in mt7601u_tx()
220 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len); in mt7601u_tx()
222 if (mt7601u_dma_enqueue_tx(dev, skb, wcid, hw_q)) in mt7601u_tx()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c66 wcid.poll_list); in mt7921_mac_sta_poll()
68 list_del_init(&mlink->wcid.poll_list); in mt7921_mac_sta_poll()
71 idx = mlink->wcid.idx; in mt7921_mac_sta_poll()
96 if (!mlink->wcid.sta) in mt7921_mac_sta_poll()
119 rate = &mlink->wcid.rate; in mt7921_mac_sta_poll()
214 status->wcid = mt792x_rx_get_wcid(dev, idx, unicast); in mt7921_mac_fill_rx()
216 if (status->wcid) { in mt7921_mac_fill_rx()
217 mlink = container_of(status->wcid, struct mt792x_link_sta, wcid); in mt7921_mac_fill_rx()
220 if (list_empty(&mlink->wcid.poll_list)) in mt7921_mac_fill_rx()
221 list_add_tail(&mlink->wcid.poll_list, in mt7921_mac_fill_rx()
[all …]
H A Dmain.c311 &mvif->sta.deflink.wcid, true); in mt7921_add_interface()
320 INIT_LIST_HEAD(&mvif->sta.deflink.wcid.poll_list); in mt7921_add_interface()
321 mvif->sta.deflink.wcid.idx = idx; in mt7921_add_interface()
322 mvif->sta.deflink.wcid.phy_idx = mvif->bss_conf.mt76.band_idx; in mt7921_add_interface()
323 mvif->sta.deflink.wcid.hw_key_idx = -1; in mt7921_add_interface()
324 mvif->sta.deflink.wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7921_add_interface()
325 mt76_wcid_init(&mvif->sta.deflink.wcid); in mt7921_add_interface()
332 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.deflink.wcid); in mt7921_add_interface()
335 mtxq->wcid = idx; in mt7921_add_interface()
491 struct mt76_wcid *wcid = &msta->deflink.wcid; in mt7921_set_key() local
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c69 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list); in mt7603_add_interface()
70 mvif->sta.wcid.idx = idx; in mt7603_add_interface()
71 mvif->sta.wcid.hw_key_idx = -1; in mt7603_add_interface()
73 mt76_wcid_init(&mvif->sta.wcid); in mt7603_add_interface()
79 mtxq->wcid = idx; in mt7603_add_interface()
80 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7603_add_interface()
94 int idx = msta->wcid.idx; in mt7603_remove_interface()
102 rcu_assign_pointer(dev->mt76.wcid[idx], NULL); in mt7603_remove_interface()
105 if (!list_empty(&msta->wcid.poll_list)) in mt7603_remove_interface()
106 list_del_init(&msta->wcid.poll_list); in mt7603_remove_interface()
[all …]
H A Dmac.c229 u32 addr = mt7603_wtbl1_addr(sta->wcid.idx); in mt7603_wtbl_set_smps()
241 int idx = sta->wcid.idx; in mt7603_wtbl_set_ps()
333 int idx = msta->wcid.idx; in mt7603_wtbl_update_cap()
379 void mt7603_mac_tx_ba_reset(struct mt7603_dev *dev, int wcid, int tid, in mt7603_mac_tx_ba_reset() argument
382 u32 addr = mt7603_wtbl2_addr(wcid); in mt7603_mac_tx_ba_reset()
433 struct mt7603_sta, wcid.poll_list); in mt7603_mac_sta_poll()
434 list_del_init(&msta->wcid.poll_list); in mt7603_mac_sta_poll()
437 addr = mt7603_wtbl4_addr(msta->wcid.idx); in mt7603_mac_sta_poll()
451 mt7603_wtbl_update(dev, msta->wcid.idx, in mt7603_mac_sta_poll()
457 if (!msta->wcid.sta) in mt7603_mac_sta_poll()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c51 struct mt792x_link_sta, wcid.poll_list); in mt7925_mac_sta_poll()
54 list_del_init(&mlink->wcid.poll_list); in mt7925_mac_sta_poll()
57 idx = mlink->wcid.idx; in mt7925_mac_sta_poll()
82 if (!mlink->wcid.sta) in mt7925_mac_sta_poll()
105 rate = &mlink->wcid.rate; in mt7925_mac_sta_poll()
172 struct mt792x_sta *msta = (struct mt792x_sta *)status->wcid; in mt7925_reverse_frag0_hdr_trans()
394 status->wcid = mt792x_rx_get_wcid(dev, idx, unicast); in mt7925_mac_fill_rx()
396 if (status->wcid) { in mt7925_mac_fill_rx()
397 mlink = container_of(status->wcid, struct mt792x_link_sta, wcid); in mt7925_mac_fill_rx()
399 if (list_empty(&mlink->wcid.poll_list)) in mt7925_mac_fill_rx()
[all …]
H A Dmain.c376 &mlink->wcid, true); in mt7925_mac_link_bss_add()
385 INIT_LIST_HEAD(&mlink->wcid.poll_list); in mt7925_mac_link_bss_add()
386 mlink->wcid.idx = idx; in mt7925_mac_link_bss_add()
387 mlink->wcid.phy_idx = mconf->mt76.band_idx; in mt7925_mac_link_bss_add()
388 mlink->wcid.hw_key_idx = -1; in mt7925_mac_link_bss_add()
389 mlink->wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7925_mac_link_bss_add()
390 mt76_wcid_init(&mlink->wcid); in mt7925_mac_link_bss_add()
397 rcu_assign_pointer(dev->mt76.wcid[idx], &mlink->wcid); in mt7925_mac_link_bss_add()
400 mtxq->wcid = idx; in mt7925_mac_link_bss_add()
586 struct mt76_wcid *wcid; in mt7925_set_link_key() local
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dusb_sdio.c44 mt7663_usb_sdio_write_txwi(struct mt7615_dev *dev, struct mt76_wcid *wcid, in mt7663_usb_sdio_write_txwi() argument
52 mt7615_mac_write_txwi(dev, txwi, skb, wcid, sta, pid, key, qid, false); in mt7663_usb_sdio_write_txwi()
72 addr = mt7615_mac_wtbl_addr(dev, sta->wcid.idx); in mt7663_usb_sdio_set_rates()
106 FIELD_PREP(MT_WTBL_UPDATE_WLAN_IDX, sta->wcid.idx) | in mt7663_usb_sdio_set_rates()
122 if (!(sta->wcid.tx_info & MT_WCID_TX_INFO_SET)) in mt7663_usb_sdio_set_rates()
126 sta->wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7663_usb_sdio_set_rates()
177 mt76_tx_complete_skb(mdev, e->wcid, e->skb); in mt7663_usb_sdio_tx_complete_skb()
182 enum mt76_txq_id qid, struct mt76_wcid *wcid, in mt7663_usb_sdio_tx_prepare_skb() argument
193 msta = wcid ? container_of(wcid, struct mt7615_sta, wcid) : NULL; in mt7663_usb_sdio_tx_prepare_skb()
194 if (!wcid) in mt7663_usb_sdio_tx_prepare_skb()
[all …]
H A Dmac.c91 struct mt76_wcid *wcid; in mt7615_rx_get_wcid() local
96 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7615_rx_get_wcid()
97 if (unicast || !wcid) in mt7615_rx_get_wcid()
98 return wcid; in mt7615_rx_get_wcid()
100 if (!wcid->sta) in mt7615_rx_get_wcid()
103 sta = container_of(wcid, struct mt7615_sta, wcid); in mt7615_rx_get_wcid()
107 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid()
256 struct mt7615_sta *msta = (struct mt7615_sta *)status->wcid; in mt7615_reverse_frag0_hdr_trans()
384 status->wcid = mt7615_rx_get_wcid(dev, idx, unicast); in mt7615_mac_fill_rx()
386 if (status->wcid) { in mt7615_mac_fill_rx()
[all …]
H A Dmain.c225 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list); in mt7615_add_interface()
226 mvif->sta.wcid.idx = idx; in mt7615_add_interface()
227 mvif->sta.wcid.phy_idx = mvif->mt76.band_idx; in mt7615_add_interface()
228 mvif->sta.wcid.hw_key_idx = -1; in mt7615_add_interface()
229 mt76_wcid_init(&mvif->sta.wcid); in mt7615_add_interface()
234 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7615_add_interface()
237 mtxq->wcid = idx; in mt7615_add_interface()
254 int idx = msta->wcid.idx; in mt7615_remove_interface()
265 mt76_connac_free_pending_tx_skbs(&dev->pm, &msta->wcid); in mt7615_remove_interface()
269 rcu_assign_pointer(dev->mt76.wcid[idx], NULL); in mt7615_remove_interface()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmain.c253 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list); in mt7915_add_interface()
254 mvif->sta.wcid.idx = idx; in mt7915_add_interface()
255 mvif->sta.wcid.phy_idx = ext_phy; in mt7915_add_interface()
256 mvif->sta.wcid.hw_key_idx = -1; in mt7915_add_interface()
257 mvif->sta.wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7915_add_interface()
258 mt76_wcid_init(&mvif->sta.wcid); in mt7915_add_interface()
265 mtxq->wcid = idx; in mt7915_add_interface()
278 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7915_add_interface()
293 int idx = msta->wcid.idx; in mt7915_remove_interface()
297 mt76_wcid_mask_clear(dev->mt76.wcid_mask, mvif->sta.wcid.idx); in mt7915_remove_interface()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c221 INIT_LIST_HEAD(&mvif->sta.wcid.poll_list); in mt7996_add_interface()
222 mvif->sta.wcid.idx = idx; in mt7996_add_interface()
223 mvif->sta.wcid.phy_idx = band_idx; in mt7996_add_interface()
224 mvif->sta.wcid.hw_key_idx = -1; in mt7996_add_interface()
225 mvif->sta.wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7996_add_interface()
226 mt76_wcid_init(&mvif->sta.wcid); in mt7996_add_interface()
233 mtxq->wcid = idx; in mt7996_add_interface()
254 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7996_add_interface()
269 int idx = msta->wcid.idx; in mt7996_remove_interface()
279 rcu_assign_pointer(dev->mt76.wcid[idx], NULL); in mt7996_remove_interface()
[all …]
H A Dmac.c59 struct mt76_wcid *wcid; in mt7996_rx_get_wcid() local
61 if (idx >= ARRAY_SIZE(dev->mt76.wcid)) in mt7996_rx_get_wcid()
64 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7996_rx_get_wcid()
65 if (unicast || !wcid) in mt7996_rx_get_wcid()
66 return wcid; in mt7996_rx_get_wcid()
68 if (!wcid->sta) in mt7996_rx_get_wcid()
71 sta = container_of(wcid, struct mt7996_sta, wcid); in mt7996_rx_get_wcid()
75 return &sta->vif->sta.wcid; in mt7996_rx_get_wcid()
87 u32 mt7996_mac_wtbl_lmac_addr(struct mt7996_dev *dev, u16 wcid, u8 dw) in mt7996_mac_wtbl_lmac_addr() argument
90 FIELD_PREP(MT_WTBLON_TOP_WDUCR_GROUP, (wcid >> 7))); in mt7996_mac_wtbl_lmac_addr()
[all …]

1234