Hi Kalle, here's another pull request for 5.1 - Felix The following changes since commit f77ecde5f206195cdce16dd2ac92d7ca0305ba2b: Merge tag 'iwlwifi-next-for-kalle-2019-02-14' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next (2019-02-18 20:10:46 +0200) are available in the Git repository at: https://github.com/nbd168/wireless tags/mt76-for-kvalo-2019-02-18 for you to fetch changes up to 9f688473408b6334c5da5ec085f9ea1954675fe7: mt76: mt76x2: simplify per-chain signal strength handling (2019-02-18 20:41:50 +0100) ---------------------------------------------------------------- mt76 patches for 5.1 * beacon support for USB devices (mesh+ad-hoc only) * mt76x0 tx power fixes * fixes for encryption, calibration and ED/CCA * more code unification * USB fixes * fix for using the correct hweight8 function ---------------------------------------------------------------- Ben Hutchings (1): mt76: Use the correct hweight8() function Felix Fietkau (11): mt76: fix software encryption issues mt76: mt76x2: avoid running DPD calibration if tx is blocked mt76: explicitly disable energy detect cca during scan mt76: run MAC work every 100ms mt76: clear CCA timer stats in mt76x02_edcca_init mt76: measure the time between mt76x02_edcca_check runs mt76: increase ED/CCA tx block threshold mt76: fix tx status timeout processing mt76: fix corrupted software generated tx CCMP PN mt76: fix resetting software IV flag on key delete mt76: mt76x2: simplify per-chain signal strength handling Lorenzo Bianconi (21): mt76x0: eeprom: fix VHT mcs{8,9} rate power offset mt76: move mt76_mcu_msg_alloc in mt76-core mt76: move mt76_mcu_get_response in mt76-core mt76: move mt76_mcu_rx_event in mt76-core mt76x0: mcu: remove useless commented configuration mt76: move mt76_dma_tx_queue_skb_raw in mt76-core module mt76: remove add_buf pointer in mt76_queue_ops mt76: move alloc_device common code in mt76_alloc_device mt76x2u: remove mt76x2u_alloc_device routine mt76x0: remove mt76x0u_alloc_device routine mt76x2: remove mt76x2_alloc_device routine mt76x0: phy: report target_power in debugfs mt76x0: init: introduce mt76x0_init_txpower routine mt76: usb: fix possible NULL pointer dereference in mt76u_mcu_deinit mt76: usb: fix possible memory leak in mt76u_buf_free mt76: usb: do not run mt76u_queues_deinit twice mt76: usb: move mt76u_check_sg in usb.c mt76: usb: do not use sg buffers for mcu messages mt76: usb: use a linear buffer for tx/rx datapath if sg is not supported mt76: usb: introduce disable_usb_sg parameter mt76: usb: use dev_err_ratelimited instead of dev_err in mt76u_complete_rx Ryder Lee (1): mt76: change the return type of mt76_dma_attach() Stanislaw Gruszka (9): mt76x02: use mask for vifs mt76x02: use commmon add interface for mt76x2u mt76x02: initialize mutli bss mode when set up address mt76x02: minor beaconing init changes mt76x02: init beacon config for mt76x2u mt76: beaconing fixes for USB mt76x02: enable support for IBSS and MESH mt76x02u: use usb_bulk_msg to upload firmware mt76x02u: remove bogus check and comment padding drivers/net/wireless/mediatek/mt76/Makefile | 3 +- drivers/net/wireless/mediatek/mt76/dma.c | 29 ++++++++++++++++-- drivers/net/wireless/mediatek/mt76/dma.h | 2 +- drivers/net/wireless/mediatek/mt76/mac80211.c | 11 +++++-- drivers/net/wireless/mediatek/mt76/mcu.c | 60 ++++++++++++++++++++++++++++++++++++ drivers/net/wireless/mediatek/mt76/mt76.h | 32 ++++++++++++++----- drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c | 16 +++++----- drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.h | 7 +++-- drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 39 ++++++++++++----------- drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h | 4 --- drivers/net/wireless/mediatek/mt76/mt76x0/pci.c | 19 +++++++----- drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 11 ++++--- drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 26 +++++++++------- drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c | 6 ---- drivers/net/wireless/mediatek/mt76/mt76x02.h | 7 +++-- drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 90 ++++++++++++++++++++++++++++++++++++++++++----------- drivers/net/wireless/mediatek/mt76/mt76x02_mac.h | 8 ++--- drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c | 69 ++++++----------------------------------- drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h | 6 ++++ drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c | 12 ++------ drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c | 14 ++++++--- drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c | 72 +++++++++++-------------------------------- drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 79 ++++++++++++++++++++++++----------------------- drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | 1 - drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h | 1 - drivers/net/wireless/mediatek/mt76/mt76x2/pci.c | 26 ++++++++++++---- drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c | 31 +------------------ drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c | 6 ++-- drivers/net/wireless/mediatek/mt76/mt76x2/phy.c | 2 +- drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 24 +++++++++++---- drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 32 ++----------------- drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c | 17 ++-------- drivers/net/wireless/mediatek/mt76/tx.c | 5 +-- drivers/net/wireless/mediatek/mt76/usb.c | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------ drivers/net/wireless/mediatek/mt76/usb_mcu.c | 13 ++++---- 37 files changed, 524 insertions(+), 422 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mcu.c