mbox series

[v2,0/9] introduce mt76-connac dependency in mt7915 driver

Message ID cover.1639935477.git.lorenzo@kernel.org
Headers show
Series introduce mt76-connac dependency in mt7915 driver | expand

Message

Lorenzo Bianconi Dec. 19, 2021, 5:40 p.m. UTC
Introduce mt76-connac module dependency in the mt7915 driver and remove
duplicated mcu code.

Changes since v1:
- fix sta_rec_wtbl tag len for mt7615/mt7921
- fix broadcast muar_idx in alloc_sta_req for mt7615/mt7921

Lorenzo Bianconi (9):
  mt76: connac: fix sta_rec_wtbl tag len
  mt76: connac: fix broadcast muar_idx in alloc_sta_req
  mt76: mt7915: rely on mt76_connac_mcu_alloc_sta_req
  mt76: mt7915: rely on  mt76_connac_mcu_alloc_wtbl_req
  mt76: mt7915: rely on mt76_connac_mcu_add_tlv routine
  mt76: connac: move mt76_connac_mcu_get_cipher in common code
  mt76: connac: move mt76_connac_chan_bw in common code
  mt76: mt7915: rely on mt76_connac_get_phy utilities
  mt76: connac: move mt76_connac_mcu_add_key in connac module

 .../net/wireless/mediatek/mt76/mt76_connac.h  |  29 ++
 .../wireless/mediatek/mt76/mt76_connac_mcu.c  | 112 ++++-
 .../wireless/mediatek/mt76/mt76_connac_mcu.h  |  50 +-
 .../net/wireless/mediatek/mt76/mt7915/Kconfig |   2 +-
 .../net/wireless/mediatek/mt76/mt7915/main.c  |   5 +-
 .../net/wireless/mediatek/mt76/mt7915/mcu.c   | 441 ++++--------------
 .../wireless/mediatek/mt76/mt7915/mt7915.h    |  17 +-
 .../net/wireless/mediatek/mt76/mt7921/main.c  |   9 +-
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 137 +-----
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  10 +-
 10 files changed, 278 insertions(+), 534 deletions(-)