mbox series

pull request: mt76 2021-03-15

Message ID 6c132956-ef8d-6175-4a1d-bc3d4aa2e816@nbd.name (mailing list archive)
State Changes Requested
Headers show
Series pull request: mt76 2021-03-15 | expand

Pull-request

https://github.com/nbd168/wireless tags/mt76-for-kvalo-2021-03-15

Message

Felix Fietkau March 15, 2021, 1:55 p.m. UTC
Hi Kalle,

here's my first pull request for 5.13.

The following changes since commit 05a59d79793d482f628a31753c671f2e92178a21:

  Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net (2021-03-09 17:15:56 -0800)

are available in the Git repository at:

  https://github.com/nbd168/wireless tags/mt76-for-kvalo-2021-03-15

for you to fetch changes up to 8ffdcfcd7f111f3b89975f26da11fb43a0a37eb6:

  mt76: mt7921: remove redundant check on type (2021-03-15 00:07:18 +0100)

----------------------------------------------------------------
mt76 patches for 5.13

* code cleanup
* mt7915/mt7615 decap offload support
* driver fixes
* mt7613 eeprom support
* MCU code unification
* threaded NAPI support
* new device IDs
* mt7921 device reset support

----------------------------------------------------------------
Colin Ian King (1):
      mt76: mt7921: remove redundant check on type

David Bauer (1):
      mt76: mt76x0: disable GTK offloading

Eric Y.Y. Wong (1):
      mt76: mt76x0u: Add support for TP-Link T2UHP(UN) v1

Felix Fietkau (7):
      mt76: add support for 802.3 rx frames
      mt76: mt7915: add rx checksum offload support
      mt76: mt7915: add support for rx decapsulation offload
      mt76: mt7615: fix key set/delete issues
      mt76: mt7615: fix tx skb dma unmap
      mt76: mt7915: fix tx skb dma unmap
      mt76: use threaded NAPI

Jiapeng Chong (1):
      mt76: mt7921: remove unneeded semicolon

Lorenzo Bianconi (22):
      mt76: mt7915: enable hw rx-amsdu de-aggregation
      mt76: mt7921: enable random mac addr during scanning
      mt76: mt7921: removed unused definitions in mcu.h
      mt76: connac: always check return value from mt76_connac_mcu_alloc_wtbl_req
      mt76: mt7915: always check return value from mt7915_mcu_alloc_wtbl_req
      mt76: mt7615: fix memory leak in mt7615_coredump_work
      mt76: mt7921: fix aggr length histogram
      mt76: mt7915: fix aggr len debugfs node
      mt76: mt7921: fix stats register definitions
      mt76: mt7615: fix mib stats counter reporting to mac80211
      mt76: connac: fix kernel warning adding monitor interface
      mt76: check return value of mt76_txq_send_burst in mt76_txq_schedule_list
      mt76: mt7921: get rid of mt7921_sta_rc_update routine
      mt76: mt7921: check mcu returned values in mt7921_start
      mt76: mt7921: reduce mcu timeouts for suspend, offload and hif_ctrl msg
      mt76: introduce mcu_reset function pointer in mt76_mcu_ops structure
      mt76: mt7921: introduce mt7921_run_firmware utility routine.
      mt76: mt7921: introduce __mt7921_start utility routine
      mt76: dma: introduce mt76_dma_queue_reset routine
      mt76: dma: export mt76_dma_rx_cleanup routine
      mt76: mt7921: add wifi reset support
      mt76: mt7921: remove leftovers from dbdc configuration

Nigel Christian (1):
      mt76: mt7921: remove unnecessary variable

