From patchwork Thu Jun 4 07:09:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 11587093 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AEC7314E3 for ; Thu, 4 Jun 2020 07:26:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8CCB12072E for ; Thu, 4 Jun 2020 07:26:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ph1UMcuW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8CCB12072E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phrozen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=ai23gWYt6Wgb9gHPwsP41XQ1LsmyTjlyFybGBvyOnYs=; b=Ph1UMcuW8VLg5u GuS1Z2hykwCMLM2hNnFvTixTw31aPHRYfZnDSc9JjYD5vKmC4lGCUpscAjUd8iOvTTc1n1SvTmGE6 59R2L1ZQK7NUgBFdHYu5V8a+56Jp/RkQCN6cCGKSNPI0SLZxY0zaNXkJFmqTtiHZ/T98ehX1VVE+o X5CSICL5r3PzDzBQiy+UGLEmjPnz/Y0hSP/JkuJCSrBN3dbG//L16T9XFUF7a10sVtgXmlPPlyBlh BoaovAZ4zeTC0cnsey48ubJw2WMGC8H8UWzsFWlGKYh2a/y9fnKLznYCfE2V1go6NgjgQcMzIbMQ/ vqLrgdUB2AfcFBjcfhsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgkH8-0003z3-FO; Thu, 04 Jun 2020 07:26:54 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgkH5-0003xa-EC for ath11k@lists.infradead.org; Thu, 04 Jun 2020 07:26:52 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200604_002651_632186_0B35E047 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.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);