Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1511729rdb; Mon, 8 Jan 2024 01:12:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGENfT5Vcdzn4YEaeyxldUhdg9EVmSotJISv85bTXW94eB3UAQ5iLc2u3lzFoqtyFv+Sr9T X-Received: by 2002:ad4:4eaf:0:b0:681:35b:ff6f with SMTP id ed15-20020ad44eaf000000b00681035bff6fmr2497395qvb.29.1704705133365; Mon, 08 Jan 2024 01:12:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704705133; cv=none; d=google.com; s=arc-20160816; b=OZI4oE8gn/7iyv4cjJfhUMi5vz8VN700G6VSFewCJX3jVaIcm/JwcLdjOvz/gIltUI 6h8UQP+CnGIeZ7hvREb8TfyuQBuhEC4uKNbqlTAk4pqPdu7bYxnyt6GCR5s/3I61hURn OnHjgSIGVOqylffcl1rFBFJ3EwsyLK948nu1bSO5rXsEaVxdfPlJpUzpBoO5Mnv0OJoT +sdzICse9p8Cv/AfJyzAGdOQ7hpxq79j5o9m00ZnuRxlnz2j9SP6UQtzO35UOa8kzcXh 8Q/yefRROGOrfcHfoRW1A0wSf2jLorRw0z0Ds9p6SRa0zL/WEnc7XLaMcfZIFwumltrM UahA== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from; bh=eTbH/UzGhOubfYauGRHmBcopRo+MsYopi4vmA5TZcNo=; fh=119R0DZRwIns1LRpqAK2A6izyPVjL4TEe6VydCwW0T8=; b=VwHdVcMUl6tJ6KuUG73QkM02Ai6WFOGmWh0q1ymSmVRnjCqDuBOTg0yp3XIOcAfx/R PCcHFECFv7zsuRKeyGsucgRPjckjUXCxZkicbf5aNhxgy5hC0hNlTe7J8tso5dsspCaQ YMuQVMjJkdQH4My4QAWJIPNpVPPghzK3neVY7EruE66TJyBKjl7nHvvaccXSso9KITfn m68FCLxH8Nb/BvSUIB1AAOk+gJweE1EbIoYUKVjSQNfHl1LzlFBxnZHPS2c6M6+c4WIT J9CR24DsJyPaXVM5+HNQ5oywB3BGK4GwcmlDzpIFCAISWVfaE6xKlfv1LvPAL8JxWePE oipg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1574-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f19-20020a0ccc93000000b0067a93cf954bsi7412168qvl.266.2024.01.08.01.12.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:12:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1574-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 10AC21C218D0 for ; Mon, 8 Jan 2024 09:12:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75067111BD; Mon, 8 Jan 2024 09:12:00 +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 272FDDDCD for ; Mon, 8 Jan 2024 09:11:57 +0000 (UTC) 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 4089BoFeA3872869, 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 4089BoFeA3872869 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Jan 2024 17:11:50 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) 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; Mon, 8 Jan 2024 17:11:50 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 8 Jan 2024 17:11:50 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 00/10] wifi: rtw89: update H2C commands of BA CAM, TX pause and beacon Date: Mon, 8 Jan 2024 17:11:24 +0800 Message-ID: <20240108091134.67007-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 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 RTEXDAG02.realtek.com.tw (172.21.6.101) X-KSE-ServerInfo: RTEXDAG02.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 Adjust and prepare H2C commands for WiFi 7 chips. BA CAM is a kind of hardware CAM that is used to record received frame and reply BA frame. TX pause H2C command is to stop transmitting to prevent send out unexpected packets when we are going to enable a firmware/hardware entry for certain station. Beacon H2C command is to tell firmware/hardware the beacon frame and its attributes. Ping-Ke Shih (10): wifi: rtw89: add firmware H2C command of BA CAM V1 wifi: rtw89: mac: add feature_init to initialize BA CAM V1 wifi: rtw89: add chip_ops::h2c_ba_cam() to configure BA CAM wifi: rtw89: 8922a: update BA CAM number to 24 wifi: rtw89: fw: use struct to fill BA CAM H2C commands wifi: rtw89: refine H2C command that pause transmitting by MAC ID wifi: rtw89: add new H2C command to pause/sleep transmitting by MAC ID wifi: rtw89: use struct to fill H2C command to download beacon frame wifi: rtw89: add H2C command to download beacon frame for WiFi 7 chips wifi: rtw89: add chip_ops::update_beacon to abstract update beacon operation drivers/net/wireless/realtek/rtw89/chan.c | 2 +- drivers/net/wireless/realtek/rtw89/core.c | 2 +- drivers/net/wireless/realtek/rtw89/core.h | 7 +- drivers/net/wireless/realtek/rtw89/fw.c | 329 +++++++++++++++--- drivers/net/wireless/realtek/rtw89/fw.h | 294 ++++++++-------- drivers/net/wireless/realtek/rtw89/mac.c | 26 ++ drivers/net/wireless/realtek/rtw89/mac80211.c | 6 +- drivers/net/wireless/realtek/rtw89/rtw8851b.c | 2 + drivers/net/wireless/realtek/rtw89/rtw8852a.c | 2 + drivers/net/wireless/realtek/rtw89/rtw8852b.c | 2 + drivers/net/wireless/realtek/rtw89/rtw8852c.c | 2 + drivers/net/wireless/realtek/rtw89/rtw8922a.c | 4 +- 12 files changed, 477 insertions(+), 201 deletions(-) -- 2.25.1