Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp13819rdg; Wed, 11 Oct 2023 18:49:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwhmtEHnjF++kfzrl/tbf/1qsmTuzHXV5OmbC+xYhS3oIcXFvmqg4UeZARcm9dunqYok5Q X-Received: by 2002:a05:6a00:b55:b0:68f:c9df:2ccb with SMTP id p21-20020a056a000b5500b0068fc9df2ccbmr22926460pfo.1.1697075387427; Wed, 11 Oct 2023 18:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697075387; cv=none; d=google.com; s=arc-20160816; b=PcPTn/xn+7VxplBRetXhPL2bFZtlge+8sQ6NBdaiwZKKIcsCbswB16vb6MsYq5KYpB 80ukczLN5zqMzb3NA4G5T7lwzTQc/trJZVOXW4ish+G+t8Hu3hxVlGI405eTgxVUqFhq 2SHglyjBRn4Bs4u4s+7RzF5/ap/rPyyA044CZ1bZWuDlpiNkxlyI27ksFoeRTmycu4e6 alJ+AusvpZRFYsiRPG8Fih8DFWilPnWx5VQQQF8TrVLo+asum+/hp90ZitmIyKMCeP8I sdd9MqV10JqQvTVW82GXVWM1ul2CqdJekBVu0P6EktSrJShRYCz9ztj6dnFbYKaGCTwQ o+Yw== 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=UiFrKhGcWbbXpZ7qcioP1pDGUT0oKbQ76ae2Q52cOLE=; fh=TSuyMlfOTyCx0zt3ucDyTttlN37QPvmvgk5pf20rBgY=; b=sAPLYnbIsvNLwV63wN/yEEJE1SbyTfHSBy1rAytH+T+0gdwkiVjrHk4GaytJFmrF1x 7esbxU30IEzXEt/e9wKWJwC+z/q9QhUrVkBK2HeZgEzJqYz3N/tIEni1o/8bmLv4EVBD 3WTYo4RtcxKF+6XK56UPIMXFlPQKtsYl+Q3CmIoQrDKyViUCbLD82jBhgL5iTvWrbVBf CrVko1HBPuM9ra3P695OkfE2o9yZFKilvcQXxkTY+VOIKIaHNFEhHJouNbKIgXnL1Qfp 9cyLxcsZcRo4N8IQ0jdzQvT4dIgAfxpyYmdYoCZZ9nD1KDhLa2M8+dryTY+yJH42wggw XGKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id e20-20020a63d954000000b005655e87c8aasi1014905pgj.192.2023.10.11.18.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 18:49:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 95B5D8026EED; Wed, 11 Oct 2023 18:49:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233992AbjJLBtl (ORCPT + 52 others); Wed, 11 Oct 2023 21:49:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233269AbjJLBtl (ORCPT ); Wed, 11 Oct 2023 21:49:41 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11D4EA9 for ; Wed, 11 Oct 2023 18:49:35 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39C1nQ7f9585690, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.92/5.92) with ESMTPS id 39C1nQ7f9585690 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2023 09:49:26 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Thu, 12 Oct 2023 09:49:26 +0800 Received: from [127.0.1.1] (172.21.69.25) 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; Thu, 12 Oct 2023 09:49:26 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 0/6] wifi: rtw89: generalize MAC registers to support WiFi 7 chips Date: Thu, 12 Oct 2023 09:48:56 +0800 Message-ID: <20231012014902.18523-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.25] 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-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Wed, 11 Oct 2023 18:49:42 -0700 (PDT) X-Spam-Level: ** WiFi 7 registers of RTS, MU-EDCA and beamforming are different from existing chips, but we can still possibly reuse most of existing code. The initial beamformee code when associated is largely different, so make them as individual functions. Ping-Ke Shih (1): wifi: rtw89: mac: add registers of MU-EDCA parameters for WiFi 7 chips Zong-Zhe Yang (5): wifi: rtw89: mac: update RTS threshold according to chip gen wifi: rtw89: mac: generalize register of MU-EDCA switch according to chip gen wifi: rtw89: mac: set bfee_ctrl() according to chip gen wifi: rtw89: mac: set bf_assoc capabilities according to chip gen wifi: rtw89: mac: do bf_monitor only if WiFi 6 chips drivers/net/wireless/realtek/rtw89/mac.c | 57 ++++-- drivers/net/wireless/realtek/rtw89/mac.h | 22 ++- drivers/net/wireless/realtek/rtw89/mac80211.c | 16 +- drivers/net/wireless/realtek/rtw89/mac_be.c | 174 ++++++++++++++++++ drivers/net/wireless/realtek/rtw89/reg.h | 79 ++++++++ 5 files changed, 322 insertions(+), 26 deletions(-) -- 2.25.1