From patchwork Tue Sep 8 18:24:54 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: 249329 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp4791670ilg; Tue, 8 Sep 2020 11:24:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeeoM0FVpZvi0ACXddLQKQBdTmzp3Sevl+D924OR9QeneFudwUrGN03OWGXasLS6w27JjY X-Received: by 2002:a05:6602:22d3:: with SMTP id e19mr104213ioe.197.1599589464094; Tue, 08 Sep 2020 11:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599589464; cv=none; d=google.com; s=arc-20160816; b=R6wmnK4sRCTEpVQo3zVinA7/W8GcEMQZWp8WKonfBjCbHWBXRsa9vmhgrlXPyZrz1O CxwtY5NGo5HSnpAqlMc7PbWazOYlTKgHdMSL0WhSeiaBJoy+M2hEKDha5eEGCDMlUPo1 d2cjOFDiwTsKdx9zlUtKwR1koy56e01wpKr7+sgYDTouEpXz4PNU0VWl5eV6i9AqJ/nO T+b3AwEJmonhkeP41BvVUmKKl5Azj84hvcLiKOSQat17D6dPxFrXcPzUsBYeaD5pqroI rVPdeZpIEPpjeqt4FnbQlGyq1EPnV5WfMKuGZGE9R0zOUZNk/r8s4tNyfcnkN+RNNr6N YWUQ== 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=XVs/4TtCvAemShedO4FClN1eS/2s9LhDBbsi/ts2mKapBpsMCiR+CTrLnTTyo774/W 4ilTZfWOI9AR15FSEqXl2vYjwJN06Gy0/kp74fxJ5MK6UolT+tNoGOVkfMZUj07bHSLa wrYDafs7SkQjOdPJyGJa/X23WQ50yo/i/tfphYl2OR4Awec417DGSK7vtRxye8deu3cH 33+938BpkqFmOAalKPvD8qJYkSEDS/MO/2YrXN84QVWotctGmJUbLVC0/WUAm4EfuLx5 zyFB/igfpr+4c5OEXjLshAKiynqiHeTeoN1Fw5yZscLW57/mhAkTZvVig61W6DGLUN1L zOqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=hjHcxc65; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HxjEjeDB; 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 g2si219425ilc.2.2020.09.08.11.24.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:24 -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=hjHcxc65; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HxjEjeDB; 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=hjHcxc65lU8ZILmoyjcetpby/ Pjo+/dh5EM4PEwEE0KhZ6rELku3Y7hdvTsufeC8KmSO4zmBDlV6MPlfN48PfRg3Z6HA+Fu9G5kmDU Vf9BgKLpHLIy5tQ03oNx9KPxcpzqm83kvqrCjVurgU4M1cw5VYUC0ExPxaLYX9phekoD5gmUcMQiR SQWi8FQNvs+7PC3B/z8c1CTedWZytXnSsDZc28TKtSXoCGaZw6avyWiaGMEFiyYsgCLxVNPwoj0lZ h261OYxXfSU/J4RATZhr+wLpVMZNyvqKeSQIkQCzwvGDUeOPdnWO3CF1iJwHtYiAtw5WurVYm8vx0 Gm7QuLKhA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiI1-0005Db-7n; Tue, 08 Sep 2020 18:24:21 +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 1kFiHx-0005Ax-7P for wcn36xx@lists.infradead.org; Tue, 08 Sep 2020 18:24:19 +0000 Received: by mail-wm1-x344.google.com with SMTP id a9so310321wmm.2 for ; Tue, 08 Sep 2020 11:24:16 -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=HxjEjeDBpqabIpTm9g8TfVny9NUnL1Xihv2rOtm2tlJTyPEAHZBVpluoQb8Ak53QKY dUPcWsNWEqq2jYhMIvrxQUMq3awrNg//GzJolKw8l4WM+ju7sfe8qAzYZ1xkIQ/BlGc6 DIsYmJxaxA3EW7RQHbi/MUpNvssNh0Pnh5p8WT4AuUmnVHzlr/3dLHpM3CDRd4NgPTwM HMZmgQ7pNw6CRAx3eQF4uFetr217Y5e2n65TMZNIQ9TZJQYQq3WyBKpPcjtkwkasSI0r CRoutRGFOfaDxRWWPnRmnvLwo/NAfZDNrnfkqmsS+uJdQDiw4kqR9jrAIbR0muESpqbY oktg== 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=C9yaW3QxmO//0iCxS3YrZZSdLoJeOgrr2A36Y8ulxwM2rP0kuF6ausn2AQOa/Ap9D/ SDR8doC+4ilNOtcyBz/vQihQmEsDAwJKi/eMitsCkUj4K+KGSgqi5mkwPkMZ3WGcA4Vt LUFcigjOK6QCMT/NtSf8k3JTkXn28VUEcXGLxlJcklARMFQcbljICIigFu9Uxw0L8Zl4 sjWk3G5ksrkzWlsEfAoE1ThvUxqQN2vAP+VOcZPV4jnprld/8V8ddCKZALFuaMNofniI xTUXJU/vfvxUUZ+hX0fRCjbwKXgAS+iIxB2VUPiQg0mr4rHiToPSjSh+BYBi4oVKacnQ WpUA== X-Gm-Message-State: AOAM530/UzNM8PjhdbbtEHAvjQWM7r4PHk/TVTKQFM6G63rAeOaoaKbg NkOQUUpbnzSJDo56nQmK5D1CvA== X-Received: by 2002:a1c:6445:: with SMTP id y66mr445429wmb.12.1599589456130; Tue, 08 Sep 2020 11:24:16 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id 189sm330439wmb.3.2020.09.08.11.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:15 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v3 6/7] wcn36xx: Convert to using wcn36xx_smd_config_bss_v0() Date: Tue, 8 Sep 2020 19:24:54 +0100 Message-Id: <20200908182455.2870345-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200908182455.2870345-1-bryan.odonoghue@linaro.org> References: <20200908182455.2870345-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-20200908_142418_019391_7ED16A36 X-CRM114-Status: GOOD ( 12.29 ) 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_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 Message has at least one valid DKIM or DK signature -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: 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");