Ryder Lee (20):
      mt76: always use WTBL_MAX_SIZE for tlv allocation
      mt76: use PCI_VENDOR_ID_MEDIATEK to avoid open coded
      mt76: mt7615: enable hw rx-amsdu de-aggregation
      mt76: mt7615: add rx checksum offload support
      mt76: mt7615: add support for rx decapsulation offload
      mt76: mt7615: fix TSF configuration
      mt76: mt7615: remove hdr->fw_ver check
      mt76: mt7915: fix mib stats counter reporting to mac80211
      mt76: mt7915: add missing capabilities for DBDC
      mt76: mt7615: fix CSA notification for DBDC
      mt76: mt7615: stop ext_phy queue when mac reset happens
      mt76: mt7915: fix CSA notification for DBDC
      mt76: mt7915: stop ext_phy queue when mac reset happens
      mt76: mt7915: fix PHY mode for DBDC
      mt76: mt7915: fix rxrate reporting
      mt76: mt7915: fix txrate reporting
      mt76: mt7915: check mcu returned values in mt7915_ops
      mt76: mt7615: check mcu returned values in mt7615_ops
      mt76: mt7615: add missing capabilities for DBDC
      mt76: mt7915: fix possible deadlock while mt7915_register_ext_phy()

Sander Vanheule (1):
      mt76: mt7615: support loading EEPROM for MT7613BE

Sean Wang (12):
      mt76: mt7921: fix suspend/resume sequence
      mt76: mt7921: fix memory leak in mt7921_coredump_work
      mt76: mt7921: switch to new api for hardware beacon filter
      mt76: connac: fix up the setting for ht40 mode in mt76_connac_mcu_uni_add_bss
      mt76: mt7921: fixup rx bitrate statistics
      mt76: mt7921: add flush operation
      mt76: connac: update sched_scan cmd usage
      mt76: mt7921: fix the base of PCIe interrupt
      mt76: mt7921: fix the base of the dynamic remap
      mt76: mt7663: fix when beacon filter is being applied
      mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
      mt76: mt7663s: fix the possible device hang in high traffic

 drivers/net/wireless/mediatek/mt76/agg-rx.c           |  13 ++--
 drivers/net/wireless/mediatek/mt76/dma.c              |  53 ++++++++-----
 drivers/net/wireless/mediatek/mt76/mac80211.c         |  78 +++++++++++++++++--
 drivers/net/wireless/mediatek/mt76/mcu.c              |   4 +
 drivers/net/wireless/mediatek/mt76/mt76.h             |  20 ++++-
 drivers/net/wireless/mediatek/mt76/mt7603/dma.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7603/mac.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7603/pci.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7615/dma.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c    |   1 +
 drivers/net/wireless/mediatek/mt76/mt7615/init.c      |  16 ++--
 drivers/net/wireless/mediatek/mt76/mt7615/mac.c       | 195 +++++++++++++++++++++++++++++------------------
 drivers/net/wireless/mediatek/mt76/mt7615/mac.h       |   8 ++
 drivers/net/wireless/mediatek/mt76/mt7615/main.c      | 153 +++++++++++++++++++++++++++----------
 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c       |  69 +++++++++++++++--
 drivers/net/wireless/mediatek/mt76/mt7615/mcu.h       |  35 +++------
 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h    |  19 +++--
 drivers/net/wireless/mediatek/mt76/mt7615/pci.c       |   6 +-
 drivers/net/wireless/mediatek/mt76/mt7615/regs.h      |   9 ++-
 drivers/net/wireless/mediatek/mt76/mt7615/sdio_txrx.c |  11 ++-
 drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c  |   6 +-
 drivers/net/wireless/mediatek/mt76/mt76_connac.h      |   5 ++
 drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c  |  34 ++++++++-
 drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h  |  23 ++++--
 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c       |   6 +-
 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c       |   3 +-
 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c      |   4 +-
 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c     |   2 +-
 drivers/net/wireless/mediatek/mt76/mt76x02_util.c     |   4 +
 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c       |   6 +-
 drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c   |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7915/dma.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7915/init.c      |  63 +++++++++-------
 drivers/net/wireless/mediatek/mt76/mt7915/mac.c       | 103 +++++++++++++++++--------
 drivers/net/wireless/mediatek/mt76/mt7915/mac.h       |  15 ++++
 drivers/net/wireless/mediatek/mt76/mt7915/main.c      |  90 +++++++++++++++++-----
 drivers/net/wireless/mediatek/mt76/mt7915/mcu.c       | 188 ++++++++++++++++++++++++++++++---------------
 drivers/net/wireless/mediatek/mt76/mt7915/mcu.h       |  14 +++-
 drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h    |  10 +--
 drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c   |   8 +-
 drivers/net/wireless/mediatek/mt76/mt7921/dma.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7921/init.c      |   4 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c       | 397 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------
 drivers/net/wireless/mediatek/mt76/mt7921/mac.h       |  10 ++-
 drivers/net/wireless/mediatek/mt76/mt7921/main.c      | 143 +++++++++++++++++++++--------------
 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c       |  55 ++++++++++----
 drivers/net/wireless/mediatek/mt76/mt7921/mcu.h       |  23 ------
 drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h    |  16 ++--
 drivers/net/wireless/mediatek/mt76/mt7921/pci.c       |  20 ++---
 drivers/net/wireless/mediatek/mt76/mt7921/regs.h      |  31 +++++---
 drivers/net/wireless/mediatek/mt76/sdio.c             |   3 +
 drivers/net/wireless/mediatek/mt76/tx.c               |  15 ++--
 52 files changed, 1336 insertions(+), 669 deletions(-)

Comments

Felix Fietkau March 16, 2021, 6:08 p.m. UTC | #1
Hi Kalle,

please hold off on merging this. I'm going to send a new one soon with
fixes for regressions that were reported recently.

- Felix

On 2021-03-15 14:55, Felix Fietkau wrote:
> Hi Kalle,
> 
> here's my first pull request for 5.13.
> 
> The following changes since commit 05a59d79793d482f628a31753c671f2e92178a21:
> 
>   Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net (2021-03-09 17:15:56 -0800)
> 
> are available in the Git repository at:
> 
>   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2021-03-15
> 
> for you to fetch changes up to 8ffdcfcd7f111f3b89975f26da11fb43a0a37eb6:
> 
>   mt76: mt7921: remove redundant check on type (2021-03-15 00:07:18 +0100)
> 
> ----------------------------------------------------------------
> mt76 patches for 5.13
> 
> * code cleanup
> * mt7915/mt7615 decap offload support
> * driver fixes
> * mt7613 eeprom support
> * MCU code unification
> * threaded NAPI support
> * new device IDs
> * mt7921 device reset support
> 
> ----------------------------------------------------------------
> Colin Ian King (1):
>       mt76: mt7921: remove redundant check on type
> 
> David Bauer (1):
>       mt76: mt76x0: disable GTK offloading
> 
> Eric Y.Y. Wong (1):
>       mt76: mt76x0u: Add support for TP-Link T2UHP(UN) v1
> 
> Felix Fietkau (7):
>       mt76: add support for 802.3 rx frames
>       mt76: mt7915: add rx checksum offload support
>       mt76: mt7915: add support for rx decapsulation offload
>       mt76: mt7615: fix key set/delete issues
>       mt76: mt7615: fix tx skb dma unmap
>       mt76: mt7915: fix tx skb dma unmap
>       mt76: use threaded NAPI
> 
> Jiapeng Chong (1):
>       mt76: mt7921: remove unneeded semicolon
> 
> Lorenzo Bianconi (22):
>       mt76: mt7915: enable hw rx-amsdu de-aggregation
>       mt76: mt7921: enable random mac addr during scanning
>       mt76: mt7921: removed unused definitions in mcu.h
>       mt76: connac: always check return value from mt76_connac_mcu_alloc_wtbl_req
>       mt76: mt7915: always check return value from mt7915_mcu_alloc_wtbl_req
>       mt76: mt7615: fix memory leak in mt7615_coredump_work
>       mt76: mt7921: fix aggr length histogram
>       mt76: mt7915: fix aggr len debugfs node
>       mt76: mt7921: fix stats register definitions
>       mt76: mt7615: fix mib stats counter reporting to mac80211
>       mt76: connac: fix kernel warning adding monitor interface
>       mt76: check return value of mt76_txq_send_burst in mt76_txq_schedule_list
>       mt76: mt7921: get rid of mt7921_sta_rc_update routine
>       mt76: mt7921: check mcu returned values in mt7921_start
>       mt76: mt7921: reduce mcu timeouts for suspend, offload and hif_ctrl msg
>       mt76: introduce mcu_reset function pointer in mt76_mcu_ops structure
>       mt76: mt7921: introduce mt7921_run_firmware utility routine.
>       mt76: mt7921: introduce __mt7921_start utility routine
>       mt76: dma: introduce mt76_dma_queue_reset routine
>       mt76: dma: export mt76_dma_rx_cleanup routine
>       mt76: mt7921: add wifi reset support
>       mt76: mt7921: remove leftovers from dbdc configuration
> 
> Nigel Christian (1):
>       mt76: mt7921: remove unnecessary variable
> 
> Ryder Lee (20):
>       mt76: always use WTBL_MAX_SIZE for tlv allocation
>       mt76: use PCI_VENDOR_ID_MEDIATEK to avoid open coded
>       mt76: mt7615: enable hw rx-amsdu de-aggregation
>       mt76: mt7615: add rx checksum offload support
>       mt76: mt7615: add support for rx decapsulation offload
>       mt76: mt7615: fix TSF configuration
>       mt76: mt7615: remove hdr->fw_ver check
>       mt76: mt7915: fix mib stats counter reporting to mac80211
>       mt76: mt7915: add missing capabilities for DBDC
>       mt76: mt7615: fix CSA notification for DBDC
>       mt76: mt7615: stop ext_phy queue when mac reset happens
>       mt76: mt7915: fix CSA notification for DBDC
>       mt76: mt7915: stop ext_phy queue when mac reset happens
>       mt76: mt7915: fix PHY mode for DBDC
>       mt76: mt7915: fix rxrate reporting
>       mt76: mt7915: fix txrate reporting
>       mt76: mt7915: check mcu returned values in mt7915_ops
>       mt76: mt7615: check mcu returned values in mt7615_ops
>       mt76: mt7615: add missing capabilities for DBDC
>       mt76: mt7915: fix possible deadlock while mt7915_register_ext_phy()
> 
> Sander Vanheule (1):
>       mt76: mt7615: support loading EEPROM for MT7613BE
> 
> Sean Wang (12):
>       mt76: mt7921: fix suspend/resume sequence
>       mt76: mt7921: fix memory leak in mt7921_coredump_work
>       mt76: mt7921: switch to new api for hardware beacon filter
>       mt76: connac: fix up the setting for ht40 mode in mt76_connac_mcu_uni_add_bss
>       mt76: mt7921: fixup rx bitrate statistics
>       mt76: mt7921: add flush operation
>       mt76: connac: update sched_scan cmd usage
>       mt76: mt7921: fix the base of PCIe interrupt
>       mt76: mt7921: fix the base of the dynamic remap
>       mt76: mt7663: fix when beacon filter is being applied
>       mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
>       mt76: mt7663s: fix the possible device hang in high traffic
> 
>  drivers/net/wireless/mediatek/mt76/agg-rx.c           |  13 ++--
>  drivers/net/wireless/mediatek/mt76/dma.c              |  53 ++++++++-----
>  drivers/net/wireless/mediatek/mt76/mac80211.c         |  78 +++++++++++++++++--
>  drivers/net/wireless/mediatek/mt76/mcu.c              |   4 +
>  drivers/net/wireless/mediatek/mt76/mt76.h             |  20 ++++-
>  drivers/net/wireless/mediatek/mt76/mt7603/dma.c       |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7603/mac.c       |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7603/pci.c       |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7615/dma.c       |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c    |   1 +
>  drivers/net/wireless/mediatek/mt76/mt7615/init.c      |  16 ++--
>  drivers/net/wireless/mediatek/mt76/mt7615/mac.c       | 195 +++++++++++++++++++++++++++++------------------
>  drivers/net/wireless/mediatek/mt76/mt7615/mac.h       |   8 ++
>  drivers/net/wireless/mediatek/mt76/mt7615/main.c      | 153 +++++++++++++++++++++++++++----------
>  drivers/net/wireless/mediatek/mt76/mt7615/mcu.c       |  69 +++++++++++++++--
>  drivers/net/wireless/mediatek/mt76/mt7615/mcu.h       |  35 +++------
>  drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h    |  19 +++--
>  drivers/net/wireless/mediatek/mt76/mt7615/pci.c       |   6 +-
>  drivers/net/wireless/mediatek/mt76/mt7615/regs.h      |   9 ++-
>  drivers/net/wireless/mediatek/mt76/mt7615/sdio_txrx.c |  11 ++-
>  drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c  |   6 +-
>  drivers/net/wireless/mediatek/mt76/mt76_connac.h      |   5 ++
>  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c  |  34 ++++++++-
>  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h  |  23 ++++--
>  drivers/net/wireless/mediatek/mt76/mt76x0/pci.c       |   6 +-
>  drivers/net/wireless/mediatek/mt76/mt76x0/usb.c       |   3 +-
>  drivers/net/wireless/mediatek/mt76/mt76x02_mac.c      |   4 +-
>  drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c     |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt76x02_util.c     |   4 +
>  drivers/net/wireless/mediatek/mt76/mt76x2/pci.c       |   6 +-
>  drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c   |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7915/dma.c       |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7915/init.c      |  63 +++++++++-------
>  drivers/net/wireless/mediatek/mt76/mt7915/mac.c       | 103 +++++++++++++++++--------
>  drivers/net/wireless/mediatek/mt76/mt7915/mac.h       |  15 ++++
>  drivers/net/wireless/mediatek/mt76/mt7915/main.c      |  90 +++++++++++++++++-----
>  drivers/net/wireless/mediatek/mt76/mt7915/mcu.c       | 188 ++++++++++++++++++++++++++++++---------------
>  drivers/net/wireless/mediatek/mt76/mt7915/mcu.h       |  14 +++-
>  drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h    |  10 +--
>  drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c   |   8 +-
>  drivers/net/wireless/mediatek/mt76/mt7921/dma.c       |   2 +-
>  drivers/net/wireless/mediatek/mt76/mt7921/init.c      |   4 +-
>  drivers/net/wireless/mediatek/mt76/mt7921/mac.c       | 397 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------
>  drivers/net/wireless/mediatek/mt76/mt7921/mac.h       |  10 ++-
>  drivers/net/wireless/mediatek/mt76/mt7921/main.c      | 143 +++++++++++++++++++++--------------
>  drivers/net/wireless/mediatek/mt76/mt7921/mcu.c       |  55 ++++++++++----
>  drivers/net/wireless/mediatek/mt76/mt7921/mcu.h       |  23 ------
>  drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h    |  16 ++--
>  drivers/net/wireless/mediatek/mt76/mt7921/pci.c       |  20 ++---
>  drivers/net/wireless/mediatek/mt76/mt7921/regs.h      |  31 +++++---
>  drivers/net/wireless/mediatek/mt76/sdio.c             |   3 +
>  drivers/net/wireless/mediatek/mt76/tx.c               |  15 ++--
>  52 files changed, 1336 insertions(+), 669 deletions(-)
>
Kalle Valo April 6, 2021, 10:10 a.m. UTC | #2
Felix Fietkau <nbd@nbd.name> writes:

