Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp846654rdh; Thu, 26 Oct 2023 18:46:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHlq2aP7Y411cD+RoSZFi/HRldMHY83qLS7u5US/EmG8FzQnW4DhZevwqGxEdXWPBXsI3J6 X-Received: by 2002:a25:86c7:0:b0:d9a:4b66:72a4 with SMTP id y7-20020a2586c7000000b00d9a4b6672a4mr2303209ybm.31.1698371191884; Thu, 26 Oct 2023 18:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698371191; cv=none; d=google.com; s=arc-20160816; b=XBbH+Ccg7+B9L1lUEai71f3ZQnJOhWZL6iVg0wqX2A5QPKQ+9Z+QPbQV9G5JMhnPYt BpasrcMKhSij+I29wE+JCoCVqDCkvT20VKYkfs7NwZvtyhH9fNVcghdPV6nVZC4n0LLG gKAQiRs/8L840kHd4irZA7h7vqO6WHOxgyiVC0pcQnweZYCJY+piy+OOBj/t/E0HnD3r o11sPmn5I/wU+5URtmOqZ1Mb2kaiZYfxZ1Fn2367o38Qkq/Ga4OL38jprIiu6/ej9c/v atYITs3nGi28uqd8sQ5RTchFXhM/JD4ZzglE3d10hgOCmjG5H3vDVRbGYAxXslUXsjOG NgfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7bzFKentbxFNdwy6YxaXAFYU3aRgI9pcMnz5kn0J8L0=; fh=TSuyMlfOTyCx0zt3ucDyTttlN37QPvmvgk5pf20rBgY=; b=LYs4ubVIm9i4TbynMyBmZAExs8fVGaqSfAJp6FndCRKUsQfzXWNX0UUwoWYt07qnnp 34ajAftJwxYmf1dh0G94MlLNKzkXMxSkyRaxIS91UL4YlzUH4LwBtt3HBEAlQSsVKs1S U6pbcB0VdJaYv7CAp3kAE/kksq1HcIQMVP4HpZGmnxWGtvjAt4N9MXParGi2ulYuPnOF bXhYmTBMvXiCNoVzyr67mGbtPnjiVUbvZmvMAcTp4xztvCfcWvqYZ8Ki9/wpfAj6HCp+ p0jqX7i9U2nEG/exSDmlw+kIfbavP/YH7DZK1NUUY9uBs8iFyMKyiwskpgdGgtfyWU2G AeEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k140-20020a252492000000b00d7dc8ddc040si966215ybk.152.2023.10.26.18.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 18:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4A9E68098436; Thu, 26 Oct 2023 18:45:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbjJ0BpO (ORCPT + 52 others); Thu, 26 Oct 2023 21:45:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjJ0BpN (ORCPT ); Thu, 26 Oct 2023 21:45:13 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92F8BAB for ; Thu, 26 Oct 2023 18:45:09 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39R1ix2H33456085, 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.93/5.92) with ESMTPS id 39R1ix2H33456085 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Oct 2023 09:44:59 +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_128_GCM_SHA256) id 15.1.2375.32; Fri, 27 Oct 2023 09:44:39 +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_128_GCM_SHA256) id 15.1.2375.7; Fri, 27 Oct 2023 09:44:38 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 0/4] wifi: rtw89: update address CAM size and PPDU parser to support WiFi 7 chips Date: Fri, 27 Oct 2023 09:43:58 +0800 Message-ID: <20231027014402.9448-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.21.69.94] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback 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 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 26 Oct 2023 18:45:33 -0700 (PDT) Patch 1/3 is to fill various entry size of address CAM accordingly, because hardware designer shrinks size for new chips. Patch 2/4 ~ 3/4 aim to adjust parser of RX PPDU status, the logic is almost the same as existing, but size and fields are changed a little. The PPDU packet looks like +---------------------------+ | RX WD | (RX WD is fixed length basically) | type = PDDU satus | | | +---------------------------+ | PPDU status - MAC part | | * basic info (8 bytes) | (basic info indicates if following fields | - usr_num | are existing) | - with_rx_info | | - plcp_len | | * usrs[usr_num] | | * rx info(128 bytes opt.) | | * plcp[plcp_len] | +---------------------------+ | PPDU status - PHY part | | * basic info (8 bytes) | | - total length | | * IEs[] | (iterate all IEs within total length) +---------------------------+ Ping-Ke Shih (3): wifi: rtw89: set entry size of address CAM to H2C field by chip wifi: rwt89: consider RX info for WiFi 7 chips wifi: rtw89: extend PHY status parser to support WiFi 7 chips Zong-Zhe Yang (1): wifi: rtw89: configure PPDU max user by chip drivers/net/wireless/realtek/rtw89/cam.c | 16 +++- drivers/net/wireless/realtek/rtw89/core.c | 86 ++++++++++++++++--- drivers/net/wireless/realtek/rtw89/core.h | 3 +- drivers/net/wireless/realtek/rtw89/mac.h | 1 + drivers/net/wireless/realtek/rtw89/rtw8851b.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8852a.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8852b.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8852c.c | 1 + drivers/net/wireless/realtek/rtw89/txrx.h | 4 + 9 files changed, 99 insertions(+), 15 deletions(-) -- 2.25.1