Re: [V9 1/9] drivers core: Add support for Wifi band RF mitigations

From: Limonciello, Mario
Date: Fri Aug 18 2023 - 18:50:21 EST




On 8/18/2023 4:24 PM, Greg KH wrote:
On Fri, Aug 18, 2023 at 11:26:11AM +0800, Evan Quan wrote:
drivers/base/Makefile | 1 +
drivers/base/wbrf.c | 280 ++++++++++++++++++

Why is a wifi-specific thing going into drivers/base/?

confused,

greg k-h

The original problem statement was at a high level 'there can be interference between different devices operating at high frequencies'. The original patches introduced some ACPI library code that enabled a mitigated for this interference between mac80211 devices and amdgpu devices.

Andrew Lunn wanted to see something more generic, so the series has morphed into base code for things to advertise frequencies in use and other things to listen to frequencies in use and react.

The idea is supposed to be that if the platform knows that these mitigations are needed then the producers send the frequencies in use, consumers react to them. The AMD implementation of getting this info from the platform plugs into the base code (patch 2).

If users don't want this behavior they can turn it off on kernel command line.

If the platform doesn't know mitigations are needed but user wants to turn them on anyway they can turn it on kernel command line.