Message ID | 20200910150631.2178970-3-bryan.odonoghue@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp825960ilk; Thu, 10 Sep 2020 08:05:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgA5YyPLpgCkh1MU8zFKW1mxH4nmeiNdx5wC0uAu4JJwNqRXloNORIi/3CW2r3YVWA2CJW X-Received: by 2002:a9d:600a:: with SMTP id h10mr3361476otj.170.1599750352698; Thu, 10 Sep 2020 08:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599750352; cv=none; d=google.com; s=arc-20160816; b=Q4/0EJdV7SiGHUbhPETtfyoOQqBcd8lm3VTLOdFbyht5PQ6kMUjlg0k6bmpcP4yGOV vwy9n6m+vp0OvPw7bJztWAw1BUNYK30V/kKetnbBKhlTIvBLoms9GjhpXewpYvbKjSph ZGx1qmMI6jytHWYGV3AvL81bzm9kBUlmcDEh/Ea8PZd6buUlKRDiIthhA87lEJl3vUxr 6MeVNM1a6eGRvcwDFRrej19NREmffTpLOrrF8WPDfWDY+RgPM1q8OqUU/i/vSaBAaww8 NrjmpX76iYhPAD9efkoY3K9eKF8lw4EvuB6Sd5ubap9vHidRksRnHN0uZETxRNRNTAua cZyA== 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=cekZ2yyvgiDoJ7ax0WH/vREFgD+8zs5lzcg9adBl07w=; b=ob1ey/V1V4p/RPH8bNdVcnYijcahC00jHOdAraDw2dHnCzrSsyKzEvdoCLD1tU+bW1 CB7vuxmOHN4yTtrSbNY3eMVO5QvF97E872PeonEOQk0WtQYj3tnxaW63VpH5AIMMAHZ4 2ZPtmWDDYs7phstopj+Vrn46RI8yott5o/bUxuYFFyGHeFknNz21a+5CjeKJ/9s4DkqX a19xUk8mO4ohqXgyqPlO5kyJniTRDV5ttmwrncK5IXbLirsJG1y7ek+QefNlsWEOPRJY tx7ITvazgLnnhq2Z4zUbUCX0Zv8E/XuAk2e9UdKRCzdqtRnqhL+qqNmx7VKKNjYXtcpV PXEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=Y2fIAb9O; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VO7fpuHq; 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 r17si736216otk.297.2020.09.10.08.05.52 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:05:52 -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=Y2fIAb9O; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VO7fpuHq; 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=cekZ2yyvgiDoJ7ax0WH/vREFgD+8zs5lzcg9adBl07w=; b=Y2fIAb9O3Xvs/2IvQr4wSHxSP qAaVUOJO2S/HIDnBITVV70CWtzB2VEDw1CqmAstLjLPEVIVo1a7lxTZ1OcVSYUcBhm0OhlpWf4l7T k6Jj6iA1dg1403mAxqDy2iBY/F74BCyoPdjhhA7llfU9+L1DyGYoi3RIZWlCKg3eg+XkfvEA3LGVR UgOvWbyRNbSdBDSr5eA/NZ7B70lBwBMNJnICp6Q+CORRESWyiTPMTsXIdER57qJQiPtN7YMYpBctW RX2nH6jv+Nyil7ZF9wsjxs0P/yH4PZmXcu8Z+It9gHIDaQ/Kpt56RZ7qlQ2gE6BCyzt1o+ETa4ox+ hMwF3PHfQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO8z-0007gZ-Dv; Thu, 10 Sep 2020 15:05:49 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGO8w-0007eh-Tn for wcn36xx@lists.infradead.org; Thu, 10 Sep 2020 15:05:47 +0000 Received: by mail-wm1-x342.google.com with SMTP id l9so373519wme.3 for <wcn36xx@lists.infradead.org>; Thu, 10 Sep 2020 08:05:46 -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=TSmlKxa8tfftdzKPtW1OR0b3dc7k+Gxn+7syuplFMNk=; b=VO7fpuHqsdhMHthwTUSalazntVQBN4BaxAdhtZ3mhGhxzgk6z9lyBeCGM0jG1aWkAS IqBgziRfD7RUCgTPh/ZzKJCDmskLEGmJaT+5ayggvKm8SYYyrcUCLdPBLB90qEND90io Snz27uNhXQn/fMWJ1ibTnK4VZXxY4TDaIxS8y+CeeDawO1LP1VUvI4OT+imCQFtsZzq+ PaFaJVPOW2fcf9N/qzzpl7KeMpvVlhcx3Er+uHMDU93BjlSKJnfFVMFVPx+TbGPY2JSO 3eaZ1Z3Q/aqrR8bvyyu7VFWsIGQ2oo9q0adDade4MJzDpuQpE+oose9SZkmgqhOuIAxm v0Aw== 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=TSmlKxa8tfftdzKPtW1OR0b3dc7k+Gxn+7syuplFMNk=; b=m4RMzZ0MZztEIu2Nf+gWokcnezIXMo2FRyKuRv4wvmsT0H61+0vTRO7BHNTNTptGEf Ee31JdReejeDtavr7Hqv64EJOxJCJLxLtkimO7dpyuOp0xnBDOF1hEMmZ6nYHcCWMn+e QaFVvEajn8Ih6WzPdKxD21Ke+JCdAvD8Gd/qAB0HsxXXHiyqLWovx70XT/bYiNPRHmzI fkOQOccY1WsVf6bGJJXxpR/gkeqLrJiaOB1JC6I8KlrRIUgIzSQEccA3B4dqqdI6nuO+ 7rO5JhvhZ2/g1U0qALqobvYiZ/sWz3RG6a2jvPOB0KJSCYV6k1cJRalA7LCT2GYYUHLP C4Zg== X-Gm-Message-State: AOAM533E/AIoxUh+Yut7RdpaK8n96WfEU8Hu7bH9xipBy9cyEG/+One2 Cp+cqdI89CGBLN+Zj9wvfQoQOA== X-Received: by 2002:a7b:cb47:: with SMTP id v7mr470670wmj.36.1599750345707; Thu, 10 Sep 2020 08:05:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 08:05:45 -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 v5 2/7] wcn36xx: Move wcn36xx_smd_set_sta_params() inside wcn36xx_smd_config_bss() Date: Thu, 10 Sep 2020 16:06:26 +0100 Message-Id: <20200910150631.2178970-3-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_110546_974778_CDF077EA X-CRM114-Status: GOOD ( 11.57 ) 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:342 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 475d4f60185c..fa4357b36a8e 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1624,7 +1624,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; @@ -1650,6 +1649,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,