From patchwork Sat Aug 29 03:39:28 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: 248692 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1602738ilg; Fri, 28 Aug 2020 20:38:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrrh2o25lEijSS9Vx/DLbMlI/+wG9TcKt8Ltzj3KEUirGZjSsyEzXeZg2Ep17BHMxjIhUb X-Received: by 2002:a6b:f801:: with SMTP id o1mr1445525ioh.43.1598672337350; Fri, 28 Aug 2020 20:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598672337; cv=none; d=google.com; s=arc-20160816; b=HIDRl7IEI4MkqwKBG27pcjBEDXtRbB5re6V4TKd/X84Rg3EC3u2EkoODFYzHrU77Q3 padWQDrH//zNzcIjGMey2btz0WS2GCHI9ScgFRVJYFN1FRgBvNY9eOtcCE+wljR//T8A vsL4Ylks/7amikM+Lq31G7DCE3YRlB0vd4kHSLzn0za9ffosM7ZNJIe93/9KWIy9oAh7 IRsM+qb0SyDu0/Ml6rSnhCb03SFdkTHDUUFNxmk8QMqghpITcNtOCHkg1WaM0iAzfk/t V+PTb/YscBh/YQCPKP1AQm6SEzVB8/EMm2H4Z1AqdBNY4cCTviHJMdpMZth/DZH08N89 /s6g== 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=405LapMebpbZGKyTqH82sNgauKYIMyg1QBxS+mWQIXE=; b=qk0nfIEzGA36eM6vnThvU9m0GY7YHa4nDr+DWAa+2ricgHaLOhydN5xZ1qAgLmhRxT W2GKb4GoVAVgVFouBhVatKHKr8dCFdVAOmzJc8CAlrwH3wweq9V9EcwH/eB+3ICPm3SO wKRVhvh3dEvwvfkiGTRzG9lA1D2tXrU+poJUoTyol3QCaFVj8WR0MvOLEsNArCnZeF11 VlPuRhXnPMV+df5Q2NE/jTtkzNvCz28GIv3kjnt5h/WFhvxrPjcwHSqOastFvco9ezQF mCnjPp7wDn8ZpDUzOuglkQAjyEq5tVJTpGa2RrZDZl8acElTwqoOrmquZCX+g/TQztyE 4DvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=HvJkj9nw; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="QLKHbzn/"; 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 w68si1194934ila.119.2020.08.28.20.38.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:57 -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=HvJkj9nw; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="QLKHbzn/"; 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=405LapMebpbZGKyTqH82sNgauKYIMyg1QBxS+mWQIXE=; b=HvJkj9nwc/PocX7EsEuMrFeuE nC+hJa71YmZ9f67UyOJ4HHae4Htal1Rdh8WVqhjiBspSSe0iUqr0zE/8vj8LvJysknJgBTiyWLxXW uYXPaJctQ8DDDPjzlHZq7lfaQol18sDRIRDb4DrEve54d3guhTbGxxjs0EFNva7cOzeurXU7B/VCs c2/jtEf69ePBJ1lGhX3iE0YgT/ZQJCMi6maxlTTzdlLRtRLWZ/98wxvUyAz/yBm2yAvnqofGBOGuQ /0B5RJURCPBQamcjuUhqyDCtqPpk2O27/3HIKutnF5kHzEThi5fEreT0rHgsw+ttu7fIU02KHzPQV Tol+Pxk1g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBrhe-0002WP-9x; Sat, 29 Aug 2020 03:38:54 +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 1kBrhc-0002UZ-2S for wcn36xx@lists.infradead.org; Sat, 29 Aug 2020 03:38:52 +0000 Received: by mail-wr1-x442.google.com with SMTP id h15so848286wrt.12 for ; Fri, 28 Aug 2020 20:38:51 -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=7wSp9Uc31N+F391d+EwEdxeVPC+PHewHvyf7Qc4RkB8=; b=QLKHbzn/8D5DxiEtkzmemLHocLZctxdRUhXfO4Le6dGH/nXvxM3stqjNvSsvmdwBbW 5LVKpiq7x/8KzY4/voVW43ErDPDJgyTmO3lcCXiUpncBP87i8dQLKbxfneui0m5LHgu0 ZXDuIB0P31ZiuHWuYbb9gUKFx3fH4k9EaM50MAdhvh9ZR8h5tN7OznpPWRiQnEakwtL0 wqHlE+LuVakeOV9e5pbQiOu8h/y9MG7P/8724a/YlEcOMBoXEKd15xgAKcreYT3MBofh 5+/2/1f/6+D6dU6AKn22W/JQTbqpi+0pQHMi8/2LsaPAIq0T8hVtW0j3t4Tw2PMjZY0m +SAQ== 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=7wSp9Uc31N+F391d+EwEdxeVPC+PHewHvyf7Qc4RkB8=; b=BAqeJYpaWy2UdezSYTcWaMMrpe0xplTKvLP7bQVEQsVX4Tqm8Fa+s/b0Ey9ZMYqH+3 ZUjI9f886iNt+hNNyObHjYVhF16YWN+Zx9HgrQ2WjnUjAiNYAgK54Uu4JODImL2uBqWn zs6qazhF1ivx7YPihdSRDMQmz4GA9g9RY0g+Gi8eJu5McR0dZKpUl3zqGVDaWzh0QwGe eRGKHkARzac8luzmVSC4Ei+a6iSeSxBP8HYE6Onr6n1OrOkmM4f61Bzqxe8WD6WocoZx gFhmKxyobfGcj/BhDWGHGeVQHb1qVcOmb80wDQd/Ij/jsVxv5f7SbX5tb4vGSVSjYtXQ v7zg== X-Gm-Message-State: AOAM530nFZM5BQ2K1wiNtzZk57ukLHUDY6EHgPC2B2t/AcUGxInmFWfz uWwAR/ETNrzlVFKeSnTfBNTuJA== X-Received: by 2002:adf:cf10:: with SMTP id o16mr1589985wrj.380.1598672331177; Fri, 28 Aug 2020 20:38:51 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id s20sm1691700wmh.21.2020.08.28.20.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 20:38:50 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 6/7] wcn36xx: Convert to using wcn36xx_smd_config_bss_v0() Date: Sat, 29 Aug 2020 04:39:28 +0100 Message-Id: <20200829033929.2167761-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200829033929.2167761-1-bryan.odonoghue@linaro.org> References: <20200829033929.2167761-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_233852_182670_76BC909A X-CRM114-Status: GOOD ( 12.20 ) 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_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: 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 --- 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 360348456070..9acf1af14c54 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1717,9 +1717,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");