> Hi Kalle,
>
> here's my first pull request for 5.13.
>
> The following changes since commit 05a59d79793d482f628a31753c671f2e92178a21:
>
>   Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net (2021-03-09 17:15:56 -0800)
>
> are available in the Git repository at:
>
>   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2021-03-15
>
> for you to fetch changes up to 8ffdcfcd7f111f3b89975f26da11fb43a0a37eb6:
>
>   mt76: mt7921: remove redundant check on type (2021-03-15 00:07:18 +0100)
>
> ----------------------------------------------------------------
> mt76 patches for 5.13
>
> * code cleanup
> * mt7915/mt7615 decap offload support
> * driver fixes
> * mt7613 eeprom support
> * MCU code unification
> * threaded NAPI support
> * new device IDs
> * mt7921 device reset support
>
> ----------------------------------------------------------------

There are some issues, please fix and resend.

In commit

  baa4eda1eb50 ("mt76: mt7915: fix mib stats counter reporting to mac80211")

Fixes tag

  Fixes: c6b002bcdfa6 ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")

has these problem(s):

  - Target SHA1 does not exist

In commit

  858ec6661022 ("mt76: mt7615: fix TSF configuration")

Fixes tag

  Fixes: cd795267612d ("mt76: mt7615: support 16 interfaces")

has these problem(s):

  - Target SHA1 does not exist