/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | mt76_connac.h | 20 #define MT_TXD_SIZE (8 * 4) macro 22 #define MT_USB_TXD_SIZE (MT_TXD_SIZE + 8 * 4) 26 #define MT_SDIO_TXD_SIZE (MT_TXD_SIZE + 8 * 4) 268 return (void *)(txwi + MT_TXD_SIZE); in mt76_connac_txwi_to_txp()
|
A D | mt76_connac_mac.c | 164 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt76_connac_write_hw_txp() 460 u32 val, sz_txd = mt76_is_mmio(dev) ? MT_TXD_SIZE : MT_SDIO_TXD_SIZE; in mt76_connac2_mac_write_txwi()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | dma.c | 30 if (skb->len < MT_TXD_SIZE + sizeof(struct ieee80211_hdr)) in mt7603_rx_loopback_skb() 51 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_rx_loopback_skb()
|
A D | mac.h | 128 #define MT_TXD_SIZE (8 * 4) macro
|
A D | init.c | 9 .txwi_size = MT_TXD_SIZE,
|
A D | main.c | 437 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE]; in mt7603_ps_set_more_data()
|
A D | mac.c | 950 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) | in mt7603_mac_write_txwi()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | pci_mac.c | 37 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp() 102 txp = txwi + MT_TXD_SIZE; in mt7615_tx_prepare_skb()
|
A D | mcu.c | 705 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_add_beacon_offload() 716 memcpy(req.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_add_beacon_offload() 717 req.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_add_beacon_offload() 718 req.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_add_beacon_offload() 722 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_add_beacon_offload() 1080 if (skb->len > 512 - MT_TXD_SIZE) { in mt7615_mcu_uni_add_beacon_offload() 1088 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7615_mcu_uni_add_beacon_offload() 1089 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7615_mcu_uni_add_beacon_offload() 1090 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7615_mcu_uni_add_beacon_offload() 1095 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7615_mcu_uni_add_beacon_offload()
|
A D | mmio.c | 173 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_txp_common), in mt7615_mmio_probe()
|
A D | mac.c | 734 u32 val, sz_txd = is_mmio ? MT_TXD_SIZE : MT_USB_TXD_SIZE; in mt7615_mac_write_txwi()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | pci_mac.c | 47 txp = (struct mt76_connac_hw_txp *)(txwi + MT_TXD_SIZE); in mt7921e_tx_prepare_skb()
|
A D | mcu.c | 1228 if (skb->len > 512 - MT_TXD_SIZE) { in mt7921_mcu_uni_add_beacon_offload() 1236 memcpy(req.beacon_tlv.pkt + MT_TXD_SIZE, skb->data, skb->len); in mt7921_mcu_uni_add_beacon_offload() 1237 req.beacon_tlv.pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7921_mcu_uni_add_beacon_offload() 1238 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset); in mt7921_mcu_uni_add_beacon_offload() 1243 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4; in mt7921_mcu_uni_add_beacon_offload()
|
A D | pci.c | 234 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_hw_txp), in mt7921_pci_probe()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7996/ |
A D | mac.h | 185 #define MT_TXD_SIZE (8 * 4) macro
|
A D | mmio.c | 321 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_fw_txp), in mt7996_mmio_probe()
|
A D | mcu.c | 1896 bcn->pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7996_mcu_beacon_cont() 1911 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7996_mcu_beacon_cont() 2039 if (skb->len > MAX_BEACON_SIZE - MT_TXD_SIZE) { in mt7996_mcu_add_beacon() 2094 if (skb->len > MAX_INBAND_FRAME_SIZE - MT_TXD_SIZE) { in mt7996_mcu_beacon_inband_discov() 2112 discov->prob_rsp_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7996_mcu_beacon_inband_discov() 2121 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7996_mcu_beacon_inband_discov()
|
A D | mac.c | 1023 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) | in mt7996_mac_write_txwi() 1120 memset(txwi_ptr, 0, MT_TXD_SIZE); in mt7996_tx_prepare_skb() 1126 txp = (struct mt76_connac_txp_common *)(txwi + MT_TXD_SIZE); in mt7996_tx_prepare_skb()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mac.c | 788 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb() 827 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7915_wed_init_buf() 831 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf() 833 val = FIELD_PREP(MT_TXD0_TX_BYTES, MT_TXD_SIZE) | in mt7915_wed_init_buf() 843 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf() 845 return MT_TXD_SIZE + sizeof(*txp); in mt7915_wed_init_buf()
|
A D | mcu.c | 1853 int len = sizeof(*cont) + MT_TXD_SIZE + skb->len; in mt7915_mcu_beacon_cont() 1860 cont->pkt_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7915_mcu_beacon_cont() 1875 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7915_mcu_beacon_cont() 1996 len = sizeof(*discov) + MT_TXD_SIZE + skb->len; in mt7915_mcu_beacon_inband_discov() 2012 discov->prob_rsp_len = cpu_to_le16(MT_TXD_SIZE + skb->len); in mt7915_mcu_beacon_inband_discov() 2019 memcpy(buf + MT_TXD_SIZE, skb->data, skb->len); in mt7915_mcu_beacon_inband_discov() 2057 if (skb->len > MT7915_MAX_BEACON_SIZE - MT_TXD_SIZE) { in mt7915_mcu_add_beacon()
|
A D | mmio.c | 1013 .txwi_size = MT_TXD_SIZE + sizeof(struct mt76_connac_fw_txp), in mt7915_mmio_probe()
|