From patchwork Thu May 19 08:16:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1633117 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=LiIjHXa2; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L3jPT3xkLz9t6g for ; Thu, 19 May 2022 18:16:44 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nrbKn-0002WV-NU; Thu, 19 May 2022 08:16:37 +0000 Received: from mail-pg1-f173.google.com ([209.85.215.173]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nrbKm-0002WM-P7 for kernel-team@lists.ubuntu.com; Thu, 19 May 2022 08:16:36 +0000 Received: by mail-pg1-f173.google.com with SMTP id r71so4451241pgr.0 for ; Thu, 19 May 2022 01:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=VchL0YCkhueaXQD65akMJclDVF48n3E+aIG5dxFVdY0=; b=LiIjHXa2gWQPuN9ZshQ38F8+fTXh62+FKmYzBPy6bbW0Q3ULazZW/FiQosqvTE0VzE F2xfsZYFVrBh7jvvB7umVjRLgyrPLCUHmoZgnkT9GGV5PjjkOwHSw6wZtPh6afbu+752 zO1d2MkSMfxsliNz5alZYmM5TEz67uY2F9SFxti5qVJGR2DmaK12mVF+1yrCNYz4jKNk 9g/cUpzSajq+0MR6ytORCDfq/PhAKDYPNUOLVhZEv/xxQskM+HoiCZ+6GiLPzd7FLhZ+ m2q1zBaa87OuL22zPZU8/VQbdaXLILMlWNvXCYORR/VpORiQEswH67WtecRNyymXLAjm 7jwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=VchL0YCkhueaXQD65akMJclDVF48n3E+aIG5dxFVdY0=; b=Zv9XZFm1DICY/q68TUi+P3MyHYbv8QikU7y28WKEHMszQBf7icDcBrJ5QkztgqT9cl BKCrgRkUEj6E2+tV5otgsDb7xbeHolbi8F8kWbzNhJLg1RlFfPJFjAKx8cvnXQopJfUN p6i9Cvoj+1Vz0S+wv/E22SuvlHO2d8nOPdjZsbel36024jHBvOih6JMS8v1nLXyNnpNu X25m1iNfqSodvTJfF3iiP3xE0WqG2EyZmMnE1bMRro3TwXziF8i4V/E4o0i091N6H2oj KkKZI22YkiDgP11910F00sDIiwE+BBKdSj45Nwd3tLPj16K3KtzZeyBZ6wKzkger0vx2 ig7A== X-Gm-Message-State: AOAM533hb67qdeOnMLNgWLc7P7syA9dIPNk+pb5/074ijTbsFx8fEDmL G+R+Jr0jtqSxHGlYCowrFwYmJAswuVc= X-Google-Smtp-Source: ABdhPJyEJqqZY2RljKniPccIOKCgZWeXL3iPLdRTDKQ6Vx9TcHDI01r2X1mCnA7VmsraNAOYg30a3A== X-Received: by 2002:a65:61b0:0:b0:3f6:5569:94e4 with SMTP id i16-20020a6561b0000000b003f6556994e4mr78268pgv.430.1652948194387; Thu, 19 May 2022 01:16:34 -0700 (PDT) Received: from localhost (220-135-95-34.hinet-ip.hinet.net. [220.135.95.34]) by smtp.gmail.com with ESMTPSA id b10-20020a170902650a00b0015e8d4eb26bsm3045848plk.181.2022.05.19.01.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 01:16:33 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/5][SRU][J] Enable hotspot feature for Realtek 8821CE Date: Thu, 19 May 2022 16:16:27 +0800 Message-Id: <20220519081632.1555666-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.173; envelope-from=acelan@gmail.com; helo=mail-pg1-f173.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: "Chia-Lin Kao (AceLan)" BugLink: https://bugs.launchpad.net/bugs/1969326 [Impact] The wifi hotspot doesn't work without the fix. [Fix] Realtek provides us the patches to add this feature which are still in linux-next. https://patchwork.kernel.org/project/linux-wireless/cover/20220407095858.46807-1-pkshih@realtek.com/ ece31c93d4d6 rtw88: 8821c: fix debugfs rssi value f5207c122102 rtw88: do PHY calibration while starting AP f1c4dabfe68d rtw88: 8821c: Enable TX report for management frames f2217968ffda rtw88: Add update beacon flow for AP mode 6723c0cde84f rtw88: fix incorrect frequency reported c1edc86472fc rtw88: add ieee80211:sta_rc_update ops Realtek provides us another series of patches for 5.14, and it contains 5 commits, we'd verified this series of patches on the target machine. [Test] Verified on the Realtek 8821CE card. [Where problems could occur] The patches are introducing new interfaces, I think it only has minimal impact to the origin behaviors. Ping-Ke Shih (1): rtw88: do PHY calibration while starting AP Po-Hao Huang (4): rtw88: Add update beacon flow for AP mode rtw88: 8821c: Enable TX report for management frames rtw88: 8821c: fix debugfs rssi value rtw88: add ieee80211:sta_rc_update ops drivers/net/wireless/realtek/rtw88/fw.c | 8 ++-- drivers/net/wireless/realtek/rtw88/fw.h | 1 + drivers/net/wireless/realtek/rtw88/mac80211.c | 44 ++++++++++++++++++- drivers/net/wireless/realtek/rtw88/main.c | 12 ++++- drivers/net/wireless/realtek/rtw88/main.h | 7 ++- drivers/net/wireless/realtek/rtw88/pci.c | 3 ++ drivers/net/wireless/realtek/rtw88/phy.c | 2 +- drivers/net/wireless/realtek/rtw88/reg.h | 2 + drivers/net/wireless/realtek/rtw88/rtw8821c.c | 4 ++ .../wireless/realtek/rtw88/rtw8821c_table.c | 2 +- drivers/net/wireless/realtek/rtw88/tx.c | 17 +++++++ drivers/net/wireless/realtek/rtw88/tx.h | 4 ++ 12 files changed, 94 insertions(+), 12 deletions(-) Acked-by: Tim Gardner Acked-by: Kleber Sacilotto de Souza