This series allow reusing connac2 txwi code in mt7921 and mt7915 driver. Lorenzo Bianconi (5): mt76: mt7921: rely on mt76_dev in mt7921_mac_write_txwi signature mt76: mt7915: rely on mt76_dev in mt7915_mac_write_txwi signature mt76: connac: move mac connac2 defs in mt76_connac2_mac.h mt76: connac: move connac2_mac_write_txwi in mt76_connac module mt76: connac: move mt76_connac2_mac_add_txs_skb in connac module .../net/wireless/mediatek/mt76/mt76_connac.h | 9 + .../wireless/mediatek/mt76/mt76_connac2_mac.h | 167 +++++++ .../wireless/mediatek/mt76/mt76_connac_mac.c | 406 ++++++++++++++++++ .../net/wireless/mediatek/mt76/mt7915/mac.c | 386 +---------------- .../net/wireless/mediatek/mt76/mt7915/mac.h | 142 +----- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 6 +- .../wireless/mediatek/mt76/mt7915/mt7915.h | 17 +- .../net/wireless/mediatek/mt76/mt7921/mac.c | 335 +-------------- .../net/wireless/mediatek/mt76/mt7921/mac.h | 123 +----- .../net/wireless/mediatek/mt76/mt7921/main.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/mcu.c | 4 +- .../wireless/mediatek/mt76/mt7921/mt7921.h | 15 - .../wireless/mediatek/mt76/mt7921/pci_mac.c | 4 +- 13 files changed, 607 insertions(+), 1009 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt76_connac2_mac.h -- 2.35.3