From patchwork Wed Oct 20 13:38:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 516021 Delivered-To: patch@linaro.org Received: by 2002:ac0:cd8c:0:0:0:0:0 with SMTP id d12csp1781865imp; Wed, 20 Oct 2021 06:27:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzwNZCe7iFBn0E6Pfl7/3Ys1TtR+bRFZ6AxosqX0KEvRd984+wn6/zHTo9BdynrtW+2kd6 X-Received: by 2002:a17:902:b615:b0:13f:6525:c004 with SMTP id b21-20020a170902b61500b0013f6525c004mr39011434pls.14.1634736446029; Wed, 20 Oct 2021 06:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634736446; cv=none; d=google.com; s=arc-20160816; b=Mki1Bs8kRjYRXYMu6Hb2hv1Fkm0OMd9QZHy4ULkoV8eA7UoWC2cu+fjYhg9TADzTyQ dc9QLCfsIjHh2n84IDsGAdkZVn5an7Vxj6s8/+NujU33Fy52UConBwiUzTaw216aOv+l tvCYB4EmaLc4FapkhodOPUI+ZxZq57nFb9QmYZbHwygOnUqpWVapll9MOUGBplYzGB+P 5Ok9ZGc+c0PyjiPVv7WACi5L4ocTmGgDwNzWt0zn1/QdOS8LtMorUTYMvNG9ufhze8+0 nTP7T1wG45ttqN02B3J4u5XJko4Jh5k2r0qgDJ0RGbsfLRy6jL2WXuNxVE2QLjgCNjUN GZTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=rSaM33ZpzJZ4yifNY8hAAouZ5mOirzE55Cmh4eS0yIQ=; b=vMcglDFAVp9TLGZt7m4YSXdbqfaow25f/uFjbF5RTZm6L3xFZsE8LCbqpBO2kmqFho BX4sJrV5cjmvzfwcRYSgfft0Ssgwp5vIKyOw5IUDY1pyejpFbRD0AuF6oMDwOzri4TeG IfACy7erNcI7ndQRUDCU/UFIO7wWvgI63NwTPGqZCvnjeVB1JIKLyqa2yGaPNCoZb80Q AxdJMfMccJMUZ5eocqEAo2D8+pPUSXAKEebrK8j8gDfIxo4sMW4IxxmTVFNX3FDhDgOQ WIP206gLXsx/0FxvfFEmafNw0Uf+qrPL1eZDCXZ5p25LZbSZ4KGuATqpMQ3uar/siIVH Zd2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=OMgv5OtF; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yQZTdnRN; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 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 bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id i4si2614289plb.86.2021.10.20.06.27.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 06:27:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=OMgv5OtF; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yQZTdnRN; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=rSaM33ZpzJZ4yifNY8hAAouZ5mOirzE55Cmh4eS0yIQ=; b=OMgv5OtF5sOMms 4SD8cgm+eEzSgUFp0YV8+ST+USM9TOYNCDcuX5ns1cLVC2u69cV37N+Thtzx1Mf7/XhpHz4lTyxIO Z1yApF55Z6/Xm+MDdazUYgR/UotP/nNz9wO76Hm9uZSo/qEgu5Y1p5Nee1nDZfXktZDo01epdAqkg urT7AXxpVOhyBb4OHuLmvLbGGVhf29GZFESkvdL4zh0c8zFIs4fH5Uy97Dtl31/jHhUjqOX9wYcnK xwEd2COme6BKA9SNeXQHy7Rv9GU/ZJzUA5crh7WZMMbFYalR6IAn5ZeU9cp3DtkEzTfh0mSic2kbZ MU0aXP1N/M+t81udg4jA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdBcq-004bke-Q5; Wed, 20 Oct 2021 13:27:24 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdBco-004bk7-7m for wcn36xx@lists.infradead.org; Wed, 20 Oct 2021 13:27:23 +0000 Received: by mail-wm1-x32f.google.com with SMTP id o24so11594920wms.0 for ; Wed, 20 Oct 2021 06:27:21 -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; bh=ICSjjYrq5VBgD8+gohBOnArWicPN7yL8vl3yOhj3VxQ=; b=yQZTdnRNPauSNqDkM/wcTsfPzIEKLiSbgpgHlePGgunYPfEocceAv7OBg8sEnEqbME LMmolEWqs84RY04lOC510iFtmypW7SBOmWTtTYDJPcHo14E39MbJt+f6Idjx2NcNVeyG nPQSFHzyv0f2mqG6xRj9u/9Pp8yeQT0Iu0Qw2tgimZwJ2JeUe/TutLJ0i+ztEAkOthLw 3OYkq53MkCJyxaZ/++LV+f6saqj4McR7FZg3RYiXAlrqElZcpxE4Q0isPeqwy3kTUJGc qIqomhwali+T/zpCpOpx5xgKVAjbE1fTsMIvZ34a7mHLvQIzlYXjQBmUsOBsX/fpoXne yAew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ICSjjYrq5VBgD8+gohBOnArWicPN7yL8vl3yOhj3VxQ=; b=L1Xwnv+laUVx8LZ8FE9VxIZ3eEfUAGCimyR4lUv+/9B1Slv79eRggmrmawgP6XUEIv Q+CDFcMgxRhiBei2pbQ/kHHVzXW/wZ3n87uwRMsmGy1JvDG3JM3N6e+P751MZ/BXRpqu LRclqo1ls/PQrQdioUDjYDbXKp9RQpG7iQ2vqt2fh8r2pv+11EXLjYFJlJuvsswaFncg vP0ZJLATblTG8nA9aFUyEI1VBWhVatYkDkErVAunhKaRqT+cbdQtn/jgpHsg3sWA0rNc fsckCnga01SaHJcPu6ZWT3TVPjL5C6kkpfTVc2oBosOlKNUYW0DWNx6xqC6p7uNEGLXp zjVw== X-Gm-Message-State: AOAM533Lz5J46+qRTwdZH6rr4jYoz2e93QfcbCZ9PeDYGZLkw6EvXh3o 1obtAn+p2HBFIB0J1MwK27BC9A== X-Received: by 2002:adf:97d0:: with SMTP id t16mr50663575wrb.124.1634736440394; Wed, 20 Oct 2021 06:27:20 -0700 (PDT) Received: from localhost.localdomain ([88.160.176.23]) by smtp.gmail.com with ESMTPSA id j206sm5052170wmj.23.2021.10.20.06.27.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Oct 2021 06:27:19 -0700 (PDT) From: Loic Poulain To: kvalo@codeaurora.org Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, bryan.odonoghue@linaro.org, Loic Poulain , stable@vger.kernel.org Subject: [PATCH] wcn36xx: Fix HT40 capability for 2Ghz band Date: Wed, 20 Oct 2021 15:38:53 +0200 Message-Id: <1634737133-22336-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211020_062722_303166_7AFB9172 X-CRM114-Status: GOOD ( 10.40 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: All wcn36xx controllers are supposed to support HT40 (and SGI40), This doubles the maximum bitrate/throughput with compatible APs. Tested with wcn3620 & wcn3680B. Cc: stable@vger.kernel.org Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware") Signed-off-by: Loic Poulain --- drivers/net/wireless/ath/wcn [...] Content analysis details: (-0.2 points, 5.0 required) 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:32f 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_AU Message has a valid DKIM or DK signature from author's 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_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: wcn36xx@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "wcn36xx" Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org All wcn36xx controllers are supposed to support HT40 (and SGI40), This doubles the maximum bitrate/throughput with compatible APs. Tested with wcn3620 & wcn3680B. Cc: stable@vger.kernel.org Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware") Signed-off-by: Loic Poulain --- drivers/net/wireless/ath/wcn36xx/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index d4f44c8..4f139d9 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -137,7 +137,9 @@ static struct ieee80211_supported_band wcn_band_2ghz = { .cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_DSSSCCK40 | - IEEE80211_HT_CAP_LSIG_TXOP_PROT, + IEEE80211_HT_CAP_LSIG_TXOP_PROT | + IEEE80211_HT_CAP_SGI_40 | + IEEE80211_HT_CAP_SUP_WIDTH_20_40, .ht_supported = true, .ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K, .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16,