From patchwork Thu Sep 10 15:06:30 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: 249644 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp826038ilk; Thu, 10 Sep 2020 08:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3Nv6Qe8zHUSjAnLIas/xD4az3H9WK9hPv2VDuFQQiiZdGXp1IwGbaIN2qhx8chNqDXuVG X-Received: by 2002:a05:6830:1509:: with SMTP id k9mr3947354otp.226.1599750357188; Thu, 10 Sep 2020 08:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599750357; cv=none; d=google.com; s=arc-20160816; b=mgQUIjRBwaEOdtKobCJdnU8ynfmXO/U8axSCIIiRwATdrLoI24W5shh2aQ5ZxPO8nN QhMmfTGJkqRrtqyK7X1TxG6rCZgmKx0EXVum22vx3e8tZIZ13ux8QhcymMyWECJgFJtu rB7oo7G2m8W4vcLO+abKYm6vYSPDzdoK8MQNSFMlATtEAqLF49e9UZDUxbndfqSEt/XF G399H6sVeRS2QZc08RsrzgOUEDqLL01IhoQAqc5jvAPLcOSe/GPBbGZ4TIAOYu1ca9DU ER7EkkJgd9To50CyF+KXVxmuDsKU8/IkOZJ9yYGouF8UPmVCCEUHrNL2lL6QRGKIgKUM HhQA== 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=uKOXhkQhe+yBkfK9eQojSabA3UfbicPZdI7QcS+C9JU=; b=ayXc77FfGBpzAmpfHfpC8p9V/EyHzhrcpVAG3fkvxziZlVwc+99XuFA3V4EIh1gBro 6EgtoCtC0m0FfYQO4JZ6V0QVbVP+WA8Y4AOGxEXEA1KD9GDMTA7JfYKoXiBXS8L/J6Xv /hn/tZnigwHMkV40psMDBUSleGiWbEsVwmIlu0gplrv8rhvAlX8ufyN7jMQmIRPhFGW8 3gx4sk92mqvg5fyO7/x/FhuENW0CWArQpttqqAJ9P7dP3BUuX3fZOjUpDto4G2qu8rmh 4urSfs8UdJW30VlEUaMigFb03W+iD+bhfpsvieSTChd86HWK7JA0FgQ4QK2DXlIexpSf fU9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=mVAeiOE8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EpVdyZCt; 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 i127si808746oia.148.2020.09.10.08.05.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:05: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=mVAeiOE8; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EpVdyZCt; 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=uKOXhkQhe+yBkfK9eQojSabA3UfbicPZdI7QcS+C9JU=; b=mVAeiOE89SCCvJCtN2fh3Ad+h zoI43mUc26HQjJm2+X3jtG2hHalLXr32v3DsxV/oIrXPnK/jk6oQbzRMGSYl2oiHZ2uDls0upBlpw nIfblukUcwxx3AQYprDIkQDM1hT98SRpJmQTZID2J5Pxa1lC/1vvY1OF8+bgi4pDcF7c7OsTTj5iI 5yuWaJJbPT0ZQ6WenBLbg7mxISIHAHX1mF4WzM4/VurcQUYGGlUB0GlRZ2msUolZngKJd18A/2L6/ xJRbB039edQaztn6kpM6bx182UdEqR/K3tYd1EPMkXTw2Ovu8eWNaIxCfTBAaM7ZFeh9hJeGCQ2wa 4SgsYO7fQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO94-0007jB-98; Thu, 10 Sep 2020 15:05: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 1kGO90-0007gk-BK for wcn36xx@lists.infradead.org; Thu, 10 Sep 2020 15:05:51 +0000 Received: by mail-wr1-x442.google.com with SMTP id e16so7110822wrm.2 for ; Thu, 10 Sep 2020 08:05:50 -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=Vs96u/qi7chpLeX5SwWqqSg+eACXy2WDHCGDCKt1xWU=; b=EpVdyZCt6A7xsrh45J2RD2x0lR3dYPwxd8i6XP3A+vCmpVx5iv66Upql1TH5ezlixe Q8pMtpLBWKf9dCtZW8xP9vrrkcYsn4kbS4r1Yf1p/XqMbh2I8zZqUa50+QRJrQd9Nqig emrzwZG6AkP9AkJ2P+9M3wIOtTlmf4CUFCMo/pjpy/s/L+rDgL0cueu2Ca+7HfzszvK+ 2UIideNvjNyYoQ1gff/hPYlwlA4AHDqKIg76LSOYDG3O3R1El/WozPL1C9owmBy5uWZ+ BAqBOFcV9QIfT8K4wgqydBW4Pe7S5WidrPmsXc2LA/wpeMu73Xcw+a0yE2bYmJbOciTG g+cA== 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=Vs96u/qi7chpLeX5SwWqqSg+eACXy2WDHCGDCKt1xWU=; b=poA3GIAQ246VIfYRFs19Ru+ePCfIYuXWAotBampvVjq54qsJwx/sDfIID+uADAXXSf nyty34ei0eTvCE0tWJcCGbHTaLGpWSAKrCElZlQ9vh8YGZJeQwaDOgYVDNZvl1Tvr1Ng ffnUJG/wMa09fz9Asr8GQvtzqgUO1X/jc+oofyHSYU84AB5DerqQ1Z/rmPpFbWSsQnXL yHfH2xudduOFoFCO4MS8qjAT5Rz/hKFTDnRWjA6yis7koD8Nj4/IWSOfHpStw51sQ1a1 sZHFm96AtabR3c/l6SdmsqnNgoRj/fayTAh4T9OGrS0WHDtmKKkDAlCB14TZzz9mpLKG oKmA== X-Gm-Message-State: AOAM531fQ0uvv4ktfSFocbvWNYmOhdIAg4DhqWhg9QFnIiIcO0U4xKCK uazXFXodw12g4Vvy7PFQdaxYgw== X-Received: by 2002:a5d:668b:: with SMTP id l11mr9187531wru.89.1599750349431; Thu, 10 Sep 2020 08:05:49 -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 k24sm3857005wmj.19.2020.09.10.08.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:05:49 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v5 6/7] wcn36xx: Convert to using wcn36xx_smd_config_bss_v0() Date: Thu, 10 Sep 2020 16:06:30 +0100 Message-Id: <20200910150631.2178970-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200910150631.2178970-1-bryan.odonoghue@linaro.org> References: <20200910150631.2178970-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-20200910_110550_431618_246144ED X-CRM114-Status: GOOD ( 11.68 ) 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 57833eec16eb..5ae6a2ccfebc 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1731,9 +1731,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");