Move fw/hw txp code in mt76-connac module since it is shared between mt7915e, mt7921e and mt7615 drivers. This is a preliminary series to add mt7990e chipset support. Changes since v1: - fix mt7921 mt76_driver_ops txwi_size Lorenzo Bianconi (6): mt76: connac: move mt76_connac_fw_txp in common module mt76: move mt7615_txp_ptr in mt76_connac module mt76: connac: move mt76_connac_tx_free in shared code mt76: connac: move mt76_connac_tx_complete_skb in shared code mt76: connac: move mt76_connac_write_hw_txp in shared code mt76: connac: move mt7615_txp_skb_unmap in common code .../net/wireless/mediatek/mt76/mt7615/mac.c | 63 +-------- .../net/wireless/mediatek/mt76/mt7615/mac.h | 69 ---------- .../net/wireless/mediatek/mt76/mt7615/mmio.c | 4 +- .../wireless/mediatek/mt76/mt7615/mt7615.h | 3 - .../wireless/mediatek/mt76/mt7615/pci_mac.c | 78 +---------- .../net/wireless/mediatek/mt76/mt76_connac.h | 91 ++++++++++++ .../wireless/mediatek/mt76/mt76_connac2_mac.h | 13 +- .../wireless/mediatek/mt76/mt76_connac_mac.c | 130 ++++++++++++++++++ .../net/wireless/mediatek/mt76/mt7915/mac.c | 41 +----- .../net/wireless/mediatek/mt76/mt7915/mac.h | 32 ----- .../net/wireless/mediatek/mt76/mt7915/mmio.c | 4 +- .../wireless/mediatek/mt76/mt7915/mt7915.h | 1 - .../net/wireless/mediatek/mt76/mt7921/mac.h | 68 --------- .../wireless/mediatek/mt76/mt7921/mt7921.h | 1 - .../net/wireless/mediatek/mt76/mt7921/pci.c | 5 +- .../wireless/mediatek/mt76/mt7921/pci_mac.c | 102 ++------------ 16 files changed, 257 insertions(+), 448 deletions(-) -- 2.36.1