Message ID | 20200909153628.2904888-3-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp523920ilg; Wed, 9 Sep 2020 08:35:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+RPeKHPmCCUJRZqjnhqiTW7bRS4nT5igjhChLhAruTdPfvvQ0UN4JUrPV07wVjoDS6ZL0 X-Received: by 2002:a92:dd85:: with SMTP id g5mr4110116iln.210.1599665749462; Wed, 09 Sep 2020 08:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599665749; cv=none; d=google.com; s=arc-20160816; b=LO5SCK2UvqrjfD/wuVFxg8HFF/3rzKkPSFeSjVjNrKd51RzLj80xUSwmc3sJ5ygqY8 gIqtMHeRit8LoR1qqzDuJKycp8V1ueiFyr9zK/T2/E3xc7/M4Km4+/RXtVjueNo7ZU/V /751jv2yBzxaeY6YPZ7AFXxsZspazD9dNPrMO33qmhdjkllFrzDbviOV9W3xVyWx/R5o R9gFmowBq8SAbpra/P7TpJ6fRZXOY4zsCOvHKuxas+/kpYuSCuY/6JUW9o6+zzf02mTo xNxOZS0gB4Tk6nmyeWvwd01Ynu9wCyy/x+smh5fxJxqUBxE4GY/w4m3Lz0PN5RF/9on1 +KOw== 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=4dUzqF9fIIwCX8jp4K8dGbifUmFhS24ZbXMGdOq/OZ0=; b=slhH+6MdI/Zl5WII1fvccjnQnZiTqcQY5rrFAMJ4AvNFv2R6zgWjsVZbq5jXoNLzS3 ZmYbw+2y0nMqPsJKqCBL6sUwMOAds1MhVd+wKGmQ9tNC4nmJiqZDj6qgRu1JPo5s+brh 9WDiMd/OP5e7FFio6RHJ3Rh0ZQyfM+FTUyGvc2eo/hl/VKKsjmYdfDdRPxwhCiXlpxS/ 5+TJ9en36+3R4I+bFeSGXnW+EbICXTUmu3Vc66mQonXFkOYbDQtWGHkufbmVSXSaCfml fmzebxE0G57KU2KgbWkeP21pcx9bb801LCI3SstD8eA/Y+4Ft56LCUduOfBKurFBE4B1 3GFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=h8bbHuXL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C2o7CmUp; 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: <wcn36xx-bounces+patch=linaro.org@lists.infradead.org> Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id u14si2319289iom.12.2020.09.09.08.35.49 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:35:49 -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=h8bbHuXL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C2o7CmUp; 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=4dUzqF9fIIwCX8jp4K8dGbifUmFhS24ZbXMGdOq/OZ0=; b=h8bbHuXLJn5zDWLzIpclPeHu8 xF5oX6zX8ZTF03W4MZuGWSYFpftKCqDd/PHZEU46g4YNEKYk7SS3TZmhZuBpM3Taw8Vob6AaJzxKH mbSfVTvcSV8KYgxurPEVLrCzP2LFuGt4BvIftUtUWco5nIYFqva35bRYHEWRGk56C5ejPgQlAVYPD i6OJ2r0gkPUm0cpYDC3Pb1jeqdso/S7mdNsTokqy79itCxhMxwomhpqZmWoHoxqJmmPURfZXvozlp 7bJPtQ7d/Bdd5sY3kUHfrcya1ikb2ENA/KyX8SzuUHAOeVRYFwCDu+0XMO4g3ANoLlZ+CjtiB6ITu e3LIWsZRA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG28Q-0006TA-53; Wed, 09 Sep 2020 15:35:46 +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 1kG28M-0006RH-JY for wcn36xx@lists.infradead.org; Wed, 09 Sep 2020 15:35:43 +0000 Received: by mail-wm1-x344.google.com with SMTP id k18so2811794wmj.5 for <wcn36xx@lists.infradead.org>; Wed, 09 Sep 2020 08:35:42 -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=naU0RpV8J9Z6Qcq0aj4T/awPa3wV7pjar3MjYtbLY9w=; b=C2o7CmUpJtKLs9TEWpSRunSOxPh+9pLoyKfJLJMjnmv3A2fRSeKqUnjBwGd/5ErmIT f7IWJ+Hbl9+5RjVHYczBuBABIZt5dtffPjB5VkM1uu62D5JaP4gpvW9fuc8xLh9ZrfWm yjD1zxEfn+5F4JDjg6lAadJjQsyqiXNo0/Lgn+fJgWfVvbe764x061ER94+Ozi0AjtDw 1Mj3PeXXqF9xnyIJD+2d1XtoUNN+Z7DI+tp4NgQTKYER/XGrScZcHSyiHxiWfY4GG0xx 4rp5DMfJo2agzwegtVbuRLmLptFpxnm3C6SLSKWc+yR+IxNJkrQ5wDedhP6fNiqtTOhl x+eg== 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=naU0RpV8J9Z6Qcq0aj4T/awPa3wV7pjar3MjYtbLY9w=; b=qPSz27CJKERcHHM2mFUlfis9ybXpCDvBlQSTf7r7Fp1mR1W6MybPO7jO/0J0v9kb8Q UcWQ5eFUHOTGLSeyqzIO47+FL46VII37hTxNNt9tR4//qhJj5Hgy6xrz6CTzu/UH3wD/ jfQ7tFTIPQALIZXjd6icq9D6maqBK2ekoAWfGR8A15GWC5ORNSG2fHBP5qFD/SDzTPI2 yjOiPyBktSqRuPOoASlcc34ns+QTTgsSjLCGeainEsiFX3+0mQ93/cz1omERgh+YSpQR Eh6dqYONTKGl/xJ5ZLkeOzgH3Ps4kZqtuRTvdwIBlYHyx0ps9qSxjsguY+ZxhuvVDsaI 1qdg== X-Gm-Message-State: AOAM531Bx78Xxr8+OkZU1zmawCaKgHDzsmWLEXekxghVoDZNxnUASEeC n1mr2k11p2CP1bqykMJhyItXug== X-Received: by 2002:a7b:c182:: with SMTP id y2mr3754745wmi.21.1599665741678; Wed, 09 Sep 2020 08:35:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:35:41 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Subject: [PATCH v4 2/7] wcn36xx: Move wcn36xx_smd_set_sta_params() inside wcn36xx_smd_config_bss() Date: Wed, 9 Sep 2020 16:36:23 +0100 Message-Id: <20200909153628.2904888-3-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_113542_708584_E2B7E83D X-CRM114-Status: GOOD ( 11.13 ) 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_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: <wcn36xx.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/wcn36xx>, <mailto:wcn36xx-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/wcn36xx/> List-Post: <mailto:wcn36xx@lists.infradead.org> List-Help: <mailto:wcn36xx-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/wcn36xx>, <mailto:wcn36xx-request@lists.infradead.org?subject=subscribe> Cc: bryan.odonoghue@linaro.org, shawn.guo@linaro.org, loic.poulain@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "wcn36xx" <wcn36xx-bounces@lists.infradead.org> Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org |
Series |
wcn36xx: Tidy up BSS/STA config
|
expand
|
diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index e26752396bdf..28a571918b19 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1606,7 +1606,6 @@ int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif, bss->ext_channel = IEEE80211_HT_PARAM_CHA_SEC_NONE; bss->reserved = 0; - wcn36xx_smd_set_sta_params(wcn, vif, sta, sta_params); /* wcn->ssid is only valid in AP and IBSS mode */ bss->ssid.length = vif_priv->ssid.length; @@ -1632,6 +1631,8 @@ int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif_priv->bss_type = bss->bss_type; + wcn36xx_smd_set_sta_params(wcn, vif, sta, sta_params); + wcn36xx_dbg(WCN36XX_DBG_HAL, "hal config bss bssid %pM self_mac_addr %pM bss_type %d oper_mode %d nw_type %d\n", bss->bssid, bss->self_mac_addr, bss->bss_type,