Message ID | 20200829033846.2167619-7-bryan.odonoghue@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602400ilg; Fri, 28 Aug 2020 20:38:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe+JjBcBrsRla/FfDP8DyZTJlQQQCl6mn/t3EHHpAxTQc89xsUlM4j5nOipG6ZZ/tXBh4w X-Received: by 2002:a92:c502:: with SMTP id r2mr1588954ilg.223.1598672297244; Fri, 28 Aug 2020 20:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672297; cv=none; d=google.com; s=arc-20160816; b=kz/FDt8N2PtTwdeuP0fW1Tm5e25qaZbmABFzgVQDY63xjMEE5v9tIN8WeynFf+QTVy JrxH1xlpTYtySAzMj1jXSY6ZOmwBuFA/bI71dVWsZwAy8rvaUoVInfcQPTV2gf1I2xh4 HIZcyLKlGeBcw3PVp2zJ8fM6DbwmXyGV2hHxQv86WhlJOvdyO2Ke7JkH2KBw7NIvzUOG WRPFvLB7OBTMfSLsffq3YinlkcQfFhUO83Kz+TTXNjKfqISI5W1k2BX0kBZMo7AwWfTC jFRfBXajjMfxr1tlpLutDM8+FisXhGu41ZnLORhboKqNlg4TYJgjF+BLrVWqxwD7MB3K CcSg== 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=jlHjaTKGw3XPwLRXFkchpVknFmMKJiegSteokpUvfUY=; b=grA2CkV+Att5CoRoaI0l7v/Z/5keKFhyWy40C16nXXE4Grlk9MCE6HMvaNMbs05OTA SDGXGoiP76cp82at3suIy5JoWcxWX6K6GQT5MK3O5STBEiBO+PcQG0Sc+Q1fNGhnIAAb lbsHuDK+WBn5VzlyotsEOA+Y7RjwfYxUvLgRmb6C6xHOBgCc13OLY2kt3DF/biTE7S8I 1pfbejLhxU9Js7V5lVuQCrWvLzkYYiHJikySCI43wv0/Egb4h6eY9B1eJByflWsqbAzu 0bqlbJxxEKnLdbHsUz6Key1h0VN9nZtGX/Ydk6Yq38AciImLuAhAuhKrVVcLNzgOzM/O 9E/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Df82vhSR; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IMCX8icD; 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: <wcn36xx-bounces+patch=linaro.org@lists.infradead.org> Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id s9si2067448ioe.75.2020.08.28.20.38.17 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:17 -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=Df82vhSR; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IMCX8icD; 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=jlHjaTKGw3XPwLRXFkchpVknFmMKJiegSteokpUvfUY=; b=Df82vhSRd0z3Jv5RZadnz8Hwv viMQnG+BbEcFPZzP9DbkzD6VO3RAX5ThO1Nvn7h37LV81m/24WCPIpjU7kWm2aAnB9MB2PPw7D0Lc BfxviJBTw8VmLWU6syWF3mYeE4p3kpneEvBx+sgklkjBHdFH8dOCji9BHX8XB7IVwEIH6mMfyq6Io bmgMLimjRA0ZUgQlPTeeQm4SWwew8Rj/B9wp22c9ghGHXv0xuwSdhY0N96Jwpu4FAMP+QZKMQflra lGrMVJFuecnNL6SlITpkXzsfMAUolERfhsmiymzCtN1MltntFxBDxo7krQ/aeGUIRAfH/1mRnHOul rreKwl9nw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrgz-0002A0-Tj; Sat, 29 Aug 2020 03:38:13 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrgw-000275-Ih for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:38:11 +0000 Received: by mail-wm1-x344.google.com with SMTP id s13so870490wmh.4 for <wcn36xx@lists.infradead.org>; Fri, 28 Aug 2020 20:38:10 -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=3ombPAKmNa4Z6zut9RJcKKY/F0yxtyCaqxLuyUzdePk=; b=IMCX8icDForxzG9FE+bBTFQyGhkCMFVE0MKRM+c5KrhIacr5VdhHjw8tWi6LwK6qdB rzaRms0G/00jSp4Sbx0ZrGMa2lEfxUQJVQ+SJ/G0t2wwGePXX4QfhQcU+3Nrcp8seegt r+YEsTwJXHGWCtEy244gzhoBGDPvcQOPtnMSC3dIDLnb3mUdwwiNAysSiT0XyyGiHcYx MSsp9loY2yFCfZO71WSazI7pvwLHQEFzgv21ZFROQyyEwFY4OHjFVg+7OMMFeHEIvg8p boo0p2o7Srsh71HEE6V7O83aPfvyuhgfRf6HgUMBHs5AJO/8eZ5fvF/ZoUqcUYYZCjJW Gxww== 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=3ombPAKmNa4Z6zut9RJcKKY/F0yxtyCaqxLuyUzdePk=; b=iUZXEghsRZHAAqqjOf/kHhq5aT9oGlcxVt1i9MjQ/KMCg8TqX/b1xvWpHAenwF77qg tcPwvXzmvdhBrMhYSrSUqn4DIKHzSZxHOy1Yry7HOXASV0GNRu0VoIHHcg4PBDvWa8bp XsZGpoqqPjeVmjKHK+orv7wGY+x9nFsgi2+4L4WTvCOOKiIF9yCq3h0GAuekdFkmF7+g Jp+vVmVxMqHhCSfEWOqSNnlIQChV3YixVfJILXYQ5d8s8FMh9WtNQOSanf0108a87JpL 0hqI9tEinYY1DZVAL4PSw+enx1rfNzZ4AbfWyz7dx3htSNoxaRr2IKx2cUHLf9fAjI/j gYGg== X-Gm-Message-State: AOAM532VkI3Xi+bSGDmh0BuGN1Uvzj2raCoBugmu+O5CoYWyzF+zZweC wYfEtx++Nf1vIRh8GJ1Mbb8onQ== X-Received: by 2002:a7b:c116:: with SMTP id w22mr1509152wmi.149.1598672289482; Fri, 28 Aug 2020 20:38:09 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id v29sm1827545wrv.51.2020.08.28.20.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:09 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 06/10] wcn36xx: Specify ieee80211_rx_status.nss Date: Sat, 29 Aug 2020 04:38:42 +0100 Message-Id: <20200829033846.2167619-7-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_233810_714738_5EA79A2D X-CRM114-Status: GOOD ( 12.10 ) 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:344 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: <wcn36xx.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/wcn36xx>, <mailto:wcn36xx-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/wcn36xx/> List-Post: <mailto:wcn36xx@lists.infradead.org> List-Help: <mailto:wcn36xx-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/wcn36xx>, <mailto:wcn36xx-request@lists.infradead.org?subject=subscribe> Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "wcn36xx" <wcn36xx-bounces@lists.infradead.org> Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org |
Series |
wcn36xx: Add basic support for wcn3680 up to MCS7/40MHz
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/txrx.c b/drivers/net/wireless/ath/wcn36xx/txrx.c index 05a84f82584c..903b47b55728 100644 --- a/drivers/net/wireless/ath/wcn36xx/txrx.c +++ b/drivers/net/wireless/ath/wcn36xx/txrx.c @@ -272,6 +272,7 @@ int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb) status.bw = rate->bw; status.rate_idx = rate->mcs_or_legacy_index; sband = wcn->hw->wiphy->bands[status.band]; + status.nss = 1; if (status.band == NL80211_BAND_5GHZ && status.encoding == RX_ENC_LEGACY &&
Specify the number of spatial streams in ieee80211_rx_status. For non VHT data-rates the wireless core doesn't care about this field, however for VHT data-rates it does. Every version of wcn36xx has one spatial stream, so specify nss for wcn3620, wcn3660 and wcn3680 now. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/txrx.c | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx