Hi Kalle, Here's another large batch of mt76 code cleanup / deduplication / fixes v2: add missing S-o-b. - Felix The following changes since commit c894696188d5c2af1e636e458190e80c53fb893d: rtlwifi: rtl8821ae: replace _rtl8821ae_mrate_idx_to_arfr_id with generic version (2018-10-13 15:00:37 +0300) are available in the Git repository at: https://github.com/nbd168/wireless tags/mt76-for-kvalo-2018-10-13 for you to fetch changes up to f27a058199ee6da50d724302d42fff94a00851c7: mt76x0: phy: do not run calibration during channel switch (2018-10-13 16:35:16 +0200) ---------------------------------------------------------------- mt76 patches for 4.20 * mt76x0 fixes * mt76x0e improvements (should be usable now) * usb support improvements * more mt76x0/mt76x2 unification work * minor fix for aggregation + powersave clients ---------------------------------------------------------------- Felix Fietkau (2): mt76: do not store aggregation sequence number for null-data frames mt76: mt76x0e: another fix for the external PA current setting Lorenzo Bianconi (26): mt76x0: phy: fix bank check in mt76x0_rf_csr_{wr,rr} mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mcu.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_phy.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_util.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_usb_mcu.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_mac.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_txrx.c mt76: use mt76x02_dev instead of mt76_dev in mt76x02_eeprom.c mt76x0: pci: report firmware version using ethtool mt76x0: pci: add missing mac80211 callbacks mt76: disable ldpc coding for mt76x0 devices mt76x0: pci: add mt76x0_register_device in mt76x0e_register_device mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc mt76x0: phy: remove channel parameter from mt76x0_phy_set_chan_bbp_params mt76: move mt76x02_phy_set_bw in mt76x02-lib module mt76: move mt76x02_phy_set_band in mt76x02-lib module mt76x0: pci: rename mt76x0_phy_calibrate mt76x0: pci: introduce mt76x0_phy_calirate routine mt76x0: phy: update set_channel for mt76x0e devices mt76x0: eeprom: introduce mt76x0_tssi_enabled routine mt76x0: phy: add phy/vco temperature compensation mt76: move rssi_gain_thresh routines in mt76x02-lib module mt76: move mt76x02_phy_adjust_vga_gain in mt76/mt76x02_phy.c mt76: introduce mt76x02_init_agc_gain routine mt76x0: phy: align channel gain logic to mt76x2 one mt76x0: phy: do not run calibration during channel switch Stanislaw Gruszka (7): mt76x0: print BBP version only for debug mt76x0: correct RF access via RF_CSR register. mt76: allow to identify bus mt76x0: correct RF reg pairs write for PCIe mt76x0: use bus helper to identify rf access method mt76: reserve enough room for USB tx skbs mt76x0: remove dma.h YueHaibing (1): mt76x0: pci: fix set external PA I/O current drivers/net/wireless/mediatek/mt76/mmio.c | 1 + drivers/net/wireless/mediatek/mt76/mt76.h | 9 +++ drivers/net/wireless/mediatek/mt76/mt76x0/dma.h | 126 --------------------------------------- drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c | 55 ++++++++--------- drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h | 6 ++ drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 9 ++- drivers/net/wireless/mediatek/mt76/mt76x0/main.c | 22 ++++--- drivers/net/wireless/mediatek/mt76/mt76x0/mcu.h | 3 + drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 3 +- drivers/net/wireless/mediatek/mt76/mt76x0/pci.c | 49 ++++++++++----- drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c | 1 + drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------ drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c | 7 +-- drivers/net/wireless/mediatek/mt76/mt76x02.h | 25 +++++--- drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c | 33 +++++------ drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h | 37 +++--------- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 206 +++++++++++++++++++++++++++++++-------------------------------- drivers/net/wireless/mediatek/mt76/mt76x02_mac.h | 31 +++++----- drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c | 74 +++++++++++------------ drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h | 14 +++-- drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x02_phy.c | 167 +++++++++++++++++++++++++++++++++++++--------------- drivers/net/wireless/mediatek/mt76/mt76x02_phy.h | 39 ++++++++++-- drivers/net/wireless/mediatek/mt76/mt76x02_regs.h | 4 +- drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c | 29 +++++---- drivers/net/wireless/mediatek/mt76/mt76x02_usb.h | 8 +-- drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c | 20 +------ drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c | 27 ++++----- drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 120 ++++++++++++++++++------------------- drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c | 80 +++++++++++-------------- drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.h | 23 +++++++- drivers/net/wireless/mediatek/mt76/mt76x2/init.c | 3 + drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c | 5 +- drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | 2 - drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c | 18 +++--- drivers/net/wireless/mediatek/mt76/mt76x2/pci_mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c | 6 +- drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c | 100 ++++++++----------------------- drivers/net/wireless/mediatek/mt76/mt76x2/phy.c | 61 +++---------------- drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 11 ++-- drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c | 6 +- drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c | 4 +- drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c | 18 +++--- drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c | 32 +++++----- drivers/net/wireless/mediatek/mt76/tx.c | 3 +- drivers/net/wireless/mediatek/mt76/usb.c | 1 + 47 files changed, 879 insertions(+), 936 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x0/dma.h