From patchwork Mon Aug 3 03:11:22 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: 247327 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp860737ilo; Sun, 2 Aug 2020 20:11:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwn8LIKxDoLE/+FFx27Y198RuGLrqw6dSCeiJQ3GnD2h3JlWeCQd3Jaj+9rfdajT35g5mW X-Received: by 2002:a37:9e90:: with SMTP id h138mr14476868qke.176.1596424283829; Sun, 02 Aug 2020 20:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596424283; cv=none; d=google.com; s=arc-20160816; b=zweXRfZKYftyGJX1b44qUJb6zUwJyWZSjs/lMV4P/qNEy9/pTOg02d3Xy8IRD8F00q 1nxFDdYsaBfKT14id02ojtDeyZcwwQsg29qFE7Xy+3JV/+YGoObTFKwBd2cubdKA0RbX e4PziCTZsL9tODA+j5yIy+rMNleWvrtDR4F2xneD1J6U2nkjRjpv4Jecm0rvtkDRxfyh +a9YsQbFBoc63ruLv8JshIaToOkM+Fayb/YjwGLDvP9QvZOHB4nvZW1lLc5Xc/7rOUqD TgBFuzHnQtGNFAnryW06Cp+Djb4O+msouOlYSOjSy+QlZY8T8FAlnVnxDPX6xzU5DGUP 7mtA== 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=h/xcb22vVcU8Ya1KQObsSEv4IaM+453gJaEX3PagODY=; b=QphfOU5oGawmeYS2u5syjonkN3mb2qRMD+Zi5roflkta0ltZ3WfRwQdVuPRcma5J4/ 7WV9FQ55oa4NHpxf21fjwAT7wVZZCji4yb9Xy7mXOXZbOam/hDqSCNFsWHCSy0bZ/3uK 7Ety2PtWqViTmq2u2My1R6T97IWwJ52aSLf4/G0ZnwJ7QB112kwarmVZ2T//7tv7Q8aM WkGJV+IqmM264BkKZsjCWGELEE7BhYN6NC/uaEiKcbEMbtvol7tYHLw5EYSeM+qqJccC GvHHzZf3E24gY5t4FYMVFOMYlWUMv/gTHgDcrHgeBII8wyb6ZC2VbQMON0SV0NZhwexi 2rAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=x4Lj5Yor; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="s9l2/eO/"; 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 d12si8936971qvy.16.2020.08.02.20.11.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 20:11:23 -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=x4Lj5Yor; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="s9l2/eO/"; 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=h/xcb22vVcU8Ya1KQObsSEv4IaM+453gJaEX3PagODY=; b=x4Lj5YorP2Nu8ngPleGRW0lfB H3AXkGGz7hw1RgW7rlW8oUdMmE4opSC0eD4KKK4l098wjklW7WvlXwaG+Hm+kQ12IQLEnITpJ0rSn MZE35ijz0Z7h77sHJKlm4qx6EaAOnlJc2lIXLizP5cijS25EXPrm0z46k7xCjqX5fOS/34uZ6GdnP JgqphbfxAX25BP5mQ2QpHMrr/YEsj8VGKKExsC6OlW4tBz+yN9ag4ZIGojUvFhFybEyv43zKZwWMo Rs+Wf1mnDqNx+fmpvFRJIm+kFLsaCwv0a+Ohkyo97+OOBV5y3U5/7CA4+gAP6bN0dYN92vueM8b05 8yJA8gQ3A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2Qsi-0002iv-73; Mon, 03 Aug 2020 03:11:20 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2Qsd-0002eQ-JN for wcn36xx@lists.infradead.org; Mon, 03 Aug 2020 03:11:16 +0000 Received: by mail-wm1-x343.google.com with SMTP id t14so8893199wmi.3 for ; Sun, 02 Aug 2020 20:11:15 -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=zBh3ROPhrGIW2kesBf+bRTaWxVaasDDdtUrc0+Ft64o=; b=s9l2/eO/Zqk3vRbIoBFtoeYfeVNL2XnNhUFm46L50xRWa/qtInzNprqVb5kcvbMwK7 EgmgXuht6ZM5Fp1toNm69MyIa1mSUw6w3lAhVGdukvLosY0S8MlD/g/1IjyraKO5XWfr AlWuvJzCJCGThyKTCPm8FPTCyWRzhp1naQh/7eOuBA9jMmpvKRjcwGtX5MlrFQKvLhSn hewFIsJcHd/7Zu6uQPZ1pAzkKrGMHfycNfEWamQd74H8ReDz28G0MBhQ08sZKlVQzNGg wMoAzu4X/7PVb+nEy9rgBxdQBxMfeChmALMgNTz97at3P3g0g3QWj1mrdzG9KB67u6+o 4Caw== 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=zBh3ROPhrGIW2kesBf+bRTaWxVaasDDdtUrc0+Ft64o=; b=Lw2uWB8+1egrxY95wIYWadwAQwGTrcPLJjJ/Dt0K6cpjO6ln1UNjaF7gsvhGeZS2uI 96Qy5RQg9/vabNzZVqN2dbdZ4TSQhylavUGe/JnZq+oTyK55FLj42WGtZAOjfPoA57SI b0GkkD64ZO3erKb5pScgbODntMhxsLuUIJkNbkq+DUdD/85A8+x2yTmZkWmWj21SpbRC a9+BK4RMfA+xB3V9DV0HpPK10NcPhZ3sV/Su+ycqpXg/hiWcNT2f28vINRyoDFDBSMIy ryaTpoNBIiOaDRf0cUijN3TDx5RjjdLcX/4nYSqdOUPSUmnrocsH8lQFwr6T4eTgaymE a28g== X-Gm-Message-State: AOAM531RgiJRsGo7rQpvWDBb+tCRYZBQ26n1PZ5ACfySWHTQ+m5ocN5H aLrpMXU1uUoHceaxMJkUN/7uyw== X-Received: by 2002:a1c:7918:: with SMTP id l24mr13642585wme.158.1596424274637; Sun, 02 Aug 2020 20:11:14 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id q2sm21956857wro.8.2020.08.02.20.11.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 20:11:14 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org Subject: [PATCH 26/36] wcn36xx: Convert to using wcn36xx_smd_config_bss_v0() Date: Mon, 3 Aug 2020 04:11:22 +0100 Message-Id: <20200803031132.1427063-27-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200802_231115_715671_F5D37164 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:343 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_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 -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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wcn36xx@lists.infradead.org, shawn.guo@linaro.org, linux-wireless@vger.kernel.org, bryan.odonoghue@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 --- 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 50559871d109..033afe52dd9c 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1710,9 +1710,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");