Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4298151rdb; Thu, 28 Dec 2023 18:00:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQNVGPZ3lMwGEJ6gsxPamV6UjGRwYbeS/na1Q/xu+xdQCQ7J7ZCY074OZwbtpXWtdLjiI1 X-Received: by 2002:a17:906:8418:b0:a26:93a2:819c with SMTP id n24-20020a170906841800b00a2693a2819cmr2643071ejx.223.1703815251727; Thu, 28 Dec 2023 18:00:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703815251; cv=none; d=google.com; s=arc-20160816; b=uYl5qMXyd5ncvjh0PKMr88rRPThwKcsHN/wfVofvXPoUzKcJ0vBB+OyZtusJcPKgeg 336/E9+CbiZEr1lAFVz9r3DEPGUG4iKcHHWkftNugE81y4U+f1SRYGjHc7j7NGvT7eJy fZ4GZIzQChZf8Q5UvH/M50fy4AyaKlMjroD4dio66NgAMKY8ceUj8Ty85TQpTEr9BoW8 gHg7kE6nNSm15nrBXY6NnerM0gn0su1ELwBKOkMjJtQ1f6itzPG9xx4I2O4wY5p9OAi3 X6PDaHXSYk4olxpgQEQpmj1/DYJSgwG7wGsGMWa5TmwAo2ikm9zMLrgCX06PN6CRnaEb UoMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=b4LLyhkjg4cwRh1xP5HIgpBm/KrPFXrynWR8/DKhh80=; fh=xmX3nUiCDRywM7GN/jnkxEI0WXifvWaaBmhMyTMYa4c=; b=d1a+MFwPxbJyKhvuomNQJK7Tspx5yv1XT/BuWszY7kL3Sj3Kt8cS8w+Uqqf1VxOf7Q zulHyimLEFXoeuy2G6ooYnMDuDBSS7hkQbT78Lrv2/T5BowyThnWHY5xbbnv1pSyPfrd Jeq477Dau4QcJQMR4KS2m94OwcnvzWo2STYJNK9/X22fun1k3YfwkEJ6Wgzvx+J0D/rd wwhujGIAFyL1NwRLdFu6L0kN8ZA4QApKJd3Cx0Ju5okNW++ukrzDxfoL47J8pKHZxgke UUYyA15+IDt3K+OXIhgktHu+iaIDwY5T6u1IzSejMmJc4XJTZMx9msmJPibeLQZpJp5j Yj+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mFXCwC8A; spf=pass (google.com: domain of linux-wireless+bounces-1313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r18-20020a170906281200b00a2471c2c393si7184979ejc.624.2023.12.28.18.00.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 18:00:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mFXCwC8A; spf=pass (google.com: domain of linux-wireless+bounces-1313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 749111F247E8 for ; Fri, 29 Dec 2023 02:00:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64E8120FE; Fri, 29 Dec 2023 02:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="mFXCwC8A" X-Original-To: linux-wireless@vger.kernel.org Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 26BE51388 for ; Fri, 29 Dec 2023 02:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 0399f7faa5ee11eea2298b7352fd921d-20231229 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=b4LLyhkjg4cwRh1xP5HIgpBm/KrPFXrynWR8/DKhh80=; b=mFXCwC8A62qNJ/kdn23/MBpGSCCQKsgqHwlyjRHFK03SqZEdcYuHDWtwAmOeWV+cBzLdzZJJGbPrydjvZuzL0ZBUvRFvnL8EWl+5zAzmrwG4XtGmgqtFIkfmibULoWmouHBm4Q07XgpjacGbQ1VjqamrGq5Lpy1ERmXdx0oapVQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:b0a3f5f6-e3db-4100-b661-9128492bdcc4,IP:0,U RL:-32768,TC:0,Content:-32768,EDM:-32768,RT:0,SF:-32768,FILE:0,BULK:-32768 ,RULE:Release_Ham,ACTION:release,TS:0 X-CID-META: VersionHash:5d391d7,CLOUDID:5c36c87e-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:nil,TC:nil,Content:nil,EDM:nil,IP:ni l,URL:nil,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SP R: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: 0399f7faa5ee11eea2298b7352fd921d-20231229 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1261922760; Fri, 29 Dec 2023 10:00:17 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by MTKMBS14N2.mediatek.inc (172.21.101.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 29 Dec 2023 10:00:16 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 29 Dec 2023 10:00:16 +0800 From: Mingyen Hsieh To: , CC: , , , , , , , , , , , , , , Ming Yen Hsieh Subject: [PATCH v1 05/10] wifi: mt76: mt7925: fix fw download fail Date: Fri, 29 Dec 2023 10:00:04 +0800 Message-ID: <20231229020009.12385-6-mingyen.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231229020009.12385-1-mingyen.hsieh@mediatek.com> References: <20231229020009.12385-1-mingyen.hsieh@mediatek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--3.237600-8.000000 X-TMASE-MatchedRID: msSAjH87J3nhjSyOIeZ2uVz+axQLnAVBsf4f4CxxueT7efdnqtsaE1O4 BD7nLMxn4ZH8wasvhJfKYyuHWz8bPB8TzIzimOwPC24oEZ6SpSk6XEE7Yhw4FiuaGFaguMn6uMs nFAxapqcvrTrvzgHypA3JqkS3h/pRbuv34InRh90QjsfkYV3ObPKEFCAtca6xd3bkS1TOFvwPU7 +Q79ke7sGQYFMiVRG5ehcPPz6UzEWlb5ogMngNpHOTEn5IiRSOady5RJQR05c= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.237600-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: A61F8211F5D352E2CB3F242D5385EA33E3C05316E40900573015E6D75A7CBEFE2000:8 From: Ming Yen Hsieh Add an address of fw region for fw download. Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Ming Yen Hsieh --- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c index 96494ba2fdf7..d7ef3c574d41 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c @@ -66,7 +66,7 @@ int mt76_connac_mcu_init_download(struct mt76_dev *dev, u32 addr, u32 len, if ((!is_connac_v1(dev) && addr == MCU_PATCH_ADDRESS) || (is_mt7921(dev) && addr == 0x900000) || - (is_mt7925(dev) && addr == 0x900000) || + (is_mt7925(dev) && (addr == 0x900000 || addr == 0xe0002800)) || (is_mt7996(dev) && addr == 0x900000) || (is_mt7992(dev) && addr == 0x900000)) cmd = MCU_CMD(PATCH_START_REQ); -- 2.18.0