From patchwork Sat Aug 29 03:38:46 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: 248671 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602437ilg; Fri, 28 Aug 2020 20:38:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8G027DnFSRT/egI1z90k7xVExuPcvyXPXTS9ar3eyu1abDaPDriDRixzEboMyi57A5yIt X-Received: by 2002:a92:130c:: with SMTP id 12mr1553897ilt.263.1598672300427; Fri, 28 Aug 2020 20:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672300; cv=none; d=google.com; s=arc-20160816; b=MWmypFmcW49lQh7sj8Rd05xYlIeTcXRoRJU+DqOR3B0lmgBhAa0pnLsvagu7RYwtrD xGD5klpFjT94F0U+nT0LbZSd5hW72eqZEUWvTazNXa9v6IPx043rkdpuAz3qqWP5ww3q HbuJEozWZzoqKSyJYSJc1VCDXcHzSEdeaIRNmncpxRvEvi76rCAQh3iTZkUjxV3FLkpR nDOHJJ3aGQvE4b4AGKOL8VB4Aem4QqrpDmWSZbYOJ8gyAHmLOK9mFmcY3DJZFTiyKrDt ym/PqBPZ5pk8Td+B1/okHbmZ1ZeH3qMIaXz9zS/zxjWBOf76LFtmsaQKZll9RfBS4gLX KVGw== 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=Ekhi0Q7Tq4mBzqRGJLH0YFI57sOyNcGXBGqoVOyCAog=; b=QulXXjbSEBtBO535lgwUFTKD6XzVa++dKczuraRgib+S52xKga6UZXm6PUsaodNs+z 545qtwuphVOFEPtju/R1RAxgApEVLho7VBj7OYOkfOnu76dJaBxmZuqrCn5Z4sbWjsVb Qz5USm5BKq0904MguRGYULxIppakl8RZr0Swrh48IqaL6GKTtP3rN1XOKEps4wHKGQu/ AT2VIQn5GcTjzFrZ8gzpc+Bvm0zBG0boift+eVEuM+TNXY0dQTR9wgglHegqGgJ7Mhh7 0rHbKJCtLnYbL7edUwcVef8+1YCIETVdX+8C/0/sXVea3PkpYffLavjtz+7yqNAVGiov 7zKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=R5GbZyCi; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MWweZxH5; 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 v20si959870jat.24.2020.08.28.20.38.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:20 -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=R5GbZyCi; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MWweZxH5; 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=Ekhi0Q7Tq4mBzqRGJLH0YFI57sOyNcGXBGqoVOyCAog=; b=R5GbZyCidwfS3bDzPOYdkBbkN L9u+Y1/YqosxC4Mo+8sxIJUmkidQmuoc6fBVpmsU1OFrILNK+kBgxZNFjTOb80F9kDDNm8ygJkfu+ R58W7k3EuBlCiL+bef3SZPC5sLnsMNcXij7LKR1ncIeM4xaQirAy191wKww9c/+0yfo2eYY1FdvFi /R1+tIBszFw5qouyC2hukRaBgOdj+u50L9fGoDj/twKVctezg35fc+VQT1vUw/V3Tl2q4gbfkDdQQ 1IIazRXaMMoICp8y9zvW9swoFNbr22egOb1IA/EkJJqOCPbiXZ+uzvQ5CyQ/RyNpaYYHijfCFcSLL JVMGlJOaQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrh2-0002C4-UJ; Sat, 29 Aug 2020 03:38:16 +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 1kBrh0-00029w-Ad for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:38:15 +0000 Received: by mail-wm1-x342.google.com with SMTP id y8so802648wma.0 for ; Fri, 28 Aug 2020 20:38:14 -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=ECKlC4vLs4zIz+kTN0kAbndn3GkZ3/BNt24XyoyX1hY=; b=MWweZxH5QAlm1G+GpzRhGqLNbmtshK4QotzqtYaGmRdy7Xn3WQ44Bexs5Z/o7bLGxb nZMughlCJanGGaw1hVBCodrl2MaZgIyI24w1We2s2TpeLZQSsIB7xN94d5GnP1bl1gYO jl3wA9iDPW0VTO508EVGCIoLg//JnexjLS41XngXe3rhl8s8+t2OfpsNI90HlnxdBzW2 JCTesGjcwJAiF9vExbDcG2UfmpbD1cln4ZDRdUEvJ8+4xZVRV2ZJrDrFc13deyRE6yf5 CIKL5niYEiboptRur55NqmHvYMRd6jAgcI8OtITKQGuTNkhJWUIaoIIOt/xmYcwffl4F 7hLA== 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=ECKlC4vLs4zIz+kTN0kAbndn3GkZ3/BNt24XyoyX1hY=; b=rkWmZ2W8WlWqfu1nYy3W6S8v3vQuXy0WMw2GGWYRAgeIuid8QwfId3pxMbxwOWejkd NayHJzi+TB6B09pBKCY/0MVs5yQCAKsgqaW7QqfJAkPVNYdGWMnu5ycNC7IGUZTsTwk4 K2LaaQ8268moSaNfmiNzGiQ+hh6g6OhX8PNx7CPUpZbwvj5UDm5ot8JrvIyqztZOTxWu s2KnwXstZDEwBT1UA72XTdPBTYL9lSk7RAlwc5EgJo+i0dDx+3H+AswXSfqM00FD5a1k n8Dh/Ux98uoGvlocT6yLK29XLmDlbxiTBy21pKPF0z8NjAbfYB5iNYvS1jvvdFYkqSNf 91HQ== X-Gm-Message-State: AOAM532Tmpo6j+DRhMw6+4oE/+5nz9Z6z9Fgd2E5jmd9wd+UVVwmHr0t CG6NlGn6YpdWVgefv6X49rCHUA== X-Received: by 2002:a05:600c:284:: with SMTP id 4mr1505635wmk.48.1598672293409; Fri, 28 Aug 2020 20:38:13 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id v29sm1827545wrv.51.2020.08.28.20.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:12 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 10/10] wcn36xx: Set feature DOT11AC for wcn3680 Date: Sat, 29 Aug 2020 04:38:46 +0100 Message-Id: <20200829033846.2167619-11-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_233814_412273_1866DC57 X-CRM114-Status: GOOD ( 12.49 ) 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 In order for the firmware to process extended V1 parameters with the addtional VHT fields added we need to first enable the feature bit DOT11AC. Once done the version number in the HAL message header will be acted upon by the firmware. Extended V1 parameters are a prerequisite for 802.11ac speeds since we cannot communicate VHT parameters to the firmware absent the extended data structures. Signed-off-by: Bryan O'Donoghue --- drivers/net/wireless/ath/wcn36xx/smd.c | 2 ++ 1 file changed, 2 insertions(+) -- 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/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 9490b1bf4e05..4c30036e2e56 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -2084,6 +2084,8 @@ int wcn36xx_smd_feature_caps_exchange(struct wcn36xx *wcn) INIT_HAL_MSG(msg_body, WCN36XX_HAL_FEATURE_CAPS_EXCHANGE_REQ); set_feat_caps(msg_body.feat_caps, STA_POWERSAVE); + if (wcn->rf_id == RF_IRIS_WCN3680) + set_feat_caps(msg_body.feat_caps, DOT11AC); PREPARE_HAL_BUF(wcn->hal_buf, msg_body);