mbox series

[0/2] mt76: move tx mcu shared code in mt76_connac

Message ID cover.1655729403.git.lorenzo@kernel.org
Headers show
Series mt76: move tx mcu shared code in mt76_connac | expand

Message

Lorenzo Bianconi June 20, 2022, 12:59 p.m. UTC
Move mt76_connac2_mcu_fill_message routine in shared code in order to reuse
it for mt7921 and mt7915e drivers.
This is a preliminary series to add mt7990 driver support.

This series is based on the series below:
https://patchwork.kernel.org/project/linux-wireless/cover/cover.1655649421.git.lorenzo@kernel.org/

Lorenzo Bianconi (2):
  mt76: move mcu_txd/mcu_rxd structures in shared code
  mt76: move mt76_connac2_mcu_fill_message in mt76_connac module

 .../net/wireless/mediatek/mt76/mt7615/mcu.h   |   3 -
 .../wireless/mediatek/mt76/mt76_connac2_mac.h |  13 +++
 .../wireless/mediatek/mt76/mt76_connac_mcu.c  |  77 +++++++++++++
 .../wireless/mediatek/mt76/mt76_connac_mcu.h  |  90 ++++++++++++++++
 .../net/wireless/mediatek/mt76/mt7915/mac.h   |  12 ---
 .../net/wireless/mediatek/mt76/mt7915/mcu.c   |  86 ++++-----------
 .../net/wireless/mediatek/mt76/mt7915/mcu.h   |  45 +-------
 .../net/wireless/mediatek/mt76/mt7921/mac.c   |   2 +-
 .../net/wireless/mediatek/mt76/mt7921/mac.h   |  13 ---
 .../net/wireless/mediatek/mt76/mt7921/main.c  |   4 +-
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 102 +++---------------
 .../net/wireless/mediatek/mt76/mt7921/mcu.h   |  88 ---------------
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |   2 -
 .../wireless/mediatek/mt76/mt7921/pci_mcu.c   |  11 +-
 .../wireless/mediatek/mt76/mt7921/sdio_mcu.c  |  12 ++-
 .../net/wireless/mediatek/mt76/mt7921/usb.c   |  12 ++-
 16 files changed, 250 insertions(+), 322 deletions(-)