Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp454316rdb; Fri, 26 Jan 2024 00:03:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFnjJFUlYF1b8YVCUgrbyhijJAncnmLgyc90zpakkR6IK0BuLx2Xkn7TAR7XyEV80FA8XZ X-Received: by 2002:a50:d54a:0:b0:55d:36e9:66b2 with SMTP id f10-20020a50d54a000000b0055d36e966b2mr322978edj.17.1706256219493; Fri, 26 Jan 2024 00:03:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706256219; cv=pass; d=google.com; s=arc-20160816; b=RFQ3o88iWPjecMiliikvMupiDLxy9F4Th9j4t+zudtKr9TpRS+8ZSbZ8EENrRid3GS G0twsLol3FASurZi6k6Md4epLSXujYAA7oZBPEkKBqP1GFUaRa6vRiCge5gB6oZaa5c5 TMcSVVfb2b9dsAwdDKAJrBPQcs3m2kebIHS8N8Y/7hhCqr59sZJxfiAAcy0T0EeZ2bDg wRqO2XWF7N2HrOG/v3O3dfWLdnLHcTvno+P4XOn1GTcX1nIbaB7Uo8Anga317GtX3FCH GgZ5BFLhdFhn4UNhl5/jZW7SsiL6IHbB9pomjXLUyWorx9SYXA5uXxMzYcTHEpxLCVRL TDPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=xLDhQsgtO4sfKuWbQIw5PGf5VyDuGIzXJBhG+Ky8Tqo=; fh=YoPVXaAq5eaXEDOoIgC8/yBTO6TH0M7FD2LuhiM1g/s=; b=JBDtDBhGvH7E1Pzk0yQVrN9q5mgF3LbpdQdEcafP1J1ZIAAAtnaa8ZUu+VGmzP6+KY 7ppruEF4lPk9jR++3i29uWHn+InkIVwRtphQQvlcbU0WOfeCb7qEIMPw+TkFQr9xvL/v d25CHmaQ4ufwtvaYBDkNxyo0E2/8Gi6S5xey2/hJw63bQrMWQ3FXb4osL206uqowRuzP 9knsEIYvWj4EA3zehpWyjVUvRa2yesjPngYc+AkHXwIMoeboo8q0vxWQAwLe3kMPCOlN RZILubWHcenfAU3Z5iKg2hAXmUQNufzYVvxY8NKOkWHwWPvHpUTfmK3SXW7nI7O3TD8h rR7A== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2522-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b15-20020a509f0f000000b005567c955addsi356979edf.93.2024.01.26.00.03.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 00:03:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2522-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 309B21F23566 for ; Fri, 26 Jan 2024 08:03:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8137E1D543; Fri, 26 Jan 2024 06:35:05 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D55741D535 for ; Fri, 26 Jan 2024 06:35:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706250905; cv=none; b=S0Sd0SAtkTPWfIUsYHJP5iUSdL9fteyuYqW0vc17pEeTJUcCQaPtE5bGJOqR4QWTDjfIlFyb33FSdW5R50Cw46UVBf9r9/pQr+n4iGnFA+x58kQEmvY9fkDA7Uk/g5LniLG/Eo+HjNiRS+oK+cnTYRzOFg9ALvJ4LtB2rIoJ6o4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706250905; c=relaxed/simple; bh=/h05wAKiZa/KbxtYJdmpxJ1xS+hXs2yHcnFn9lWYky4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H3daOMbXaU/T8JMdmefTaBkkZWPLzK+ekEQYcbKe9FSRnU+vpqlbMHAmQh/QIluvEgL0dvhyU0bsxET8K/cCGWfweX8MvQKA7PoHrHdecXqPf+Da86Hk/tAG/TUUd6y81alC/q/RGnEifSnANwcU/mbjxP4783khNE/y7Pw/dUE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 40Q6Yvr362085647, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 40Q6Yvr362085647 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jan 2024 14:34:57 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32; Fri, 26 Jan 2024 14:34:58 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 26 Jan 2024 14:34:55 +0800 From: Ping-Ke Shih To: CC: , , Subject: [PATCH 7/7] wifi: rtw89: 8922a: add more fields to beacon H2C command to support multi-links Date: Fri, 26 Jan 2024 14:33:56 +0800 Message-ID: <20240126063356.17857-8-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240126063356.17857-1-pkshih@realtek.com> References: <20240126063356.17857-1-pkshih@realtek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback From: Po-Hao Huang To support multi-links beacon, it needs more fields. But currently we still only support legacy AP mode. Only update struct to fit expected size of firmware. Signed-off-by: Po-Hao Huang Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/fw.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/wireless/realtek/rtw89/fw.h b/drivers/net/wireless/realtek/rtw89/fw.h index c5c801e9ce3c..ae69e455cd64 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.h +++ b/drivers/net/wireless/realtek/rtw89/fw.h @@ -1730,6 +1730,24 @@ struct rtw89_h2c_bcn_upd_be { __le32 w9; __le32 w10; __le32 w11; + __le32 w12; + __le32 w13; + __le32 w14; + __le32 w15; + __le32 w16; + __le32 w17; + __le32 w18; + __le32 w19; + __le32 w20; + __le32 w21; + __le32 w22; + __le32 w23; + __le32 w24; + __le32 w25; + __le32 w26; + __le32 w27; + __le32 w28; + __le32 w29; } __packed; #define RTW89_H2C_BCN_UPD_BE_W0_PORT GENMASK(7, 0) -- 2.25.1