From patchwork Wed Sep 9 15:36:27 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: 249485 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp523979ilg; Wed, 9 Sep 2020 08:35:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo1ieJlU0aU4ZK2nBpfOrWsiGspvCGBHiMOC6ivQptuD0FbsjV6VrW+oncWqmS5NQOsNnA X-Received: by 2002:a05:6602:2d90:: with SMTP id k16mr3827562iow.19.1599665753362; Wed, 09 Sep 2020 08:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599665753; cv=none; d=google.com; s=arc-20160816; b=B5gUM563RsL4dsX78zHYkQ4syi2sRibTcuF96jq2UqWZ0pto4OUF9k5kjJTapXxPnc foR3lurJTd+ZxlgP936ucWM6Ldqnk6sg3mayVEk6KOM6J81KgVLjTtiVOYThSPwBhxOZ RWiSsVt0FDh59kZEELC+0OSdrc67YFtfAF7dg6VlDrUNvT+FKRB24ocgaz1obd5nPEPD AUrtRLsf1Z1lkPq/o0Wm9qFP0pWd40dfSNeAiMRCY9GgiK1RXjl3j2ymLBt8hzeogAIr wZAnTj26lImRGf+QU/g92PzBzUyz04Jc/wbIR9e8sjPHBwSmMybHhzbZavi40WhvCZdN GuvQ== 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=B0Cp23c8tiy6tETjqkt5GIuIdfUoK+4+HTEl5vSyVw8=; b=VVdtQ0dKWC4ACsTLYg/mLVnGRi0Anx5DeNjzzWilgpGtoGLwUsYfh8Xj58LuBDo1iq Kt5BVi0W9Ae3MyghgGo6D70zJPhV0EL5aCkGT5ERcFxVEnLsD3lBRRcjrgVbQur7Xj5v FJSqoZH9qXZtuW1Y9aHXFLMqID++tEB/YyQVrypev7ElNUZPiaEjZ96Olx7RGEKS+WLn KV07FXviIP8rAVeCwLlgeu9WiaoVERW94zLIPNwLpm82OrqLarWe+NVVomctjLIlEDKP XVEC9aLdxEXzc1rRu7JrpgYK9SN80OzHB2af4CDYGSYSDtkwNtWN0A6E95ovL9jYcDBX s/rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=l9HTUPN5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EMnSQzZT; 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 x96si1974943jah.39.2020.09.09.08.35.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:35:53 -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=l9HTUPN5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EMnSQzZT; 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=B0Cp23c8tiy6tETjqkt5GIuIdfUoK+4+HTEl5vSyVw8=; b=l9HTUPN5CYQdABuudHJCUAbbX wfIro7VEYuJ1YGwiyXWQbcAiA5EadujI+7CbUtNSv+9RQoKAs9nwJXMKdpROOTv7/1GC4xEduQFUm YgQ2iNhbjnGIV9KrwUEWV/44u+MoDduDdVlm5C7UCe6d0qfBK0AG5KNyTOyZ10KoAJMzX5dNrjn8P 2VgsTxI88RdR376YZQWdjLBhxam3arHa5zLbjLM3okmAkmaB2/5ZaWdWTizlbvcM+zj0w0ImFxLXh qIsLQYq3akpZrKF7O5OfGdMsIu2wdWyxPr19uaWVgjnW0PPAsWmqQKl8QtXyV2tgx6dzs8NJ4iAiN 7+/o4n3uA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG28U-0006Ve-0F; Wed, 09 Sep 2020 15:35:50 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG28Q-0006TB-ME for wcn36xx@lists.infradead.org; Wed, 09 Sep 2020 15:35:47 +0000 Received: by mail-wr1-x442.google.com with SMTP id z4so3479221wrr.4 for ; Wed, 09 Sep 2020 08:35:46 -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=w/nry3NgBBjA9BLR7RzttfZX9dZbP5DRqQfPiOO3p9I=; b=EMnSQzZTSE9s5aFAM5MDV0hTDv9ggZAxrmlePWW4YdP43Zi68a3/vEMVOfy9Ee51Zf 4FEYdWOdWQr9tV4D0xB3n32EpVf2tMX/pqmN7JGJ4+EA21kAw+XTSBCkC0zfego+mtcR EJTOd9qDhor9BCfXRY9oGTek80zjaAKXhtqZDWakXL+UrIViFmeMmgU0NN3aPfuOC3Jx 8zQU5g5QcFCY+ysgpVrQ4pjKQZ9h/Lis2kU02piYNbHEe2bz5ueDtyzBso99j/HUTxeZ WNc6rgWfyRzj0FyZP0FEgippjD+0CoJpCJj1w9XATKjtEr45upPkwWKrjQGQ45hqd0NG Rl5Q== 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=w/nry3NgBBjA9BLR7RzttfZX9dZbP5DRqQfPiOO3p9I=; b=PKQZGMPdlCb8U+JRrL0uFvifpt5y3joxnQ53ZzKN7YNd22maJURzMCxEzr5ZwK3y8P A7nzvoKNExUmy6ZWqFTlfdZJcF4h4zu1cIv1tLl6Y8R3G/xZUDXwi6mB4FLu2R0fkS2G Rv+uTbJ/AmphmS1Ttonvdfc6jEokWBQjqOhn7An7z18Xf7lMLT7z26nO2fdxhYSUciD/ JKBQByiWg54XCjymt5Y+ehCU0NX9Kaum0mZqCMOcei14eu2g+1H0uNcg2gFL184ivgQ0 6UPR6H6+S0/WWE7DjDjOVM3ZdY6SW0ydjWv7A2h8JMQ3bLFcJMc9vTSKHQXHbA9Jw/eQ d6UQ== X-Gm-Message-State: AOAM530RybkfN+OH6kPT2ECY9Da4RYSYVfGoydxprJqLKypNGbfvmMXm QvLL+VTS7KtvlEO3SBl3cvIJwA== X-Received: by 2002:a5d:574c:: with SMTP id q12mr4402142wrw.253.1599665745792; Wed, 09 Sep 2020 08:35:45 -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 c18sm4924871wrx.63.2020.09.09.08.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:35:45 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v4 6/7] wcn36xx: Convert to using wcn36xx_smd_config_bss_v0() Date: Wed, 9 Sep 2020 16:36:27 +0100 Message-Id: <20200909153628.2904888-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200909153628.2904888-1-bryan.odonoghue@linaro.org> References: <20200909153628.2904888-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_113546_742404_E5CDBF12 X-CRM114-Status: GOOD ( 11.32 ) 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:442 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: 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 A previous patch added wcn36xx_smd_config_bss_v0() this patch converts the version 0 data-path in wcn36xx_smd_config_bss() to use wcn36xx_smd_config_bss_v0(). Signed-off-by: Bryan O'Donoghue Reviewed-by: Loic Poulain --- drivers/net/wireless/ath/wcn36xx/smd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 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 e603e2d3be16..fc922dd9ccde 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1707,9 +1707,7 @@ int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif, if (!wcn36xx_is_fw_version(wcn, 1, 2, 2, 24)) { ret = wcn36xx_smd_config_bss_v1(wcn, vif, sta, bssid, update); } else { - PREPARE_HAL_BUF(wcn->hal_buf, (*msg)); - - ret = wcn36xx_smd_send_and_wait(wcn, msg->header.len); + ret = wcn36xx_smd_config_bss_v0(wcn, vif, sta, bssid, update); } if (ret) { wcn36xx_err("Sending hal_config_bss failed\n");