From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 52F573B2A4 for ; Sun, 23 Jul 2023 23:39:57 -0400 (EDT) Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-262ff3a4659so2464216a91.0 for ; Sun, 23 Jul 2023 20:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690169996; x=1690774796; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6bBRMLZVj5VvBRPHy2MLh2LW0zm3Y6zF7pI0kxW4Zzo=; b=RjZzAOXLYCc2zzCNDR+1sxhjq4YP1ShFVmQNeAQ+42/raqlDiHNY0KC1Rh105HckUG HBPXOefQDcFmtGpXnwtubMk0B+24Xm2SWSA0U98qsXEtf6UrGjkGGGpS/WJA+fKJMWgx 0kcQCJuCV1jlhoQ9cArl0JvzN75aRlU1fPZanB9xwJpTts3UUpIhcEwhjpsiGIMxoIyI 8qFzxWB2ujaHTBJnZZ8poGejec5Np35CvCR/izXgiDjtSZ/N1YgynGAfuUe0j/VVHAGH 1KVJaTC2kE1+wrGyV/cT8RNDMlk5SqNWjNZIQ16cjbm1+wNPV0lgy824b3GZFC4NrndS fFEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690169996; x=1690774796; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6bBRMLZVj5VvBRPHy2MLh2LW0zm3Y6zF7pI0kxW4Zzo=; b=fBG1+ATGEPhURIdSHkZWBqnTqmJKcncNQOScSWxewhNyMKOTx/zejS3gD+SVhy/Kao U0EODzbC7Td6WZZPeOIKsRwYcsJEr5BpmYbCKs1yceSitf4eDdkCW1lgXczKQvBf48tR 8yKNM+FlmeymPy+Bh98JTEgGJdMy0XJeop536GYrcM/7lILgX47mSxNxDB++W/O/yHTo o7fkg/tOK1m/YN5tf/xzpKnYgp7/eyZtBk0/0a1Z+M+nh5DfL+Q4aXjCCCMw8ziyEO0G n3zgNXxB42smziGpsbiRUuCEfTrVIYgNLqrukf5hZxrSRRCwjGFAmCM3RdRlnghlvkmX XM3g== X-Gm-Message-State: ABy/qLbD/AaMXoFNiSDZ10yRu8QVcus80Y760w5RLdNHVSmcIMXiw2Cw wmfJXbR/g4rkeoyH2046shirCsYT/ejdnxeUIuqU6K0l X-Google-Smtp-Source: APBJJlHk/rp1vq4VmkGB559uNywiNu1ckeoGfsL8eWiwqIae5Al6o7sb7WFS50Pr6mdeyZJSTOpJYcg9GBL04crj5k0= X-Received: by 2002:a17:90a:5a4c:b0:263:514:5ee3 with SMTP id m12-20020a17090a5a4c00b0026305145ee3mr9201236pji.32.1690169995836; Sun, 23 Jul 2023 20:39:55 -0700 (PDT) MIME-Version: 1.0 References: <20230719090020.2716892-1-evan.quan@amd.com> In-Reply-To: <20230719090020.2716892-1-evan.quan@amd.com> From: Dave Taht Date: Sun, 23 Jul 2023 20:39:43 -0700 Message-ID: To: Make-Wifi-fast Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [Make-wifi-fast] Fwd: [PATCH V7 0/9] Enable Wifi RFI interference mitigation feature support X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2023 03:39:57 -0000 I had always wished for async circuits to take off. ---------- Forwarded message --------- From: Evan Quan Date: Wed, Jul 19, 2023 at 2:01=E2=80=AFAM Subject: [PATCH V7 0/9] Enable Wifi RFI interference mitigation feature sup= port To: , , , , , , , , , , , , , , , , , , , , , , , , , Cc: , , , , , , Evan Quan Due to electrical and mechanical constraints in certain platform designs there may be likely interference of relatively high-powered harmonics of the (G-)DDR memory clocks with local radio module frequency bands used by Wifi 6/6e/7. To miti= gate possible RFI interference producers can advertise the frequencies in use an= d consumers can use this information to avoid using these frequencies for sensitive features. The whole patch set is based on Linux 6.4. With some brief introductions as below: Patch1 - 2: Core functionality setup for WBRF feature support Patch3 - 4: Bring WBRF support to wifi subsystem. Patch5 - 9: Bring WBRF support to AMD graphics driver. Evan Quan (9): drivers core: Add support for Wifi band RF mitigations driver core: add ACPI based WBRF mechanism introduced by AMD cfg80211: expose nl80211_chan_width_to_mhz for wide sharing wifi: mac80211: Add support for ACPI WBRF drm/amd/pm: update driver_if and ppsmc headers for coming wbrf feature drm/amd/pm: setup the framework to support Wifi RFI mitigation feature drm/amd/pm: add flood detection for wbrf events drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.0 drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.7 drivers/acpi/Makefile | 2 + drivers/acpi/amd_wbrf.c | 282 ++++++++++++++++++ drivers/base/Kconfig | 37 +++ drivers/base/Makefile | 1 + drivers/base/wbrf.c | 256 ++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 19 ++ drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 213 +++++++++++++ drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 33 ++ .../inc/pmfw_if/smu13_driver_if_v13_0_0.h | 14 +- .../inc/pmfw_if/smu13_driver_if_v13_0_7.h | 14 +- .../pm/swsmu/inc/pmfw_if/smu_v13_0_0_ppsmc.h | 3 +- .../pm/swsmu/inc/pmfw_if/smu_v13_0_7_ppsmc.h | 3 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 3 + .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 9 + .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 60 ++++ .../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 59 ++++ drivers/gpu/drm/amd/pm/swsmu/smu_internal.h | 3 + include/linux/acpi_amd_wbrf.h | 24 ++ include/linux/ieee80211.h | 1 + include/linux/wbrf.h | 72 +++++ include/net/cfg80211.h | 8 + net/mac80211/Makefile | 2 + net/mac80211/chan.c | 9 + net/mac80211/ieee80211_i.h | 19 ++ net/mac80211/main.c | 2 + net/mac80211/wbrf.c | 103 +++++++ net/wireless/chan.c | 3 +- 29 files changed, 1252 insertions(+), 6 deletions(-) create mode 100644 drivers/acpi/amd_wbrf.c create mode 100644 drivers/base/wbrf.c create mode 100644 include/linux/acpi_amd_wbrf.h create mode 100644 include/linux/wbrf.h create mode 100644 net/mac80211/wbrf.c -- 2.34.1 --=20 Podcast: https://www.linkedin.com/feed/update/urn:li:activity:7058793910227= 111937/ Dave T=C3=A4ht CSO, LibreQos