From patchwork Mon Aug 3 03:11:18 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: 247335 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp861370ilo; Sun, 2 Aug 2020 20:12:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTBXZbnf1Zgqq60Q9oNwsxuOmlvcFN84SEQQDoUzMVSvoWUw1wx6yundqQId62t0cvVSVi X-Received: by 2002:a05:620a:1595:: with SMTP id d21mr14392321qkk.203.1596424278617; Sun, 02 Aug 2020 20:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596424278; cv=none; d=google.com; s=arc-20160816; b=Vx1oopesThSo6tTLXwKnzOVE9ynFmPMGReTaXNBALJaco5FlDsscDPG6T11k5W7ium cxEUi2wiB1PKDrP67TCzCGydiCIgzu5dKfQBkjytuAZR4LyYnlaC/hRCQ2OW7xFsU3lN GQTshY54rNyddmbgOLMImVqTCFtqIIGxcRxpL717SlnBuL3tkYJVdeDLCK1Fk3lDQuic ekOevU4kc8lHxsCC5bxeRbCg117WtVKTiDgctcPMzI87VYumKzxiYgdPh9xsm96qLAMp AqEPhKCPKjG47JVb8MZ8ucoX40nasZO4l/yvGuEU0VYQ+6CQlZ3ppemI97Sbls9pqJtu Ie0A== 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=g0HdvRhuV4G18nLrdsZESI0j7y/hVX2Da49McYuPcRs=; b=U07x9mBB6aqmutDHSeBK0NifZNy+fDHUWGKB/V1lWHcanmCUnWPNV24xNgJJJCaJ+O Nrl386/hbjyr6MA0fQ59D0+YHwxwpTp4Zyd7J6grPY6g9U5qq2fNaxqwtTIV6Nlq1F/S oEON3frTBMnK80obmYmmeqKcJtZ93TgH6OQEYU5fuiwK4aCQFZSjDfSt1fWFGOs1SSgi hdHN1+dFnjml78Sk9jbkyRXM9CSsGWlSKKTCS09Bs9nqpjvISkDEaseP9R0snclSuZ2n +B//GqRXZItSgRxWlAkJ08pvWSLLcNf7WwRbAk1qfkbfighMFKeGJ0k2aZ/BbmPuckvd kafA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=dLuRgE99; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L1rhFRsE; 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 r6si8171935qtn.308.2020.08.02.20.11.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 20:11:18 -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=dLuRgE99; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L1rhFRsE; 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=g0HdvRhuV4G18nLrdsZESI0j7y/hVX2Da49McYuPcRs=; b=dLuRgE99Qir6dMVNfpWUM2fIX XIBA+RzOPjKJ/Ec+joVGp8sxp3LtpMHu3anDaSKQEHMsOnVkzxmRzb5YPpurHru9gm1YxZQKWqbWx +m08rEnzs/zK0wUMSw4eKmrzPk/ITwJKTfYndNG71LYo2EQrDZfGMZM0iYmh/5J5HuJstMfQYXuoO NP1SSF/ZhjsLAMCy5tN1EIXINbTQ+lS5Ep2E+LNp69snC+UmRj+oZVUhBNJSasHp1Y3SnSG5H/N8o T+L+uEQ+u9ysuQIqDnX3mCS3hoQMvyUKAz74yfxOxbunKI9vulXsbf/BTzFqJi9HQ3VEqWBMBmzzF J+uYVusHQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2Qsd-0002eS-3A; Mon, 03 Aug 2020 03:11:15 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2QsZ-0002ar-EU for wcn36xx@lists.infradead.org; Mon, 03 Aug 2020 03:11:12 +0000 Received: by mail-wr1-x443.google.com with SMTP id a14so32807013wra.5 for ; Sun, 02 Aug 2020 20:11:11 -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=8EodbAD856JPjKx6stA7m96iT9XaLUX9CNtoPFY/hAs=; b=L1rhFRsEfHLjnSsHVVaEBIxtc9NzrVr56RXmtApGJVLIyBuc/hoXN0d53Z0S/kfb0S I7vAIDHZZKsC1gTAc89oWpxfTMF9gDVZ8kX4cuJXHhhV3s6H3j7Jag5v/CMX1rG2DM1b HGByol3odBt5m5ujJbJjIGspKtYQkvqYa3KYytc/09zyv9+08/XA7Mv51D+kkBwYjBLx TwA1uPYRl6jH6V0rW+LQTSFwDztNdLYm547GlzVwR2cfydfw0qbpmd9UisMefBkp5gz9 dwe/X6Ra+Gf1r5WwyuQfmyPppydl4yKqBNVQfZ8Wpvw4quyPWHmav8xhb1aYrwE4Tzs5 BeRg== 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=8EodbAD856JPjKx6stA7m96iT9XaLUX9CNtoPFY/hAs=; b=tFQbrNj3xf0XzN0gp1KCDHYI4+gRPRwJScycINQTu+bJZbhIi3P99x5s1mEGicmGrY laF2WbAE7S9wYW71ZlAfo0ePOlybStzyMJKrQBJMfeI9BINFSUNigfc1IrQfSEcuQRs4 npaPoBY0Mze1WJ9RH7XXOm15sRVxhGvkHpB0vMY/rdRtm3TWCK2FI2BFlUG1ICxhXPJ3 FKOgKL7tRwCms7v01eYzWM3jex9rTcHc1ypHg/IXJIpIscHJZ8eepn9eXXqa1o4ZQ+4q MdRiMKhWSLQ6kXPxQ2LsF21bNKVLeb07ez7pO7hn5UYI7KIyEByRGX62ybw5/mMFR5BJ aOYg== X-Gm-Message-State: AOAM530LzLTecmYM+CaOfiiibh2OQFya78yF6Keu1VgVhn82dnTsh6jX H1+BxcA63qUdBJFMZzRSzID2Pw== X-Received: by 2002:a5d:6a8b:: with SMTP id s11mr12993677wru.222.1596424270640; Sun, 02 Aug 2020 20:11:10 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id q2sm21956857wro.8.2020.08.02.20.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 20:11:10 -0700 (PDT) From: Bryan O'Donoghue To: kvalo@codeaurora.org Subject: [PATCH 22/36] wcn36xx: Move wcn36xx_smd_set_sta_params() inside wcn36xx_smd_config_bss() Date: Mon, 3 Aug 2020 04:11:18 +0100 Message-Id: <20200803031132.1427063-23-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_231111_575204_4A43D19B X-CRM114-Status: GOOD ( 11.49 ) 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:443 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 In order to facilitate functional decomposition of wcn36xx_smd_config_bss() we need to move wcn36xx_smd_set_sta_params() later in function. Signed-off-by: Bryan O'Donoghue --- drivers/net/wireless/ath/wcn36xx/smd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 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 7ad75faf8c4b..6232e64fb298 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1612,7 +1612,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; @@ -1638,6 +1637,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,