From patchwork Sat Aug 29 03:38:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 248664 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602355ilg; Fri, 28 Aug 2020 20:38:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxH7MzG24oz/Hu9nTELs1WmFg6Vy7IlbxqCeKE/4wB3067eMZX7VCQ5xGSXWbAcBSFTFTmd X-Received: by 2002:a6b:bb43:: with SMTP id l64mr1417458iof.191.1598672292623; Fri, 28 Aug 2020 20:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672292; cv=none; d=google.com; s=arc-20160816; b=gDrbUWmL0KMDeFOlUB7EhXWYHj/R1bt/+XBplTEveZfr2vIfckqlT5rQGXHJfiKwr3 UjAAKrVvGAzSY4uF2KCXPd5lspso9mFVNeeAshhflaVUcnPguGXHrTiu252YQ9o6ntF1 d19yDST36OdDtujmYYbjmYSg99++2CoB0C0WP6kbHoDFmXLVfncyaD5qsffFTXLMHjay dls4VaHVYxIKLsmFUFuGgZv1/0y6xbLsvjMxDOk7SsPGn/4pkrCU3/HhK8u1ka3RAz94 Z4mhQgcPGW20Z9CWO/UL+qRaxnNFxIhqqoAVibnvik8qOKkXkR/gOW/AqDr+yVPBRA6w CyGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=KJfaeetV/K4eTYqIh0IOfv/92WqqR+05vUZkG12Rs1g=; b=vd1A3S3OIodyCczDlvIlNFb1zzUHt1VbGaIKUcU+VUGEzAGlz4qWhsMrsLXf3uFBX2 nWDLHHbD772XNcFGqJ06iBJewpTVHWLjxEitY8gf96sbp1Cx24jHsKO5vCU0n4lvC3q0 ERxHBfrcoMkNU7web9riSxb0vo3VcKKgVbxpb2lcEVWh7YhdCBjgsKKhyNj3Fv3a0R80 fcSafva4ON978UFLX/qkzDxV9F3wwP+vIVQ93iBAQ7rPNrfej+UosskR3o3uzCEl7R/1 wwtXIohvZIMgSQD1CWK+VtyRt/k6dHLPH0VyQAJIXYbyLo1AcIxE/wTKPiymevr3tbE2 e9Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=JvKPYVaC; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=me3BugrB; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id g2si1117719ilc.2.2020.08.28.20.38.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=JvKPYVaC; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=me3BugrB; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KJfaeetV/K4eTYqIh0IOfv/92WqqR+05vUZkG12Rs1g=; b=JvKPYVaCwfY1c3Be9v2hZOUAD q0Wd7lrrWnDbYGMZnQZxnQ/rjocl5A2GcZl4hKLgUKLA1+9xO402kM5fcBZUUe8cXdq1Kas40qipm 4ZnULEqdGhGSaB7CdcqbBd2RIpmu32ZAKANaHb2OJDeEBqeRdhyCYQ5AuswHXvBZLya6EPYeGr806 Y6nmQH65PFrk/IoiVRe+XSrH9wHegytt145y4YaSsLPd7YGJHIfhVqfhscJidBt1k8WEJmhsqIT2D boGclHXNgQMz7g54Itjw2ii0WLI8zXGyP7NcZKdqTYzF2WyV70b3ta++xL8V/bw5LMmfm3XWsompP IZ9EgbZ2w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrgv-00026g-7C; Sat, 29 Aug 2020 03:38:09 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrgs-00025B-WB for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:38:07 +0000 Received: by mail-wm1-x342.google.com with SMTP id u18so876170wmc.3 for ; Fri, 28 Aug 2020 20:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fNiRhwwJnyA0HvHB3u89nvaZihjCiD7YGV/okY3OW5A=; b=me3BugrBOWQV+U6/VJGef1fddYUJf7bH3pdjQjOn/eOkhKniFHu7/9wc+zXVr4VN6G zyXO5OVMKbO7Fzuy0RjSKmXYu+RCCZ07S1ophjow7zYMVz8iHJ8LtKk5m11/tm2Zsdus nOX2ESe90GjPdhL4wFDRgDxg8/+k5JIJzRRdLiy9g+saIyeuMOLdyIATP+2noLvlWCtT lX1+mdOofQH900EC/JI3TPWVzs56niK+Kn16yFD4VpeR010xlvI65RXlSi+jzljsMlsh ImfzWUKYJ0D7qwP0MqmNzDqCFU+dPh72KVK5c5NnCD0NT1Rq6DqTv0WLCeJ0SzNFRlDF Vz6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fNiRhwwJnyA0HvHB3u89nvaZihjCiD7YGV/okY3OW5A=; b=ZQQwqgBXtMh5+MlubZ8MVTIRnImN/9eKZlt0QF0CQVwNPim8A8rQhlhli0RpjCsLAR CsXFTwxp7RdckhCa0YQtA8WGVCV2nrq2Vc5qBwkKNz7JXX+ZAv2PNDLpnwZPLd2hHqH2 ELdAG1bWQB2eNobF/RW9YaJS7RS+p2EO+x4MsRK1lGK8M48ok/PKq2h8050uOvwqiGdU v8P06AxM0tIp385APQuamVVhH6hVAB4DRekko34TXT0LnIHZOg0IikyhviqQDZWsVgrK x4l8R2iIB2LMJcMQugNdGWJRDVd63MluaJDOxVUXHwaRAp6Yl64qKteexw5PQa/4pGIM orjg== X-Gm-Message-State: AOAM532hy916Vf8lm8bka2HntTf2+ziq8SRm4ICHooo3zjOlsyDaloap OVpIw2mDFCJp9dZ3mkE9lNbVyQ== X-Received: by 2002:a1c:105:: with SMTP id 5mr1570159wmb.83.1598672284491; Fri, 28 Aug 2020 20:38:04 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id v29sm1827545wrv.51.2020.08.28.20.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:04 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 01/10] wcn36xx: Add a chip identifier for WCN3680 Date: Sat, 29 Aug 2020 04:38:37 +0100 Message-Id: <20200829033846.2167619-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200829033846.2167619-1-bryan.odonoghue@linaro.org> References: <20200829033846.2167619-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200828_233807_063195_B0FAF256 X-CRM114-Status: GOOD ( 12.38 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: wcn36xx@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Sender: "wcn36xx" Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org The WCN3680 has some specific behaviours that we want to capture to distinguish it from the WCN3620 and WCN3660 respectively. Add an identifier for this purpose. Signed-off-by: Bryan O'Donoghue --- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx diff --git a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h index 719a6daf9298..342ca0ae7e28 100644 --- a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h +++ b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h @@ -92,6 +92,7 @@ enum wcn36xx_ampdu_state { #define RF_UNKNOWN 0x0000 #define RF_IRIS_WCN3620 0x3620 +#define RF_IRIS_WCN3680 0x3680 static inline void buff_to_be(u32 *buf, size_t len) {