Searched refs:txwi (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dtx.c136 struct mt76_txwi *txwi; local
143 txwi = skb_push(skb, sizeof(struct mt76_txwi));
144 memset(txwi, 0, sizeof(*txwi));
156 txwi->rate_ctl = cpu_to_le16(rate_ctl);
159 txwi->ack_ctl |= MT_TXWI_ACK_CTL_REQ;
161 txwi->ack_ctl |= MT_TXWI_ACK_CTL_NSEQ;
170 txwi->ack_ctl |= FIELD_PREP(MT_TXWI_ACK_CTL_BA_WINDOW, ba_size);
172 txwi->flags =
177 txwi
199 struct mt76_txwi *txwi; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_beacon.c33 /* USB devices already reserve enough skb headroom for txwi's. This
37 struct mt76x02_txwi *txwi; local
39 txwi = (struct mt76x02_txwi *)(skb->data - sizeof(*txwi));
40 mt76x02_mac_write_txwi(dev, txwi, skb, NULL, NULL, skb->len);
41 skb_push(skb, sizeof(*txwi));
43 struct mt76x02_txwi txwi; local
45 mt76x02_mac_write_txwi(dev, &txwi, skb, NULL, NULL, skb->len);
46 mt76_wr_copy(dev, offset, &txwi, sizeof(txwi));
[all...]
H A Dmt76_connac_mac.c149 if (!e->txwi) {
344 mt76_connac2_mac_write_txwi_8023(__le32 *txwi, struct sk_buff *skb, argument
367 txwi[1] |= cpu_to_le32(val);
375 txwi[2] |= cpu_to_le32(val);
380 txwi[7] |= cpu_to_le32(val);
384 mt76_connac2_mac_write_txwi_80211(struct mt76_dev *dev, __le32 *txwi, argument
402 txwi[5] |= cpu_to_le32(MT_TXD5_ADD_BA);
416 txwi[1] |= cpu_to_le32(val);
428 txwi[3] &= ~cpu_to_le32(MT_TXD3_PROTECT_FRAME);
435 txwi[
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
1108 mt76_connac2_tx_check_aggr(struct ieee80211_sta *sta, __le32 *txwi) argument
1139 __le32 *txwi; local
1177 struct mt76_txwi_cache *txwi; local
[all...]
H A Dmt76x02_usb_core.c71 struct mt76x02_txwi *txwi; local
79 txwi = (struct mt76x02_txwi *)(tx_info->skb->data - sizeof(*txwi));
80 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
81 skb_push(tx_info->skb, sizeof(*txwi));
88 (le16_to_cpu(txwi->rate) & MT_PKTID_RATE) |
92 txwi->pktid = pid;
H A Ddma.c46 u8 *txwi; local
50 txwi = kzalloc(size, GFP_ATOMIC);
51 if (!txwi)
54 addr = dma_map_single(dev->dma_dev, txwi, dev->drv->txwi_size,
57 kfree(txwi);
61 t = (struct mt76_txwi_cache *)(txwi + dev->drv->txwi_size);
231 struct mt76_txwi_cache *txwi = NULL; local
252 txwi = mt76_get_rxwi(dev);
253 if (!txwi)
256 rx_token = mt76_rx_token_consume(dev, data, txwi, bu
285 mt76_dma_add_buf(struct mt76_dev *dev, struct mt76_queue *q, struct mt76_queue_buf *buf, int nbufs, u32 info, struct sk_buff *skb, void *txwi) argument
550 u8 *txwi; local
[all...]
H A Dmt76x02_mac.c335 void mt76x02_mac_write_txwi(struct mt76x02_dev *dev, struct mt76x02_txwi *txwi, argument
350 memset(txwi, 0, sizeof(*txwi));
362 txwi->wcid = wcid->idx;
364 txwi->wcid = 0xff;
377 txwi->iv = *((__le32 *)&ccmp_pn[0]);
378 txwi->eiv = *((__le32 *)&ccmp_pn[4]);
391 txwi->rate = cpu_to_le16(rateval);
395 txwi->ctl2 = FIELD_PREP(MT_TX_PWR_ADJ, txpwr_adj);
398 txwi
911 struct mt76x02_txwi *txwi; local
[all...]
H A Dmt76_connac.h301 u8 *txwi; local
306 txwi = mt76_get_txwi_ptr(dev, t);
308 return (void *)(txwi + MT_TXD_SIZE);
410 struct mt76_txwi_cache *txwi);
419 void mt76_connac2_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi,
439 void mt76_connac2_tx_check_aggr(struct ieee80211_sta *sta, __le32 *txwi);
H A Dmt76x02_txrx.c144 struct mt76x02_txwi *txwi = txwi_ptr; local
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
160 (le16_to_cpu(txwi->rate) & MT_RXWI_RATE_INDEX) |
164 txwi->pktid = pid;
H A Dmt76x02_mac.h193 void mt76x02_mac_write_txwi(struct mt76x02_dev *dev, struct mt76x02_txwi *txwi,
H A Dmt76x02.h196 int mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi,
H A Dtx.c866 struct mt76_txwi_cache *txwi; local
870 txwi = idr_remove(&dev->token, token);
871 if (txwi) {
888 return txwi;
H A Dmt76.h182 struct mt76_txwi_cache *txwi; member in union:mt76_queue_entry::__anon1083
1705 struct mt76_txwi_cache *txwi; local
1708 txwi = idr_remove(&dev->token, token);
1711 return txwi;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dpci_mac.c19 u8 *txwi = (u8 *)txwi_ptr; local
27 t = (struct mt76_txwi_cache *)(txwi + mdev->drv->txwi_size);
47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE);
58 struct mt76_txwi_cache *txwi; local
62 idr_for_each_entry(&dev->mt76.token, txwi, id) {
63 mt7925_txwi_free(dev, txwi, NULL, false, NULL);
H A Dmac.c613 mt7925_mac_write_txwi_8023(__le32 *txwi, struct sk_buff *skb, argument
636 txwi[1] |= cpu_to_le32(val);
644 txwi[2] |= cpu_to_le32(val);
648 mt7925_mac_write_txwi_80211(struct mt76_dev *dev, __le32 *txwi, argument
680 txwi[3] &= ~cpu_to_le32(MT_TXD3_PROTECT_FRAME);
683 txwi[1] |= cpu_to_le32(val);
691 txwi[2] |= cpu_to_le32(val);
693 txwi[3] |= cpu_to_le32(FIELD_PREP(MT_TXD3_BCM, multicast));
695 txwi[3] |= cpu_to_le32(MT_TXD3_REM_TX_COUNT);
709 txwi[
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
823 mt7925_tx_check_aggr(struct ieee80211_sta *sta, __le32 *txwi) argument
1027 __le32 *txwi; local
1058 struct mt76_txwi_cache *txwi; local
1345 __le32 *txwi = (__le32 *)(skb->data - MT_SDIO_TXD_SIZE); local
1398 __le32 *txwi = (__le32 *)(e->skb->data + MT_SDIO_HDR_SIZE); local
[all...]
H A Dmt7925.h250 void mt7925_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi,
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci_mac.c19 u8 *txwi = (u8 *)txwi_ptr; local
27 t = (struct mt76_txwi_cache *)(txwi + mdev->drv->txwi_size);
47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE);
H A Dmac.c491 struct mt76_txwi_cache *txwi; local
544 txwi = mt76_token_release(mdev, msdu, &wake);
545 if (!txwi)
548 mt76_connac2_txwi_free(mdev, txwi, sta, &free_list);
756 __le32 *txwi = (__le32 *)(skb->data - MT_SDIO_TXD_SIZE); local
758 memset(txwi, 0, MT_SDIO_TXD_SIZE);
759 mt76_connac2_mac_write_txwi(&dev->mt76, txwi, skb, wcid, key, pid, qid, 0);
814 __le32 *txwi = (__le32 *)(e->skb->data + MT_SDIO_HDR_SIZE); local
820 idx = le32_get_bits(txwi[1], MT_TXD1_WLAN_IDX);
825 mt76_connac2_tx_check_aggr(sta, txwi);
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c716 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi, argument
770 txwi[0] = cpu_to_le32(val);
781 txwi[1] = cpu_to_le32(val);
790 txwi[3] = 0;
792 txwi[3] = cpu_to_le32(MT_TXD3_PROTECT_FRAME);
795 txwi[3] = 0;
797 txwi[2] = cpu_to_le32(val);
800 txwi[2] |= cpu_to_le32(MT_TXD2_BA_DISABLE);
802 txwi[4] = 0;
803 txwi[
1543 mt7615_txwi_free(struct mt7615_dev *dev, struct mt76_txwi_cache *txwi) argument
1568 struct mt76_txwi_cache *txwi; local
2121 struct mt76_txwi_cache *txwi; local
[all...]
H A Dpci_mac.c69 u8 *txwi = (u8 *)txwi_ptr; local
91 t = (struct mt76_txwi_cache *)(txwi + mdev->drv->txwi_size);
102 txp = txwi + MT_TXD_SIZE;
H A Dusb_sdio.c49 __le32 *txwi = (__le32 *)(skb->data - MT_USB_TXD_SIZE); local
51 memset(txwi, 0, MT_USB_TXD_SIZE);
52 mt7615_mac_write_txwi(dev, txwi, skb, wcid, sta, pid, key, qid, false);
H A Dmt7615.h473 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi,
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c703 mt7996_mac_write_txwi_8023(struct mt7996_dev *dev, __le32 *txwi, argument
726 txwi[1] |= cpu_to_le32(val);
734 txwi[2] |= cpu_to_le32(val);
737 txwi[3] |= cpu_to_le32(MT_TXD3_HW_AMSDU);
741 mt7996_mac_write_txwi_80211(struct mt7996_dev *dev, __le32 *txwi, argument
772 txwi[3] &= ~cpu_to_le32(MT_TXD3_PROTECT_FRAME);
775 txwi[1] |= cpu_to_le32(val);
783 txwi[2] |= cpu_to_le32(val);
785 txwi[3] |= cpu_to_le32(FIELD_PREP(MT_TXD3_BCM, multicast));
787 txwi[
808 mt7996_mac_write_txwi(struct mt7996_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
925 u8 *txwi = (u8 *)txwi_ptr; local
990 __le32 *txwi = ptr; local
1054 __le32 *txwi; local
1086 struct mt76_txwi_cache *txwi; local
1622 struct mt76_txwi_cache *txwi; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c918 mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi, argument
963 txwi[0] = cpu_to_le32(val);
973 txwi[1] = cpu_to_le32(val);
976 txwi[1] |= cpu_to_le32(MT_TXD1_NO_ACK);
982 txwi[2] = cpu_to_le32(val);
985 txwi[2] |= cpu_to_le32(MT_TXD2_BA_DISABLE);
987 txwi[4] = 0;
991 txwi[5] = cpu_to_le32(val);
993 txwi[6] = 0;
1000 txwi[
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c609 mt7915_mac_write_txwi_tm(struct mt7915_phy *phy, __le32 *txwi, argument
689 txwi[2] |= cpu_to_le32(MT_TXD2_FIX_RATE);
691 le32p_replace_bits(&txwi[3], 1, MT_TXD3_REM_TX_COUNT);
693 txwi[3] |= cpu_to_le32(MT_TXD3_BA_DISABLE);
716 txwi[3] &= ~cpu_to_le32(MT_TXD3_SN_VALID);
717 txwi[6] |= cpu_to_le32(val);
718 txwi[7] |= cpu_to_le32(FIELD_PREP(MT_TXD7_SPE_IDX,
723 void mt7915_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, argument
735 mt76_connac2_mac_write_txwi(dev, txwi, skb, wcid, key, pid, qid, changed);
738 mt7915_mac_write_txwi_tm(mphy->priv, txwi, sk
754 u8 *txwi = (u8 *)txwi_ptr; local
825 __le32 *txwi = ptr; local
885 struct mt76_txwi_cache *txwi; local
990 struct mt76_txwi_cache *txwi; local
[all...]
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.h203 void rt2800_txdone_entry(struct queue_entry *entry, u32 status, __le32 *txwi,

Completed in 375 milliseconds

12