mbox series

[0/2] mt76: move token management in mt76 module

Message ID cover.1618952061.git.lorenzo@kernel.org
Headers show
Series mt76: move token management in mt76 module | expand

Message

Lorenzo Bianconi April 20, 2021, 9:05 p.m. UTC
Move token management in mt76 common module since it is shared between
mt7615, mt7915 and mt7921 drivers

Lorenzo Bianconi (2):
  mt76: move token_lock, token and token_count in mt76_dev
  mt76: move token utilities in mt76 common module

 drivers/net/wireless/mediatek/mt76/mt76.h     | 54 +++++++++++++--
 .../net/wireless/mediatek/mt76/mt7615/mac.c   | 14 ++--
 .../net/wireless/mediatek/mt76/mt7615/mmio.c  |  1 +
 .../wireless/mediatek/mt76/mt7615/mt7615.h    |  3 -
 .../wireless/mediatek/mt76/mt7615/pci_init.c  |  3 +-
 .../wireless/mediatek/mt76/mt7615/pci_mac.c   | 10 +--
 .../net/wireless/mediatek/mt76/mt7915/init.c  |  3 +-
 .../net/wireless/mediatek/mt76/mt7915/mac.c   | 64 +++--------------
 .../wireless/mediatek/mt76/mt7915/mt7915.h    |  5 --
 .../net/wireless/mediatek/mt76/mt7915/pci.c   |  1 +
 .../net/wireless/mediatek/mt76/mt7921/init.c  |  4 +-
 .../net/wireless/mediatek/mt76/mt7921/mac.c   | 58 +++-------------
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  5 --
 .../net/wireless/mediatek/mt76/mt7921/pci.c   |  1 +
 drivers/net/wireless/mediatek/mt76/tx.c       | 68 +++++++++++++++++++
 15 files changed, 153 insertions(+), 141 deletions(-)