Message ID | 20200803031132.1427063-9-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp860500ilo; Sun, 2 Aug 2020 20:10:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiO5cBczL+aENHHhJ0tKsCBTYn39bhUZosKwgzCIB61uYLJd53ndtmmHev1o24gJiesdEM X-Received: by 2002:a50:ef0a:: with SMTP id m10mr14162825eds.226.1596424258895; Sun, 02 Aug 2020 20:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596424258; cv=none; d=google.com; s=arc-20160816; b=Frkyk3ZKbTjhT0WdQBigyxyzR1/bLI9G5LA9GwgWAC81/JfnUDvRLTWge/u9TgJqeG TPKfUxFTzEI/9b+bcUAqQqj/roqq9iAtFJXg5fmocBqItaA3D4FUq5JTzIue3DLt9Mvz zScS6dSE/D7lapZWOomiztEN9nICrQo3VbyV93W+DrYFj9V0i9vfMWQULHujNZsoZtrk 8hvs6hxfTKZIYdmA/MR4jF3Z35iJ0VpTjFsLM/DM4LwOgt/NZ07GYkkSSOychv5w/vVA a+100mrt0IbYkv+3Q7if5UpA4MkFsWnh8xlEwn6kD/mJCgf+gFJGA2x40fg2TkBUlq4X 3M9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=knVm+8FLghu9qeE3O2LdjPgoZ5rDzBCB84wEr1o4m5c=; b=Lk+O8EYr4BcQ0kKRMF/OuvZmlceoCo+i0Qf50xn1zcpFNI+g295axSgl2uVtgp5g8Y 7wr+zlx4ZwzlB/C4n0EMf2TM8GHEvPBwZrILcWDEGGnhuSE+I6Md1QEVfT8M9+FESMB/ 6Mnd1c79BPQQUrorS4ocecKfJvgoeEDzwXtUdA2L5TPTAXf/qaahZc8ONAqKB7kZevMr tW7Oo84k4oyQVNqOur22GzdnjgRYPwLqg+42/4nYMAwSVHgluif7j7+SfyXQA9j+UJib gdZ4PhlkOKofxN4tqyfVpOqpw20oBvgTiCwCxqBZuigUQ74Z2TwP5O5ep+uX7tmoepb2 RSwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BZ+f6ng/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-wireless-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz19si10235393ejb.34.2020.08.02.20.10.58; Sun, 02 Aug 2020 20:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BZ+f6ng/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727015AbgHCDK5 (ORCPT <rfc822;patch@linaro.org> + 2 others); Sun, 2 Aug 2020 23:10:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbgHCDK4 (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Sun, 2 Aug 2020 23:10:56 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D567C06174A for <linux-wireless@vger.kernel.org>; Sun, 2 Aug 2020 20:10:56 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id a15so32763733wrh.10 for <linux-wireless@vger.kernel.org>; Sun, 02 Aug 2020 20:10:56 -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=knVm+8FLghu9qeE3O2LdjPgoZ5rDzBCB84wEr1o4m5c=; b=BZ+f6ng/a4OZA97iEXzb6sErO+K8D1XjsxYz6Vwqipe0V42i5almhxdR+UfaCG21F9 0syUoyZsxS+YMpN1MuKUYI5cNrreBcHHLB6mzFQ6YpjfsscGAGYRPhRzkQjW/9So8OQo agL1h4SbS7FAi8Ueq31B2oSe9kg9b20e1p4rwuQkYhhydSk9J6nmQ05cR9pKkl1Iun/2 eli5fgSo4d7Xj49Dy1LzkSN0asTbYbDfcs+ghsY0wApR5Uw6z1OtSLCCdc3BVg364F7e OQi1inVlU4P+JnDvFE8EoU8O2myjtzFll8EiU2XZ8/vj8scThYyWObbF+ynxOOn3x4Oq XJvQ== 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=knVm+8FLghu9qeE3O2LdjPgoZ5rDzBCB84wEr1o4m5c=; b=C6loVpiDEYCrz4rQPM7eqo9+FQUkEyOrrr2/tv4H/F06x1o3+QLF/LzmX2UKG/HCYz +1Z6wo4c5JWmLGJDbEDTEIS6NtDoJtuo+0HCyAHrWk49KOei2hNl2PmVjHRyWAP45f2N jLk9aa+kFUXnTFRQsBTY66uI13WKL5LBYrB0VLREquGGRhAd36IaveROZJxfJ6Lo7Kq9 Sga3CJdBp30yTerXI7WWgTKLIcuyvpn1dsj5NPYqwTtPcIh8DyyzGIZxeeqKHD85gN5c 3TD9i25rN/c1Yus8LoJkazCF0guHWwHcXJeEQG1tDU6rN6zEyLRr/wi4UwDf1TtIpF1T tZ/w== X-Gm-Message-State: AOAM532049kY+yfZHAIiv9rQPHSjEOnx1o80q2khbTKzNvamIzbI0SWq k4qnmJXiwT5MKyVanMFgbw52tA== X-Received: by 2002:adf:f590:: with SMTP id f16mr12302790wro.98.1596424254997; Sun, 02 Aug 2020 20:10:54 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id q2sm21956857wro.8.2020.08.02.20.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 20:10:54 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: kvalo@codeaurora.org Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, bryan.odonoghue@linaro.org, shawn.guo@linaro.org Subject: [PATCH 08/36] wcn36xx: Set feature DOT11AC for wcn3680 Date: Mon, 3 Aug 2020 04:11:04 +0100 Message-Id: <20200803031132.1427063-9-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200803031132.1427063-1-bryan.odonoghue@linaro.org> References: <20200803031132.1427063-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
wcn36xx: Add support for WCN3680 802.11ac
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 05835cf6e409..661742cba1c0 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -2083,6 +2083,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);
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 <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/smd.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.27.0