mbox series

pull request: mt76 2024-07-08

Message ID f5e72ce2-11db-4f19-8aaf-8fd9b62e5a77@nbd.name (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show
Series pull request: mt76 2024-07-08 | expand

Pull-request

https://github.com/nbd168/wireless tags/mt76-for-kvalo-2024-07-08

Message

Felix Fietkau July 8, 2024, 10:34 a.m. UTC
Hi Kalle,

here's my first request for 6.11

- Felix

The following changes since commit 1b431ba4ef9a760e7643d6fbc53bf522d59650f3:

   wifi: iwlwifi: mvm: re-enable MLO (2024-07-04 13:50:10 +0200)

are available in the Git repository at:

   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2024-07-08

for you to fetch changes up to 755db1b86ff49027cae37fc57ce8fef608432c4e:

   wifi: mt76: mt792x: fix scheduler interference in drv own process (2024-07-08 12:23:23 +0200)

----------------------------------------------------------------
mt76 patches for 6.11

- mt7925 MLO support
- mt7925 fix

----------------------------------------------------------------
Deren Wu (5):
       wifi: mt76: mt792x: add struct mt792x_bss_conf
       wifi: mt76: mt792x: add struct mt792x_link_sta
       wifi: mt76: mt792x: add struct mt792x_chanctx
       wifi: mt76: mt7925: support for split bss_info_changed method
       wifi: mt76: mt7925: extend mt7925_mcu_set_tx with for per-link BSS

Michael Lo (1):
       wifi: mt76: mt792x: fix scheduler interference in drv own process

Sean Wang (79):
       wifi: mt76: mt792x: extend mt76_connac_mcu_uni_add_dev for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_add_bss_info for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_set_timing for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_ifs_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_color_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_he_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_qos_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_mld_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_bmc_tlv for per-link BSS
       wifi: mt76: mt7925: remove unused parameters in mt7925_mcu_bss_bmc_tlv
       wifi: mt76: mt7925: extend mt7925_mcu_bss_sec_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_bss_basic_tlv for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_set_bss_pm for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_[abort, set]_roc for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_uni_bss_bcnft for per-link BSS
       wifi: mt76: mt7925: extend mt7925_mcu_uni_bss_ps for per-link BSS
       wifi: mt76: mt7925: add mt7925_mcu_bss_rlm_tlv to constitue the RLM TLV
       wifi: mt76: mt7925: mt7925_mcu_set_chctx rely on mt7925_mcu_bss_rlm_tlv
       wifi: mt76: mt7925: extend mt7925_mcu_sta_update for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_state_v2_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_rate_ctrl_tlv with per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_eht_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_he_6g_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_he_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_amsdu_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_vht_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_ht_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_phy_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_get_phy_mode_ext for per-link STA
       wifi: mt76: mt7925: extend mt7925_get_phy_mode for per-link STA
       wifi: mt76: mt792x: extend mt76_connac_get_phy_mode_v2 for per-link STA
       wifi: mt76: mt762x: extend mt76_connac_mcu_sta_basic_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_sta_hdr_trans_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_add_bss_info for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_bss_mld_tlv for per-link STA
       wifi: mt76: mt7925: extend mt7925_mcu_bss_basic_tlv for per-link STA
       wifi: mt76: mt7925: add mt7925_mac_link_sta_add to create per-link STA
       wifi: mt76: mt7925: add mt7925_mac_link_sta_assoc to associate per-link STA
       wifi: mt76: mt7925: add mt7925_mac_link_sta_remove to remove per-link STA
       wifi: mt76: mt7925: add mt7925_mac_link_bss_add to create per-link BSS
       wifi: mt76: mt7925: add mt7925_mac_link_bss_remove to remove per-link BSS
       wifi: mt76: mt7925: simpify mt7925_mcu_sta_cmd logic by removing fw_offload
       wifi: mt76: mt7925: update mt76_connac_mcu_uni_add_dev for MLO
       wifi: mt76: mt7925: update mt7925_mac_link_sta_[add, assoc, remove] for MLO
       wifi: mt76: mt7925: set Tx queue parameters according to link id
       wifi: mt76: mt7925: set mt7925_mcu_sta_key_tlv according to link id
       wifi: mt76: mt7925: add mt7925_set_link_key
       wifi: mt76: mt7925: extend mt7925_mcu_uni_roc_event
       wifi: mt76: mt7925: add mt7925_change_vif_links
       wifi: mt76: mt7925: add mt7925_change_sta_links
       wifi: mt76: mt7925: add link handling in mt7925_mac_sta_add
       wifi: mt76: mt7925: add link handling in mt7925_mac_sta_remove
       wifi: mt76: mt7925: add link handling to txwi
       wifi: mt76: mt7925: add link handling in mt7925_set_key
       wifi: mt76: mt7925: add link handling to mt7925_change_chanctx
       wifi: mt76: mt7925: add link handling in the BSS_CHANGED_PS handler
       wifi: mt76: mt7925: add link handling in mt7925_mcu_set_beacon_filter
       wifi: mt76: mt7925: add link handling in mt7925_txwi_free
       wifi: mt76: mt7925: add link handling in mt7925_mac_sta_assoc
       wifi: mt76: mt7925: add link handling in mt7925_sta_set_decap_offload
       wifi: mt76: mt7925: add link handling in mt7925_vif_connect_iter
       wifi: mt76: mt7925: add link handling in the BSS_CHANGED_ARP_FILTER handler
       wifi: mt76: mt7925: add link handling in the mt7925_ipv6_addr_change
       wifi: mt76: mt7925: update rate index according to link id
       wifi: mt76: mt7925: report link information in rx status
       wifi: mt76: add def_wcid to struct mt76_wcid
       wifi: mt76: mt7925: add mt7925_[assign,unassign]_vif_chanctx
       wifi: mt76: mt7925: update mt7925_mcu_sta_mld_tlv for MLO
       wifi: mt76: mt7925: update mt7925_mcu_bss_mld_tlv for MLO
       wifi: mt76: mt7925: update mt7925_mcu_add_bss_info for MLO
       wifi: mt76: mt7925: update mt7925_mcu_sta_update for MLO
       wifi: mt76: mt7925: add mt7925_mcu_sta_eht_mld_tlv for MLO
       wifi: mt76: mt7925: update mt7925_mcu_sta_rate_ctrl_tlv for MLO
       wifi: mt76: mt7925: update mt7925_mcu_sta_phy_tlv for MLO
       wifi: mt76: mt7925: update mt7925_mcu_set_timing for MLO
       wifi: mt76: mt7925: update mt7925_mcu_bss_basic_tlv for MLO
       wifi: mt76: mt7925: update mt7925_mac_link_bss_add for MLO
       wifi: mt76: mt7925: remove the unused mt7925_mcu_set_chan_info
       wifi: mt76: mt7925: enabling MLO when the firmware supports it

  drivers/net/wireless/mediatek/mt76/mac80211.c        |    5 +
  drivers/net/wireless/mediatek/mt76/mt76.h            |    8 +
  drivers/net/wireless/mediatek/mt76/mt7615/mcu.c      |   10 +-
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c |   58 ++++----
  drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h |   30 +++-
  drivers/net/wireless/mediatek/mt76/mt7915/mcu.c      |    6 +-
  drivers/net/wireless/mediatek/mt76/mt7921/mac.c      |   66 +++++----
  drivers/net/wireless/mediatek/mt76/mt7921/main.c     |  143 +++++++++---------
  drivers/net/wireless/mediatek/mt76/mt7921/mcu.c      |   46 +++---
  drivers/net/wireless/mediatek/mt76/mt7921/pci.c      |    3 +
  drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c  |    4 +-
  drivers/net/wireless/mediatek/mt76/mt7925/init.c     |    6 +
  drivers/net/wireless/mediatek/mt76/mt7925/mac.c      |  141 +++++++++++-------
  drivers/net/wireless/mediatek/mt76/mt7925/main.c     | 1119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------
  drivers/net/wireless/mediatek/mt76/mt7925/mcu.c      |  981 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------
  drivers/net/wireless/mediatek/mt76/mt7925/mcu.h      |   65 +++++++-
  drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h   |   31 ++--
  drivers/net/wireless/mediatek/mt76/mt7925/pci.c      |    3 +
  drivers/net/wireless/mediatek/mt76/mt7925/pci_mac.c  |    4 +-
  drivers/net/wireless/mediatek/mt76/mt792x.h          |  105 ++++++++++++-
  drivers/net/wireless/mediatek/mt76/mt792x_core.c     |  111 ++++++++++----
  drivers/net/wireless/mediatek/mt76/mt792x_mac.c      |    8 +-
  drivers/net/wireless/mediatek/mt76/mt7996/mcu.c      |    7 +-
  drivers/net/wireless/mediatek/mt76/pci.c             |   23 +++
  24 files changed, 2116 insertions(+), 867 deletions(-)

Comments

Kalle Valo July 8, 2024, 3:30 p.m. UTC | #1
Felix Fietkau <nbd@nbd.name> writes:

> Hi Kalle,
>
> here's my first request for 6.11
>
> - Felix
>
> The following changes since commit 1b431ba4ef9a760e7643d6fbc53bf522d59650f3:
>
>   wifi: iwlwifi: mvm: re-enable MLO (2024-07-04 13:50:10 +0200)
>
> are available in the Git repository at:
>
>   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2024-07-08
>
> for you to fetch changes up to 755db1b86ff49027cae37fc57ce8fef608432c4e:
>
>   wifi: mt76: mt792x: fix scheduler interference in drv own process (2024-07-08 12:23:23 +0200)
>
> ----------------------------------------------------------------
> mt76 patches for 6.11
>
> - mt7925 MLO support
> - mt7925 fix
>
> ----------------------------------------------------------------

With this pull request I see (sparse?) warnings:

drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:365:19: warning: invalid assignment: +=
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:365:19:    left side has type int
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:365:19:    right side has type restricted __le16
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1759:42: warning: incorrect type in assignment (different base types)
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1759:42:    expected unsigned char [usertype] bss_idx
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1759:42:    got restricted __le16 [usertype]
drivers/net/wireless/mediatek/mt76/mt7925/pci_mac.c:63:51: warning: Using plain integer as NULL pointer
Sean Wang July 8, 2024, 7:27 p.m. UTC | #2
Hi nbd,

I have fixed the build warnings for the patchset. The entire patchset,
including the fixes, has been pushed
to this repository https://github.com/objelf/wireless/commits/mt76/

The specific changes to fix the warnings are included in the following patches:

"wifi: mt76: mt7925: extend mt7925_mcu_uni_roc_event"
"wifi: mt76: mt7925: update mt7925_mcu_sta_mld_tlv for MLO"
"wifi: mt76: mt7925: add link handling in mt7925_txwi_free"

You can cherry-pick the respective patches or pull the tree as needed.

Best regards,
Sean

On Mon, Jul 8, 2024 at 8:30 AM Kalle Valo <kvalo@kernel.org> wrote:
>
> Felix Fietkau <nbd@nbd.name> writes:
>
> > Hi Kalle,
> >
> > here's my first request for 6.11
> >
> > - Felix
> >
> > The following changes since commit 1b431ba4ef9a760e7643d6fbc53bf522d59650f3:
> >
> >   wifi: iwlwifi: mvm: re-enable MLO (2024-07-04 13:50:10 +0200)
> >
> > are available in the Git repository at:
> >
> >   https://github.com/nbd168/wireless tags/mt76-for-kvalo-2024-07-08
> >
> > for you to fetch changes up to 755db1b86ff49027cae37fc57ce8fef608432c4e:
> >
> >   wifi: mt76: mt792x: fix scheduler interference in drv own process (2024-07-08 12:23:23 +0200)
> >
> > ----------------------------------------------------------------
> > mt76 patches for 6.11
> >
> > - mt7925 MLO support
> > - mt7925 fix
> >
> > ----------------------------------------------------------------
>
> With this pull request I see (sparse?) warnings:
>
> drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:365:19: warning: invalid assignment: +=
> drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:365:19:    left side has type int
> drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:365:19:    right side has type restricted __le16
> drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1759:42: warning: incorrect type in assignment (different base types)
> drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1759:42:    expected unsigned char [usertype] bss_idx
> drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1759:42:    got restricted __le16 [usertype]
> drivers/net/wireless/mediatek/mt76/mt7925/pci_mac.c:63:51: warning: Using plain integer as NULL pointer
>
> --
> https://patchwork.kernel.org/project/linux-wireless/list/
>
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
>
Felix Fietkau July 9, 2024, 10:13 a.m. UTC | #3
On 08.07.24 21:27, Sean Wang wrote:
> Hi nbd,
> 
> I have fixed the build warnings for the patchset. The entire patchset,
> including the fixes, has been pushed
> to this repository https://github.com/objelf/wireless/commits/mt76/
> 
> The specific changes to fix the warnings are included in the following patches:
> 
> "wifi: mt76: mt7925: extend mt7925_mcu_uni_roc_event"
> "wifi: mt76: mt7925: update mt7925_mcu_sta_mld_tlv for MLO"
> "wifi: mt76: mt7925: add link handling in mt7925_txwi_free"
> 
> You can cherry-pick the respective patches or pull the tree as needed.

Thanks. Sent the update as v2.

- Felix