Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2787917rdb; Mon, 5 Feb 2024 19:07:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHc2Ol0Ckes6IzHdq6uEC03O7osExRewJvLoJk2fmOPEBzD1Brat+bXHWeuuZHxZBSMa+By X-Received: by 2002:a05:620a:109b:b0:783:f553:989f with SMTP id g27-20020a05620a109b00b00783f553989fmr948738qkk.40.1707188837078; Mon, 05 Feb 2024 19:07:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707188837; cv=pass; d=google.com; s=arc-20160816; b=i+LFqn1ZToOwEIui5bYaBkbhmsW5bvUhNTKUMz4vVu3C/3AeOQM3PxXjOePDwF1gMb 31Sj42+dWyQn5/cVmFIDJ++fP6FnZLCK++3D6Ie5noaYYbQ3LqH1mnZe7b2Mf5oK+Xr/ UPFQMQ+RIinB+C0IRe5BzcLzX5iUDD0IoOPu4zUUicvti2RpmPW5WpXuHuNoVKl0OyB7 xPb+aLhZKbz9oeQ4H3QU6ED/ZAwgodbz+NEPxiy7TZI9Cv1H/c3gGL4KwAQlp9BdawGh 46nHARkgRsBZiCO/tr0AdRt+wFF6naouiPv1+Cp9/czOrbsmmi5UPFXAki5wkgbArEnt yd9w== 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:message-id:date:subject:cc:to :from; bh=xTZQhxt3IUPfQt+iYW/BaewpK9cd25UR+2AXEXcxqek=; fh=G0x2dEuCH5yeGbRA3F3gztCWN2uakx7CCUxqROCn65Q=; b=bPRRH086NMQQd+oacCB8XOQ/fYkXRo+XyO52Bz/mfEYfK9qvwnswRrraHumi9PtTFm sSJRzb841nR3HMm0YWM6xZSxLFlOKoFUTrncwdaMb+xtKSwub+tldyA3Fizyg2G5hUjn JZyPvDJjqkQw2iTs57xygXrbrxVOBUNCiYHFtV6/d4mhB+NOg1qj1bvD5jRlQqWO9wL1 YuBZxEDN1uvpYlfBlGPlM/9WvtZ1O0y6nR+crxeO5EP18c7O2xgA0X7T36+YxzwAEwWQ i3b1gDOdhqORXbqf9WuZGAYbXJdyV4ENEGIer5+WowYYAwHAdrwbZxw0H3KUpNf1AIsm 7J7A==; dara=google.com 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-3187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3187-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVvAyednWVb082FgRw8LWL5OUID+mbwmB1VBzMgYLhjVP6n5zNr8haaCMmGaPdzPHKZ0vuUIScVyZmwmbOgV/sedpMFQ0iQFOe5oOG70Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b19-20020a05620a0cd300b007858da75e6esi555206qkj.731.2024.02.05.19.07.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 19:07:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3187-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; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-3187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3187-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 BCF871C22079 for ; Tue, 6 Feb 2024 03:07:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B45473175; Tue, 6 Feb 2024 03:07:13 +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 512E1482FC for ; Tue, 6 Feb 2024 03:07:10 +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=1707188833; cv=none; b=Ra7A76oDeoFG8LqC+I3YiTRiIQfM7g9Z0jJFHdA2jOIVVMcCraSfkGwGsv5Pvj8lK7FgR6rcfAhuikAwdD5cnbJtNvYAVkqIr2wZMLDeB4xNfQbfN+MOb9/FDnrWH5SmtfoK0FaM9Qx1pbbjU0SBiCPIqmNOMAhyKvp9WYEva4Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707188833; c=relaxed/simple; bh=VWIIeK3gNnP+X41S9FKn6LCXI/BYLYRvpj9a+XAxHBo=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=WqwLaUk8aJtSepBE6HPKlOYlqLYL3ZHKsHaMQZbZCgDak9p/SlCtzOjlcnG9CLPdvdP+En42yUjqHSHy4IDBzCDxof4fZaVe8LArnRtoigNNkoEPzB9HhITUwyKlyNX2dgavU42k0bKkRQdmjFQYg04GLpWEsweSUId1+YnaVW4= 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 416371JZ03532234, 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 416371JZ03532234 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 6 Feb 2024 11:07:02 +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; Tue, 6 Feb 2024 11:07:02 +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; Tue, 6 Feb 2024 11:07:01 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 0/6] wifi: rtw89: adjust channel context stuffs for MCC and MLO Date: Tue, 6 Feb 2024 11:06:18 +0800 Message-ID: <20240206030624.23382-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 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 We are going to add MCC for WiFi 7 chips that uses similar flow like WiFi 6 chips but new firmware H2C commands and events are added, because these new firmware interfaces will support MCC over MLO as well. Before that, we are adjusting the channel context stuffs by this patchset. Since we still not support MLO yet, mostly we are adjusting to support legacy MCC. Zong-Zhe Yang (6): wifi: rtw89: drop TIMING_BEACON_ONLY and sync beacon TSF by self wifi: rtw89: chan: add sub-entity swap function to cover replacing wifi: rtw89: chan: tweak bitmap recalc ahead before MLO wifi: rtw89: chan: tweak weight recalc ahead before MLO wifi: rtw89: chan: move handling from add/remove to assign/unassign for MLO wifi: rtw89: chan: MCC take reconfig into account drivers/net/wireless/realtek/rtw89/chan.c | 204 ++++++++++++------ drivers/net/wireless/realtek/rtw89/chan.h | 5 + drivers/net/wireless/realtek/rtw89/core.c | 23 +- drivers/net/wireless/realtek/rtw89/core.h | 9 +- drivers/net/wireless/realtek/rtw89/mac80211.c | 1 + 5 files changed, 174 insertions(+), 68 deletions(-) -- 2.25.1