| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | main.c | 50 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 D | mac.c | 146 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 D | tx.c | 131 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()
|
| H A D | mac.h | 16 u8 wcid; member 114 u8 wcid; member 159 void mt76_mac_wcid_set_rate(struct mt7601u_dev *dev, struct mt76_wcid *wcid,
|
| H A D | mt7601u.h | 174 struct mt76_wcid __rcu *wcid[N_WCIDS]; member 268 struct mt76_wcid wcid; member 391 struct mt76_wcid *wcid, int hw_q);
|
| H A D | dma.c | 367 struct mt76_wcid *wcid, int hw_q) in mt7601u_dma_enqueue_tx() argument 374 if (wcid->hw_key_idx == 0xff) in mt7601u_dma_enqueue_tx()
|
| H A D | trace.h | 298 __entry->h.ack_ctl, __entry->h.wcid,
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | agg-rx.c | 123 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 if (wcid->def_wcid) in mt76_rx_aggr_reorder() 177 wcid = wcid->def_wcid; in mt76_rx_aggr_reorder() 178 tid = rcu_dereference(wcid->aggr[tidno]); in mt76_rx_aggr_reorder() 244 int mt76_rx_aggr_start(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno, in mt76_rx_aggr_start() argument 249 mt76_rx_aggr_stop(dev, wcid, tidno); in mt76_rx_aggr_start() 262 rcu_assign_pointer(wcid->aggr[tidno], tid); in mt76_rx_aggr_start() [all …]
|
| H A D | scan.c | 80 mt76_tx(phy, NULL, mvif->wcid, skb); in mt76_scan_send_probe()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe_offload.c | 117 info->wcid = path->mtk_wdma.wcid; in mtk_flow_get_wdma_info() 200 info.bss, info.wcid, info.amsdu); in mtk_flow_set_output_device()
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.h | 314 int wcid; member
|
| H A D | rt2x00mac.c | 499 crypto.wcid = sta_priv->wcid; in rt2x00mac_set_key()
|
| H A D | rt2x00queue.c | 305 txdesc->u.ht.wcid = sta_priv->wcid; in rt2x00queue_create_tx_descriptor_ht()
|