Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1094970ybg; Thu, 4 Jun 2020 00:27:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzES1YBeNTlq0YIBX+4SUxf6hpkS27ufGoCReM6qTFQF0j7ptzXS4dJseNgpUICCjybWjov X-Received: by 2002:a17:906:a250:: with SMTP id bi16mr2624376ejb.418.1591255656803; Thu, 04 Jun 2020 00:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591255656; cv=none; d=google.com; s=arc-20160816; b=gBEfgqDWl77tV8vr3qgwfou6iDTy5OzbOKjE8NukrmnvCvm891eMGj2Q0HkkOADFT0 I9BfJEfwrdfS8iDm0KjSELypJlHknfDos0eUik7a+wI358cKfkPYpcUcH0wYng97of4X NjxS8c3afX5DcuJpPx+Txvmk8O7unYF/c34qczAo15fXbkQekec7+ExXPa6drUCSweFw +LG8y96i6MEstSCxZ2bdikVMsGUW045I/+tGId+/nX8zJGywL56IHqFQTZJpPXF1EVuT ilu9911U3b0NtgkwcitOVY5k/gAp0UgBQQk9bPVoSaToAg4oLPos1XMBE/qUujgk6cun Upbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4db6vbLdE9H1j+uZRRAZcjQsCVdJT7r6bSUYyF6rvr4=; b=kkz3HU0UpzXAUIzh1TMmSxvfTlDo2OfQf4nWPDjv/XqtBSRbZEpSUF35rCdyl1rxUq x+57ZbZeFpVHZSh5TR0GwgtD1IGxxXnm/yHkU/TcSBgTYHl4iUFZGqyL+Z11fy3NcARW UOvYvzlfVv2CfAFgQlAERp5SYLyxLCzG1nJIkz2B1nt5O6ajV6375Q4FEQWkzIH8ojEy APRaVdcoQvXEq2GzRbNFR2+Wkv8gXG4PfwWrH1tQZLoKXScwEdslPqP0v6HUJbg/zcuB rtLql62q5zONyPqis6gI9H/LMAkf7oT3w+ycgCOzf0CUFcsunNk8AqV1tk2JEjk3CHtC INig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si1055560edr.155.2020.06.04.00.27.13; Thu, 04 Jun 2020 00:27:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727903AbgFDH0u (ORCPT + 99 others); Thu, 4 Jun 2020 03:26:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbgFDH0u (ORCPT ); Thu, 4 Jun 2020 03:26:50 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59B90C05BD1E for ; Thu, 4 Jun 2020 00:26:50 -0700 (PDT) Received: from [46.59.202.224] (helo=localhost.localdomain) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1jgk0n-0001P3-5V; Thu, 04 Jun 2020 09:10:01 +0200 From: John Crispin To: Johannes Berg Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Subject: [PATCH 10/12] ath11k: add the multiple bssid IE offset to the beacon template Date: Thu, 4 Jun 2020 09:09:50 +0200 Message-Id: <20200604070952.15481-11-john@phrozen.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200604070952.15481-1-john@phrozen.org> References: <20200604070952.15481-1-john@phrozen.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The FW needs to know the offset of the multi bssid IE. Add this value to the WMI TLV. Signed-off-by: John Crispin --- drivers/net/wireless/ath/ath11k/wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index 3fca51c3f943..2fe4b65850ef 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -1567,6 +1567,7 @@ int ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id, cmd->csa_switch_count_offset = offs->csa_counter_offs[0]; cmd->ext_csa_switch_count_offset = offs->csa_counter_offs[1]; cmd->buf_len = bcn->len; + cmd->mbssid_ie_offset = offs->multiple_bssid_offset; ptr = skb->data + sizeof(*cmd); -- 2.20.1