From patchwork Thu Dec 28 09:07:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mingyen Hsieh X-Patchwork-Id: 13505728 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4844C4706F for ; Thu, 28 Dec 2023 09:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=hGhlwRfsvh1VIk7xPS4HXHKBBmn9B6a0IjI9XgEG/b8=; b=C+zJmEXKgOECLY57m/v+fNeGIl wE8m2TI0rHCGYXhlDS0czWhAWa4TyUzO7pyRqWt6KdQgu2FwAbLDOl1QxevF7UxwijA3JU0zGJOJY +ue37UIEfrLutBa57oou+wbGNn9dqLFJ4J9Sa2g31vlFIUyPWH6lFRIhdia28lv9Y34RbySt7ZFq0 aIr8iAyG7IvRn7/lwWlZtun8YmispU7kmEfiLRHKTUbjiS8kHVi3kEkDrpVnwKifaU0AOTUYuKpPX qNkeT2+app3d0wwN2OEcwSsZjw2Q0GxBsGSj5z7qTe8+tuZKvMotrmh2pLSHJ3sQ2gO6rI/ma4YDq geJeGkqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rImNT-00GSio-2n; Thu, 28 Dec 2023 09:08:31 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rImNR-00GShR-2C for linux-mediatek@lists.infradead.org; Thu, 28 Dec 2023 09:08:30 +0000 X-UUID: a7d7ebf8a56011ee9a662f17bb45267e-20231228 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=hGhlwRfsvh1VIk7xPS4HXHKBBmn9B6a0IjI9XgEG/b8=; b=iW1/t5mqSocuug1LzA0NT41iXOjRxy8gSkLPkSfdDh9xthcXruEfqpGQnk5BA7hK20LWdlzc4sShk4gTR2WeAxQqZNiHe8bGyfy8NXMtw71h4lziFqmw1HB48umKDwesMB95q6RckWuHiUQJX4yvFo7SrXBwmsiB6TvAcwtbQro=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:f2cb5329-ff99-41ba-a8e8-51c3c4abbdca,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:5d391d7,CLOUDID:237ea98d-e2c0-40b0-a8fe-7c7e47299109,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: a7d7ebf8a56011ee9a662f17bb45267e-20231228 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1213196095; Thu, 28 Dec 2023 02:08:24 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 28 Dec 2023 17:07:51 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 28 Dec 2023 17:07:51 +0800 From: Mingyen Hsieh To: , CC: , , , , , , , , , , , , , , Ming Yen Hsieh Subject: [PATCH 00/10] wifi: mt76: mt7925: fix connection and throughput issues Date: Thu, 28 Dec 2023 17:07:39 +0800 Message-ID: <20231228090749.15191-1-mingyen.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231228_010829_723151_028D0CC5 X-CRM114-Status: UNSURE ( 7.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Ming Yen Hsieh Hi, Recently, we have some tests on the mt7925 driver and find a number of potential connection bugs and throughput issues. This patchset contains bugfixes and cleanups for these issues. Thanks, Yen. Deren Wu (1): wifi: mt76: mt7925: update PCIe DMA settings Hao Zhang (1): wifi: mt76: mt7925: fix mcu query command fail Ming Yen Hsieh (6): wifi: mt76: mt7925: fix connect to 80211b mode fail in 2Ghz band wifi: mt76: mt7925: fix wmm queue mapping wifi: mt76: mt7925: fix fw download fail wifi: mt76: mt7925: fix WoW failed in encrypted mode wifi: mt76: mt7925: fix the wrong header translation config wifi: mt76: mt7925: add support to set ifs time by mcu command Quan Zhou (1): wifi: mt76: mt7925: add flow to avoid chip bt function fail rong.yan (1): wifi: mt76: mt7925: fix SAP no beacon issue in 5Ghz and 6Ghz band .../wireless/mediatek/mt76/mt76_connac_mcu.c | 2 +- .../wireless/mediatek/mt76/mt76_connac_mcu.h | 4 + .../net/wireless/mediatek/mt76/mt7925/main.c | 26 ++- .../net/wireless/mediatek/mt76/mt7925/mcu.c | 176 +++++++++++------- .../net/wireless/mediatek/mt76/mt7925/mcu.h | 92 +++++++-- .../net/wireless/mediatek/mt76/mt7925/pci.c | 2 + .../net/wireless/mediatek/mt76/mt792x_dma.c | 13 +- .../net/wireless/mediatek/mt76/mt792x_regs.h | 8 + 8 files changed, 227 insertions(+), 96 deletions(-)