Unify drv_bss_info_changed mac80211 callback between mt76x0 and mt76x2. Move ack timeout and protection utility routines in mt76x02-lib module. This series is based on top of 'enable AP support in mt76x0e driver' one: https://patchwork.kernel.org/cover/10650335/ Lorenzo Bianconi (4): mt76: move mt76x02_set_tx_ackto in mt76x02-lib module mt76x0: update init vals for MT_TX_PROT registers mt76: move tx protection routines in mt76x02-lib module mt76: move mt76x02_bss_info_changed in mt76x02-lib module .../wireless/mediatek/mt76/mt76x0/Makefile | 3 +- .../wireless/mediatek/mt76/mt76x0/initvals.h | 15 ++-- .../net/wireless/mediatek/mt76/mt76x0/mac.c | 77 ---------------- .../net/wireless/mediatek/mt76/mt76x0/main.c | 63 -------------- .../wireless/mediatek/mt76/mt76x0/mt76x0.h | 8 -- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 4 +- .../net/wireless/mediatek/mt76/mt76x0/usb.c | 4 +- drivers/net/wireless/mediatek/mt76/mt76x02.h | 7 ++ .../net/wireless/mediatek/mt76/mt76x02_mac.c | 30 +++++++ .../net/wireless/mediatek/mt76/mt76x02_mac.h | 4 +- .../net/wireless/mediatek/mt76/mt76x02_util.c | 87 +++++++++++++++++++ .../wireless/mediatek/mt76/mt76x2/Makefile | 4 +- .../wireless/mediatek/mt76/mt76x2/mt76x2.h | 3 - .../wireless/mediatek/mt76/mt76x2/pci_init.c | 19 +--- .../wireless/mediatek/mt76/mt76x2/pci_mac.c | 50 ----------- .../wireless/mediatek/mt76/mt76x2/pci_main.c | 69 +-------------- 16 files changed, 147 insertions(+), 300 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x0/mac.c delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mac.c -- 2.19.1