Message ID | 20200909153736.2905114-4-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp524929ilg; Wed, 9 Sep 2020 08:36:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpJq0rBAjIfgZkcIvzGjAmJoubgA4cDFwy5rbAfkvFLsoddPNVJA7tQiThckvH24uj83PO X-Received: by 2002:a92:217:: with SMTP id 23mr4373251ilc.118.1599665818886; Wed, 09 Sep 2020 08:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599665818; cv=none; d=google.com; s=arc-20160816; b=sgZcIZT/M23dXlxPBresIIC+cRbyXotvJ5OmCjVxFbM4gdXh/UgO7L7IKup5Yil50X ZAQHH8fs1nLUFwo5iMoBNoSbSUz/nlVQV+6HqvTMQ0+bWp/dvESGTMhtb/XfdjYhHAld +cjPKwIywHNL/eE4fUySmB9rhBNJFcGWhuHl72JexptJH7T9m8sW1zLx9pu61TYxmikU s/05nJ5h0lucwMOP9tCikVH5BOXZncOlNdNzxCQofM7OMwdQiAr2j7P5Lp9co7upbl98 08dg/0dRdIRgD0GVwO9e8AlBQaZ4fbfWnxqotTWHJmLc/802ShJNlP/HYMa2tKAv0x2+ d/rg== 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=OGUcK4vvt0+veuw+SRWIwqt5mpeR5wM/OfqsXUl69io=; b=EC/MdPvijZkM5AL2Kh7pPFyR5gTIrfTgZOQQ3p1qIRadlUEVY6LKXUBFpz8vAQfr5Z BHVPfBGJzEySrEmtCviI73ggKEiaI7qEzeJNrUu74i5p0CBXUIHMLbz/FzbHbthrrZzJ ayYm2xCBlgzHLnVbLNRZeZfhhdUTyYGU210ur+e5hK45EKQwelclIYqa3MU7Vefyd20r YfraRDyKH8+4hxQUMgs4LgQfoAlkX/KgtxXMKE8XzJQG86ZNJ0MVab8A5UBKu1QgB5zX kEwfrYdMLYMt6DSnML8Wi5U8WzPUVpcmAL0U9Y3bsPBiaykZiAQIzeh/kZxoNO40eBT4 yszA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b="C/NmWEZ5"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AoomR6vF; 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 y12si1868009jao.41.2020.09.09.08.36.58 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:36:58 -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="C/NmWEZ5"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AoomR6vF; 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=OGUcK4vvt0+veuw+SRWIwqt5mpeR5wM/OfqsXUl69io=; b=C/NmWEZ5uvEbG81GMKnU1pb1S qn+GnEteSKRRPTGJnKwHLstSQbef3K3z3iC73hm1XfgsbPbNzB56qCcjJffss8CFT7FHtjQfLAqh+ 8/6lJf32b+iOfHJQWQ2e+5y2sXPUlyS3iBMain/EyyVuXl+oOwr0qWCnOFGGmAbS/nuMIx7mfM5Z9 /yXOenZPbp5nnMZMCUN2XG1chvsOa0nJtrJWwqzshtvomC6FHFYQN7gjWS5exZDcrog4FULRKsFgV GJ60DgqbYBRrwbcPT/qwOnbvTySL/sYFA0f/O+ZmGVnLT1EUtOj0Bw5TOTATvLWY28ZoZgLgTefmc FlK+XhFhA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG29X-0006mH-Pj; Wed, 09 Sep 2020 15:36:55 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG29U-0006kZ-3f for wcn36xx@lists.infradead.org; Wed, 09 Sep 2020 15:36:53 +0000 Received: by mail-wr1-x444.google.com with SMTP id w5so3441790wrp.8 for <wcn36xx@lists.infradead.org>; Wed, 09 Sep 2020 08:36:51 -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=2HTnn0cKnVp0OVhPjKOxy9H7Cqlzp1+vwQDeRnijNCk=; b=AoomR6vFTgtmQMXBS5//PJ24M/3ZKmKyQPEjcQiFNBtDbR2FCjrTLmHELuiAzxBNvg wOjBFmMT0VYpRSNrY38zWzDCL6bCAtw10+11hmxCf6uihKbzbli7dGnT7J3jK45y4qp4 A1Ph9QbYl3ylfpA9qcgWVBfig2lbJ4j3egKlWeDVlqdQrhjNqSOQKAD9AGrNMZlKnDTW +9YoDga5fId2bet7VwXVpezKEcMawr5z+5ZiqCcbyuXzX9iUJfmmB1WNWWftvzR7q/fY +yWX1BgSCAUg3bEfeVbuVF0g+0hD4TUIOAypIqLns/TTghkfKaWhYBh8rLS3Breo1n20 gxyg== 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=2HTnn0cKnVp0OVhPjKOxy9H7Cqlzp1+vwQDeRnijNCk=; b=lDhXlneI6KEFqCY5wCgPZQGo4KBTI+wB/jKyOKL+3IUZ6m/pXQplJ+rvNKJ32eA9hw BPjAhCgaEn2feuyHwEMP7DyYzpOWe2GBEaWNLs18IcP/qVa3xfTlnE9wj6iIBz7kQSyP zz3eCETf1XXwMRQr/Ktw5wwgCAka8bXTjSRre4g62YVud/9W1nSZq0xOEJpj8HY7j+Np tnD+/rVwymuFUrCytBKvIeuwrRQKHIfPe++6LYf9sJfxxXB0xZsHPzNuxytU610/RZ4q T4fnG01Ua3nulLU2RDErpXRzMevljwHu5a6gNy92vivJQeAnRn+ZhkHKc06tNoWB7tQr XR9w== X-Gm-Message-State: AOAM531LHFSO+skiRwtDwIZL1XR0TSvKjpjtbfGZbGDKALZa1d1fqjFx fxaATaEolX2stoEqTuUkCZFivQ== X-Received: by 2002:a05:6000:1083:: with SMTP id y3mr4366638wrw.405.1599665811176; Wed, 09 Sep 2020 08:36:51 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 128sm4470602wmz.43.2020.09.09.08.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:36:50 -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 v4 3/4] wcn36xx: Add VHT rates to wcn36xx_update_allowed_rates() Date: Wed, 9 Sep 2020 16:37:35 +0100 Message-Id: <20200909153736.2905114-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200909153736.2905114-1-bryan.odonoghue@linaro.org> References: <20200909153736.2905114-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-20200909_113652_209277_3C486395 X-CRM114-Status: GOOD ( 11.99 ) 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:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 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 -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 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: Enable VHT when supported
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 36cfa7043bc3..720d3fa8ddcb 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -766,6 +766,14 @@ static void wcn36xx_update_allowed_rates(struct ieee80211_sta *sta, sta->ht_cap.mcs.rx_mask, sizeof(sta->ht_cap.mcs.rx_mask)); } + + if (sta->vht_cap.vht_supported) { + sta_priv->supported_rates.op_rate_mode = STA_11ac; + sta_priv->supported_rates.vht_rx_mcs_map = + sta->vht_cap.vht_mcs.rx_mcs_map; + sta_priv->supported_rates.vht_tx_mcs_map = + sta->vht_cap.vht_mcs.tx_mcs_map; + } } void wcn36xx_set_default_rates(struct wcn36xx_hal_supported_rates *rates) {
This commit adds VHT rates to the wcn36xx_update_allowed_rates() routine. Thus allowing the driver to latch the declared rates and transmit them to the firmware in the same way as other 80211.n rates are. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.27.0 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx