Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp272422rdb; Thu, 21 Dec 2023 08:44:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEksM0DIIZN1KMOx9GsI8lU/e00FndG7UY+LqJn9L6K6UnPZDp5tUE5LczjBUDgz9XaCwug X-Received: by 2002:a05:6e02:19c8:b0:35d:a93b:a035 with SMTP id r8-20020a056e0219c800b0035da93ba035mr29082170ill.34.1703177059949; Thu, 21 Dec 2023 08:44:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703177059; cv=none; d=google.com; s=arc-20160816; b=f0vofsEexA+gakBQ+0EKXX9JPqT+zC4QT1FK8eGPVFmFq1W2CorD9HhnwLoAn4d6nt WWJi/IN485AaLxJz4kIA8Kt6No/DrFEAlqaLoFlcy/U9dqKYPNqhTKE1VI+sDjuiZlyO 4BCbD+aEA6Z1MNaazmbhXWIpm12vUrpJy2eK5ejhb0MjKljS3jBUlvIn6kHJha57oLZA CkjLqRrh9Zfv+E8wtKh4/UmbX0zdx2alHLe4P398epzi6X0Y+vbELoSqDRcKBHpDQHKr OfkM2wkN0kvzW8NTihZKH6i6HYgzQ7dwf2mbuW1xZ/eQKqS2IOIXLrBaVrC3Hs1ERejM VyKg== 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 :dkim-signature:dkim-signature:from; bh=aSygvLvTthPd559pqe9YTU8NPDJ1TN86SpHZ1+KXmqI=; fh=KsoNWtazjfstHns8t6UZ1pulwZL69aEO39vRs0LPvyo=; b=u2Z6lllkvGj/Eoeza60BmrWfwBeTaJia0Zp0Ebv8QirQMV3ebZJATjEn2iHZR682OU D9S/bDffpq0GapX8DsJU81x/d5DJ92SqKz7+C3Woqn4RL9dSEZ3d0PkGfyTXsIeTNMAG r9MRyLpUkk3P+EfcSniJbNnjy/ZFzc6OBoofNgyCVUZcP1jZ/7bDBzoQCze5ttZrFjhL sLiutAe8HmIS9oR+OJp8siPVfJiHYWCRIgIMa4m3ywBb+jc3oHpbQ3d/51ed1uK3/U3H kVytsKQAPW0ZnxWUWoZCv/XPEnu8gDlswmqybHu5bKRABS6qQZ4lkvxb0Xs7zyg2eCCZ kuuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="tB/XxQZX"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y191-20020a638ac8000000b005bd2b354a42si1776887pgd.207.2023.12.21.08.44.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 08:44:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="tB/XxQZX"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5DE51B2431F for ; Thu, 21 Dec 2023 16:44:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6976539F8; Thu, 21 Dec 2023 16:44:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="tB/XxQZX"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Y/JoTo/M" X-Original-To: linux-wireless@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71C5E55E68 for ; Thu, 21 Dec 2023 16:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Martin Kaistra DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1703177042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aSygvLvTthPd559pqe9YTU8NPDJ1TN86SpHZ1+KXmqI=; b=tB/XxQZXZBV7/KUGZvjwebYm04una3nOVwRcIkI5OSme+Do/WopX6rFCDVbK9qOznTd9Iw Xju10zskii4OvxBk24VeEhHUDEH8uoLzK0sTkACawIvZqXIrlrCEcvTHTFJU/azt49Hm56 dm6iMZXI4MCLFYKcJOnTmg0FVNTSXZmYxh8XNgiaFsLWc3E0ofmfE/yHV/VxC7PhLL+ZQe uSB7oxeUAW9dD3GCpnBAzOgMskKrtzmdTF9HThQBNnsvMF+4MKZh4OGFjDPMGfpIBeOUd0 AIMvLoopt2vnK8YI/FGmMwvSK3/KspuDrpMN4E2pBqrwDvO0mQ7Hts9g94VZ6Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703177042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aSygvLvTthPd559pqe9YTU8NPDJ1TN86SpHZ1+KXmqI=; b=Y/JoTo/MolHtd0MySGcmipFRu8tLTdufF45m7qrMS1rQHSVHsxnz2Lxye+AmwnT/nnm00V 2EgcJ5MhFZYAPUCQ== To: linux-wireless@vger.kernel.org Cc: Jes Sorensen , Kalle Valo , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior Subject: [PATCH v2 00/21] wifi: rtl8xxxu: Add concurrent mode for 8188f Date: Thu, 21 Dec 2023 17:43:32 +0100 Message-Id: <20231221164353.603258-1-martin.kaistra@linutronix.de> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds the possibility to use two virtual interfaces on the same channel. Supported combinations are STA+STA and STA+AP. The conversion of the driver to support multiple interfaces is split into individual patches to hopefully make it easier to understand what is going on. Thanks, Martin changes for v2: - collect reviewed-by tags - coding style changess - ignore CFO for STA+STA - extend watchdog_callback to call refresh_rate_mask for both interfaces - remove port_num check for BEACON change notifications - add macids for STA mode - add number of sec cam entries to rtl8xxxu_fileops - add comment to switch_ports about using the function in the future v1: https://lore.kernel.org/linux-wireless/20231218143645.433356-1-martin.kaistra@linutronix.de/ Martin Kaistra (21): wifi: rtl8xxxu: remove assignment of priv->vif in rtl8xxxu_bss_info_changed() wifi: rtl8xxxu: prepare supporting two virtual interfaces wifi: rtl8xxxu: support setting linktype for both interfaces wifi: rtl8xxxu: 8188e: convert usage of priv->vif to priv->vifs[0] wifi: rtl8xxxu: support setting mac address register for both interfaces wifi: rtl8xxxu: extend wifi connected check to both interfaces wifi: rtl8xxxu: extend check for matching bssid to both interfaces wifi: rtl8xxxu: don't parse CFO, if both interfaces are connected in STA mode wifi: rtl8xxxu: support setting bssid register for multiple interfaces wifi: rtl8xxxu: support multiple interfaces in set_aifs() wifi: rtl8xxxu: support multiple interfaces in update_beacon_work_callback() wifi: rtl8xxxu: support multiple interfaces in configure_filter() wifi: rtl8xxxu: support multiple interfaces in watchdog_callback() wifi: rtl8xxxu: support multiple interfaces in {add,remove}_interface() wifi: rtl8xxxu: support multiple interfaces in bss_info_changed() wifi: rtl8xxxu: support multiple interface in start_ap() wifi: rtl8xxxu: add macids for STA mode wifi: rtl8xxxu: remove obsolete priv->vif wifi: rtl8xxxu: add hw crypto support for AP mode wifi: rtl8xxxu: make supporting AP mode only on port 0 transparent wifi: rtl8xxxu: declare concurrent mode support for 8188f .../net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 18 +- .../realtek/rtl8xxxu/rtl8xxxu_8188e.c | 2 +- .../realtek/rtl8xxxu/rtl8xxxu_8188f.c | 2 + .../wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 381 ++++++++++++++---- 4 files changed, 312 insertions(+), 91 deletions(-) -- 2.39.2