Message ID | 20200908182455.2870345-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 c28csp4791585ilg; Tue, 8 Sep 2020 11:24:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzHLrBSi4sEKk6SzifD2bEW/equjxHMwUwqTzIQ1hpIgV2HRWcMcCrrYgXitlcbu5J2orW X-Received: by 2002:a05:6e02:c61:: with SMTP id f1mr27630ilj.137.1599589457739; Tue, 08 Sep 2020 11:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599589457; cv=none; d=google.com; s=arc-20160816; b=YuPaofH1OVbJPZRrVyyfyJ0q33oBE6cIhlspcvmCkMttxPbfv6vDUbIF56XSvqFDF5 EcP6QDizpdPzrygZ1mp5fhjtC99ukVZk3Q97HzTBj3TAGh1yk3dd8PYbe10i6fZczIra r+iCN6GoYA/xiZZqMMvn+JNC+Kjdiz4ZGRe43Ruj+cz6W61YvdfERhmy/w7M7J/5CRaw 7+krJICd23TPxt0kxmI9YL8sBz4fVffbHPvz6hlkGBdBE7s8/ubvB8CR7rBMz/mNAhoD gOgplRycBv0We1iCOi7F1t5Xe8nzukmfw0qCWPu6gnNDbTntqZw8dPjBZQvmNgrZ21C+ 5RMw== 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=ty6pZqincbOHKr1WqJrAPSjYeF6F7IhktPgY5n2cvgLgzhr5y55+NqcWSQvkNS6L09 QnriAIkqIv3yCOAXKZDyRKQiISpS3C361JMKV4crnhazB2KrwyckN2HESHrORtUtpls5 ISUkQPq5t3m1Jjxvv3XFZ63geeGRzE7P3Up9SZ8yd3Zkg07CIaqOhjgaKHEGpGzv3t3P c9eVNaFYOeYQ7dwObZhgs2j6CPPY7U+a6RdhqgFnByQ48Q6MnTI6yaSihKXtIGvtvICA YuNQ8KSVCCwrRam4IZf/xXSO95FQv3OPm68NF+vIfgXr7N3/mhcDioXE4QZV0AFIicGE 7Vcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=H07Yjh4F; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xUo/Mj/s"; 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 s5si187893ilo.145.2020.09.08.11.24.17 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:17 -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=H07Yjh4F; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xUo/Mj/s"; 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=H07Yjh4FcH6XWWc0thJKSHLUV DdSkmI7b/0SRDpKAl9gf8DzTa3HHtuThFXGsrJ/HgcQjHZyW/KIOnroYxUTlVccFE1JqJKivUf/oz mgqeKIbHZfmSelIw87ncyofPrga8kCfwnT57FDmnaEK07cMLoJp8NRgBdD7cGpCQgWSSyY1gtDwpf mCxc8oPAambtZs/aoYTqTDLibW8h2S0QG9N7BJbCLUWVaZhdcwenSPFVuTHorUwk1FnW5kswn9Nvl oT6aDhY5rNqllqgQhubZNYhA8ovfwMMetHbD3voeQ6r3bgEES7klghk2HWiRbsa9PaFO1G7GCR7BQ T9N+sA7DA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiHu-00059E-Do; Tue, 08 Sep 2020 18:24:14 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFiHr-00057e-D6 for wcn36xx@lists.infradead.org; Tue, 08 Sep 2020 18:24:12 +0000 Received: by mail-wr1-x444.google.com with SMTP id m6so256382wrn.0 for <wcn36xx@lists.infradead.org>; Tue, 08 Sep 2020 11:24: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=naU0RpV8J9Z6Qcq0aj4T/awPa3wV7pjar3MjYtbLY9w=; b=xUo/Mj/s1sJsaYWY+y3Gfo/CcSyX9jnhvjfW2EQ4K7CGpNlGtvMSEjilGQHeocn5y1 h6DdqZfXl/hKp7fBVL6kqPAVEthkgx99duEEGk7GmgeYKTQeRlkUXBoCC2LiUZNvGN9W acsu9Ed3pgrhA9KTkXLPQJJgHvvsLBc2IJ8yiIrE3Fbz0c9iyAeTMzJ2yOvFsZa2yWaQ bjF/yATYZMrpqCa+v6rtAcSIvmzeSTypywXZa1Z2H2FlAloN4FnL+9cHycrzBj7HyaTq DjJ5umHfMikKtuSzBrmoOsgAbXbIweymhRrP3xCCYlZJdzVyzVINa73MBwgpkTPR5Obi zp5g== 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=S4YiwmFofmmjwFvSfWxheI+D1tW68yGMjClH2naM6csfRF2oHmc17atVUA6Ait10he kFPv2ZyRfVsEknrWgntK3Iw8wqxJe3MZC7BubA97kBjDi4PD6FslqEITjO96o7ep6W7n n2r0mQw8d90AJul51amHkq3D+4sW6D1Gn7Bx3ju5fVzowTOWLg1LuG1AjgaqxwMrMZl4 TJUQZQ0e2ilAamUhjS9zJbwaIUARPoE1sLaHqU/x7u7eBtk5C0K2InhhnPteWHdARGn8 QNjj/S3yP+N+AqiOG49z77Hu6FuRqedFV9cOGRzIknDfs094YrK1vb/ku4z2EOs9s3MQ 0OUA== X-Gm-Message-State: AOAM533zQund1HpvFlR+rQgtIqyX80NVwj0C5ZODc4/M11Cj0iuqhGFg Iyt6sNxTzrXTMgBOQUzCR2sZcw== X-Received: by 2002:adf:e7c8:: with SMTP id e8mr968198wrn.358.1599589450623; Tue, 08 Sep 2020 11:24:10 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id 189sm330439wmb.3.2020.09.08.11.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 11:24:10 -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 v3 2/7] wcn36xx: Move wcn36xx_smd_set_sta_params() inside wcn36xx_smd_config_bss() Date: Tue, 8 Sep 2020 19:24:50 +0100 Message-Id: <20200908182455.2870345-3-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_142411_482556_A05D6E46 X-CRM114-Status: GOOD ( 12.27 ) 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:444 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: <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,