Message ID | 20200829034002.2167878-5-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 c28csp1603041ilg; Fri, 28 Aug 2020 20:39:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxx4MkK252KpZxV2Mqp8JzBM9OzArJ0xriESjpsxcUaKGa7ZK3X8+6cJKvrEqD79gPUAXgZ X-Received: by 2002:a05:6638:1690:: with SMTP id f16mr3914947jat.91.1598672366875; Fri, 28 Aug 2020 20:39:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672366; cv=none; d=google.com; s=arc-20160816; b=cSfx+zakQoDNeIvd0zRW2zcBsemEcsA7irdNuFnAT3KjBi/eeGWuV19uRHjcjI+ovd tasKYa0vIkY8W7Uab1fBoxBNEgDspr/IWp0WtGL7bETIGnw6EnWbhPB1MGQ5Yu6h9PEe 2jUTnOTkGon0IxBQ+Ru2CMJAe638ar27jBu8mCZWNERj1eY20E17JQkDx3l8hPxIlPsf JDHWsQw9WWc1y49Rwq5RmCcfQb7L2nM/ERccVg2kkOJqx0FNtD5wFNSb3O52i3yvqMSc H2lpdhmTfhpDpqggW9Ji29Vg6o/RozZSeNlojvXYpXpVZE+qTJGvEX3HSMHB2x43z2rt XHZA== 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=+kXo5UFR+B/BuCKblm4mvUwQVWQkZftOM6wvIFIu2xU=; b=gUQfQEdMFrffZ6XWXFIdX8RBv6os3SsXhuWZuN/fQSyDiDVhsCmoCByODyOpyQ6ORd TFdGTLgjZtcZ5ngRtR1tq2JjUWv6Oa/25dxnvDR7TB4J9TFsuGM/ydBm0cd1WgZJQWnH n8DwmhWRF33Y3vbQP6dBMdomdC36wQxNpYP2BZlMmOg31y+4vWIrD/zmW/E2qTYfemSb FjyMw5zGDy1UVqqREoaCkkV+kCDA7pPb+eTpjG8vV8EFCdq/CMgxtilvFZFm0E/uSXbi 9PmlAsQxGDAM4tZTo3ECk3ryF56aV9nJIEeU/0XxTVx7bFN3g8tunBQXJROO48r0DNPI 3HHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=XShuWLU8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IqMioRpd; 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 v1si740611iot.31.2020.08.28.20.39.26 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:39:26 -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=XShuWLU8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IqMioRpd; 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=+kXo5UFR+B/BuCKblm4mvUwQVWQkZftOM6wvIFIu2xU=; b=XShuWLU81TIf8ubgGB1jKW7AX hgIP3wgH2nV5ac5g1ElRRZA0JSw1n+vn5hj31+xeUqggV49czxuv9mIR1WJVNuJzMF/unp3/5oxgU UDxmZoqt26lfmgKmhPxFns0YobrlCBN1fZp8bgghOXPxfRQaxEZIb3w1yj4JGj3L4JW9V96KqNg1o kVTCjrfcb4kbGbDLO3R+LkYaEuNPoy+UeIl+eVwJPNH2fKxExV1lSYpBkkWR/XiU3wTClRNP/jw6a U8aCxywB3rZjEPs4c42xM7STc5g7bIksF13TwCEcOFtYUNF89CqqCwRaOrvk2oiBpkSQssJF7NU45 FEi1nGMrw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBri7-0002i8-WA; Sat, 29 Aug 2020 03:39:24 +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 1kBri4-0002g9-Nb for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:39:21 +0000 Received: by mail-wm1-x344.google.com with SMTP id y8so803701wma.0 for <wcn36xx@lists.infradead.org>; Fri, 28 Aug 2020 20:39:20 -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=ekFwZ3tqG/cjjafUdGzV3N2Ok6t/LpyXp5TP4+r/16o=; b=IqMioRpdWZULzAUKwVdGCIMzABsFMMvRg7pRXEbXMLPNMrbMlIi939TB7/720BcLJQ sxAmR/bwCgQkCcUZLMum5LDkWs0aqLPTiB0ynbfPp0WLVqZddgN2WXgG0Hdk/PWfybba I9GLeKhk8rTvi+LWhg4U1KauEMa/YNlNE+eEGpOt/OIZ86cP1gitlU11gdhOm4pIZkCL /wZICmXCpmWOWtxz52SHzgoBYKo4C05Z9ybB6f9xC3nAfihgbMvQaHJJhpM5xrExArQr KXirN3j5Pvgu8IwVl7nrBbAxF1UXVSMQxCi5mLJMQ1HkSzx3GJYYORBZMbI0QL11uxPz lHJg== 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=ekFwZ3tqG/cjjafUdGzV3N2Ok6t/LpyXp5TP4+r/16o=; b=HiQhzMBxTjxnioMNV4J+gmzDHGeR05Kq0XQqALOMr/7+tQXRBG2O95W3HWotF5JSih SwFxpOIU0Kb07OZNGRhieUroSLtNg7HySdIcFPBrFMWSEIsCUI5+dsgLCR8QzuNvGSrd rYJ6qxVBU684tAgE6/jxXdOxJnfBaIU9Y4uHs1G0HnG7tLGeDgL28VZqzH5OEAxRJGNN p49VFpZ7r83rn06a5vJANcwx1P671szMZty/y9QWQpGh3FxY4i/FiR3L9YJ0UlOce89E EplBaDJGpEoFDX0Aandw3+lmcvTJEOKNd72hNtRVaynxlHGcmICX5g1ZBJDLaOhy3leO PnSw== X-Gm-Message-State: AOAM5306V0/0wHsCHgzuKt1ovVURH+En0g3knmvRgmvi4ZPZlcilvuuZ c913YCDcv5gKc5jZW1gKy5++Rw== X-Received: by 2002:a1c:f207:: with SMTP id s7mr1498720wmc.22.1598672359760; Fri, 28 Aug 2020 20:39:19 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id v3sm1735083wmh.6.2020.08.28.20.39.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:39:19 -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 4/4] wcn36xx: Latch VHT specific BSS parameters to firmware Date: Sat, 29 Aug 2020 04:40:02 +0100 Message-Id: <20200829034002.2167878-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200829034002.2167878-1-bryan.odonoghue@linaro.org> References: <20200829034002.2167878-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_233920_858296_A09C730B X-CRM114-Status: GOOD ( 11.52 ) 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: Update firmware config to support wcn3680
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 3785931d3df6..c9a765013719 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1691,6 +1691,8 @@ int wcn36xx_smd_config_bss_v1(struct wcn36xx *wcn, struct ieee80211_vif *vif, bss->tx_mgmt_power = bss_v0.tx_mgmt_power; bss->max_tx_power = bss_v0.max_tx_power; + wcn36xx_smd_set_bss_vht_params(vif, sta_80211, bss); + PREPARE_HAL_BUF(wcn->hal_buf, (*msg_body)); wcn36xx_dbg(WCN36XX_DBG_HAL,
This commit makes use of wcn36xx_smd_set_bss_vht_params() to extract VHT parameters from the 80211_sta structure and latch appropriate bits in the bss_params_v1 structure for transmission to the wcnss firmware. 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 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx