From patchwork Mon Jul 8 10:34:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 811756 Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26F551DA303 for ; Mon, 8 Jul 2024 10:34:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.4.11.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720434870; cv=none; b=upv25kO7H0gvUUd2Lp8slqWBFXPgiGzYOgDK+rO7mzJoM9bZoD56iQ9sWNCBZ+XXn67zVxwKo1pf7qXN0IPak/V0g8vCjFOxL1gLq3mSVMYUKf0ErdE+F+aahHqHjsbPnFXS87xWnb25ghGChhtAURMMBoecVakeq0o7Yri0ZRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720434870; c=relaxed/simple; bh=e967T6q82detdbM9OkkQNpZfY7+ffthmP5oiteJlMqw=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type; b=o3SHeQCLO1Mrx84s8ZrfSv8WrmZaxoOIrT0rGMn21GXe2DVpE5/6oZQ9MKzUOM6KKKLD1PKuJ3fnhlwVOdIxWwfSCDQxRioDjcyIyoqTLpJbXfND0cFx4NWgcUd767SnrZsTdbdhY7xwsl0o9dFGMM8KfLQiKdh26Za1LTy9iiQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name; spf=none smtp.mailfrom=nbd.name; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b=Gz7T5yTo; arc=none smtp.client-ip=46.4.11.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=nbd.name Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b="Gz7T5yTo" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:Cc:To:Subject:From: MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uqM3CC+8XeFg1aVma+kO8SXjCC7zpV2KQiMxtzu2YQY=; b=Gz7T5yToD7CTRkZ8nrhCm+nVH0 Ah/ROnsXL1/FmvdO819NxxcMb+KWtDFvJn6eTLBb0Yx6hi6rx49LrFQoOD0Lo4VMc5kkDxxab4Es9 o1krqwQrakT1mvX5FdI+7YCAaGauUpmGu019CbxHxmhZJHeWqVQEJz0j4peWDoKYAwSE=; Received: from p54ae937c.dip0.t-ipconnect.de ([84.174.147.124] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1sQlhM-003zec-0g; Mon, 08 Jul 2024 12:34:20 +0200 Message-ID: Date: Mon, 8 Jul 2024 12:34:19 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Felix Fietkau Subject: pull request: mt76 2024-07-08 To: Kalle Valo Cc: linux-wireless Content-Language: en-US Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbt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c1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN 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(-)