Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2365157rwd; Fri, 2 Jun 2023 08:26:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DDDj1tGl9zaOhWKqBqBhiP6zxLrtNZ71EvsjuQsN0vMfPuOhmS0LbUfB2Ttu5A3cud79b X-Received: by 2002:a05:6a20:1602:b0:100:efa1:eab0 with SMTP id l2-20020a056a20160200b00100efa1eab0mr11540348pzj.2.1685719589042; Fri, 02 Jun 2023 08:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719589; cv=none; d=google.com; s=arc-20160816; b=dGbGrL8GDp52BbdHVc76H5x0cMjItkq9YNWI7bDEz1ntx0oUCkG8CFf/uuPZ/CpYhJ aiViliQSpjVXfIBNWBao1iVNo6WSDCfGYHcqAoOXM10hd0ma2vEgkA5M0m1mr4mvGATP hTVWhnQrj47zTKfJ19DSQUp3GnTOZH8w+FdqA0lQd9WzVMXQXX/xTcVLB5EHOuciy9ou jhNCKJQERgb4TzJPZqfI0vlGHMIuS8Vu0vHn1P40fBZ3hGMCpOvo1ECdiZ9JoXxrmwzk I4IBUJKpmDNQ3s02TBTPun7KWlnsl4mi1PAVNCQ/N7ij9KvAFN6I7xNIY7zue4XmmLl3 EhsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+U156ija7meuifSpXzffXQuBUx6EClu4D+6wGKui69Q=; b=VKCif4QxELYWy8SGoC95mh49mUcYRlc5GOCYvdmfxI2p0dfzHkaDxb6lMCOery1pAE sGnpA0lgH3iD6WWR9EzeO745itN7FcwxZLPfJjbjSSvA1jDM2Fb5otMMJdPMRUuBexSG rp0ajdzpRpAMFK5eMTq71LE96RTR9BYiDQl7bf1JbJwXl2jqZANuXLB5xoiewiy/Pmtw JvTpmEaWY4ISBZMnG/uHLBQQSNLoTPqX2+WqvGoPsJb20aXjW3aF+lKBwbxS6iOFuzR2 RNosRgLKczUV7V2pDyFdHPyg3N3c6d/IZ6EHe+jx48KteCB8ka8t0Zl3GWoEljQvq7a1 q5hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uTqasGqo; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020a170902f1d300b001aadd02b88fsi1061077plc.233.2023.06.02.08.26.21; Fri, 02 Jun 2023 08:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uTqasGqo; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236578AbjFBPWD (ORCPT + 64 others); Fri, 2 Jun 2023 11:22:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235457AbjFBPWA (ORCPT ); Fri, 2 Jun 2023 11:22:00 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FCA41BF for ; Fri, 2 Jun 2023 08:21:58 -0700 (PDT) X-UUID: 3351ccbe015911eeb20a276fd37b9834-20230602 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=+U156ija7meuifSpXzffXQuBUx6EClu4D+6wGKui69Q=; b=uTqasGqouDDrZU2gty++00iJGijFXdLNwJkk18FWnK86HWKENgYZgY0CvGGVKMc6NRdJtBJc+iJsQKIj1zZ3/+OUOzwJpCssmOIQdyutws65MZ8lh4CaRd0hF6FNIYsbGx95fJzG64kGiaYiSbp0hgO7+VasFrYWbXSpWY19dV0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:0a24cb30-879f-4cb0-8169-08f49f150376,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:d5b0ae3,CLOUDID:0bf3da6d-2f20-4998-991c-3b78627e4938,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 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 3351ccbe015911eeb20a276fd37b9834-20230602 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 219886129; Fri, 02 Jun 2023 23:21:51 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 2 Jun 2023 23:21:50 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 2 Jun 2023 23:21:50 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Peter Chiu , Shayne Chen Subject: [PATCH 02/12] wifi: mt76: connac: add a setting bit for dsp firmware Date: Fri, 2 Jun 2023 23:20:58 +0800 Message-ID: <20230602152108.26860-2-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230602152108.26860-1-shayne.chen@mediatek.com> References: <20230602152108.26860-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Peter Chiu Add FW_START_WORKING_PDA_DSP for the indication of starting DSP firmware download. Signed-off-by: Peter Chiu Signed-off-by: Shayne Chen --- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h index ca1ce97a6d2f..4a21c237ea6e 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h @@ -22,6 +22,7 @@ #define FW_START_OVERRIDE BIT(0) #define FW_START_WORKING_PDA_CR4 BIT(2) +#define FW_START_WORKING_PDA_DSP BIT(3) #define PATCH_SEC_NOT_SUPPORT GENMASK(31, 0) #define PATCH_SEC_TYPE_MASK GENMASK(15, 0) -- 2.39.2