mbox series

pull request: mt76 2022-02-23

Message ID e7f282ef-7dce-7d65-ae15-d26fb8fb6773@nbd.name (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show
Series pull request: mt76 2022-02-23 | expand

Pull-request

https://github.com/nbd168/wireless tags/mt76-for-kvalo-2022-02-23

Message

Felix Fietkau Feb. 23, 2022, 1:53 p.m. UTC
Hi Kalle,

here's my second pull request for 5.18

- Felix

The following changes since commit a0061be4e54b52e5e4ff179c3f817107ddbb2830:

   rtw88: change rtw_info() to proper message level (2022-02-22 17:31:13 +0200)

are available in the Git repository at:

   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2022-02-23

for you to fetch changes up to f8629a7a5772747b6aaf4e672f7b9729209e34a5:

   mt76: mt7915: simplify conditional (2022-02-23 14:53:00 +0100)

----------------------------------------------------------------
mt76 patches for 5.18

- bugfixes
- mt7915 thermal management improvements
- SAR support for more mt76 drivers
- mt7986 wmac support on mt7915

----------------------------------------------------------------
Bo Jiao (3):
       mt76: mt7915: Fix channel state update error issue
       mt76: mt7915: add support for MT7986
       mt76: mt7915: introduce band_idx in mt7915_phy

Chad Monroe (1):
       mt76: connac: adjust wlan_idx size from u8 to u16

Changcheng Deng (1):
       mt76: mt7915: use min_t() to make code cleaner

Deren Wu (2):
       mt76: mt7921s: fix missing fc type/sub-type for 802.11 pkts
       mt76: mt7615: fix compiler warning on frame size

Felix Fietkau (1):
       mt76: improve signal strength reporting

Johan Almbladh (1):
       mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU

Lorenzo Bianconi (5):
       mt76: mt7615: introduce SAR support
       mt76: fix endianness errors in reverse_frag0_hdr_trans
       mt76: mt7915: fix endianness warnings in mt7915_debugfs_rx_fw_monitor
       mt76: mt7915: fix endianness warnings in mt7915_mac_tx_free()
       mt76: mt7921: fix injected MPDU transmission to not use HW A-MSDU

MeiChia Chiu (1):
       mt76: mt7915: fix the muru tlv issue

Nicolas Cavallari (3):
       mt76: mt7915e: Fix degraded performance after temporary overheat
       mt76: mt7915e: Add a hwmon attribute to get the actual throttle state.
       mt76: mt7915e: Enable thermal management by default

Peter Chiu (2):
       dt-bindings: net: wireless: mt76: document bindings for MT7986
       mt76: mt7915: initialize smps mode in mt7915_mcu_sta_rate_ctrl_tlv()

Ryder Lee (1):
       mt76: mt7915: check band idx for bcc event

Shayne Chen (1):
       mt76: mt7915: fix potential memory leak of fw monitor packets

Wan Jiabing (1):
       mt76: mt7915: simplify conditional

Yang Li (1):
       mt76: mt7615: Fix assigning negative values to unsigned variable

  Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml |   33 +++-
  drivers/net/wireless/mediatek/mt76/mac80211.c                     |   32 ++++
  drivers/net/wireless/mediatek/mt76/mt7603/mac.c                   |    5 -
  drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c               |   14 +-
  drivers/net/wireless/mediatek/mt76/mt7615/mac.c                   |   42 +++--
  drivers/net/wireless/mediatek/mt76/mt7615/main.c                  |   24 +++
  drivers/net/wireless/mediatek/mt76/mt7615/mcu.c                   |    7 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac.h                  |    5 +
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c              |    8 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h              |    2 +-
  drivers/net/wireless/mediatek/mt76/mt76x02_mac.c                  |    2 -
  drivers/net/wireless/mediatek/mt76/mt7915/Kconfig                 |   10 ++
  drivers/net/wireless/mediatek/mt76/mt7915/Makefile                |    1 +
  drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c               |   12 +-
  drivers/net/wireless/mediatek/mt76/mt7915/dma.c                   |   28 ++--
  drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c                |   85 +++++++---
  drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h                |   13 ++
  drivers/net/wireless/mediatek/mt76/mt7915/init.c                  |  101 +++++++++---
  drivers/net/wireless/mediatek/mt76/mt7915/mac.c                   |  273 ++++++++++++++++---------------
  drivers/net/wireless/mediatek/mt76/mt7915/main.c                  |   21 +--
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.c                   |  123 ++++++++------
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.h                   |    9 +
  drivers/net/wireless/mediatek/mt76/mt7915/mmio.c                  |  132 ++++++++++++++-
  drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h                |   43 +++++
  drivers/net/wireless/mediatek/mt76/mt7915/regs.h                  |  289 ++++++++++++++++++++++++++++++++-
  drivers/net/wireless/mediatek/mt76/mt7915/soc.c                   | 1209 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  drivers/net/wireless/mediatek/mt76/mt7915/testmode.c              |   43 ++---
  drivers/net/wireless/mediatek/mt76/mt7921/mac.c                   |   46 ++++--
  drivers/net/wireless/mediatek/mt76/mt7921/mac.h                   |    3 +
  drivers/net/wireless/mediatek/mt76/testmode.c                     |    5 +-
  30 files changed, 2254 insertions(+), 366 deletions(-)
  create mode 100644 drivers/net/wireless/mediatek/mt76/mt7915/soc.c

Comments

Kalle Valo Feb. 24, 2022, 9:46 a.m. UTC | #1
Felix Fietkau <nbd@nbd.name> writes:

> here's my second pull request for 5.18
>
> - Felix
>
> The following changes since commit a0061be4e54b52e5e4ff179c3f817107ddbb2830:
>
>   rtw88: change rtw_info() to proper message level (2022-02-22 17:31:13 +0200)
>
> are available in the Git repository at:
>
>   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2022-02-23
>
> for you to fetch changes up to f8629a7a5772747b6aaf4e672f7b9729209e34a5:
>
>   mt76: mt7915: simplify conditional (2022-02-23 14:53:00 +0100)
>
> ----------------------------------------------------------------
> mt76 patches for 5.18
>
> - bugfixes
> - mt7915 thermal management improvements
> - SAR support for more mt76 drivers
> - mt7986 wmac support on mt7915
>
> ----------------------------------------------------------------

Please switch to use my new email address: kvalo@kernel.org

This has new warnings with GCC 11.1:

drivers/net/wireless/mediatek/mt76/mt7915/soc.c: In function 'mt7986_wmac_gpio_setup':
drivers/net/wireless/mediatek/mt76/mt7915/soc.c:197:19: error: implicit declaration of function 'devm_pinctrl_get'; did you mean 'of_pinctrl_get'? [-Werror=implicit-function-declaration]
  197 |         pinctrl = devm_pinctrl_get(dev->mt76.dev);
      |                   ^~~~~~~~~~~~~~~~
      |                   of_pinctrl_get
drivers/net/wireless/mediatek/mt76/mt7915/soc.c:197:17: error: assignment to 'struct pinctrl *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  197 |         pinctrl = devm_pinctrl_get(dev->mt76.dev);
      |                 ^
drivers/net/wireless/mediatek/mt76/mt7915/soc.c:201:25: error: implicit declaration of function 'pinctrl_lookup_state' [-Werror=implicit-function-declaration]
  201 |                 state = pinctrl_lookup_state(pinctrl, "default");
      |                         ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/mediatek/mt76/mt7915/soc.c:201:23: error: assignment to 'struct pinctrl_state *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  201 |                 state = pinctrl_lookup_state(pinctrl, "default");
      |                       ^
drivers/net/wireless/mediatek/mt76/mt7915/soc.c:206:23: error: assignment to 'struct pinctrl_state *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
  206 |                 state = pinctrl_lookup_state(pinctrl, "dbdc");
      |                       ^
drivers/net/wireless/mediatek/mt76/mt7915/soc.c:212:15: error: implicit declaration of function 'pinctrl_select_state' [-Werror=implicit-function-declaration]
  212 |         ret = pinctrl_select_state(pinctrl, state);
      |               ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors