From: "Ma, Jun" <majun@amd.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Ma Jun" <Jun.Ma2@amd.com>
Cc: majun@amd.com, amd-gfx@lists.freedesktop.org, lenb@kernel.org,
johannes@sipsolutions.net, davem@davemloft.net,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
alexander.deucher@amd.com, Lijo.Lazar@amd.com,
mario.limonciello@amd.com, Netdev <netdev@vger.kernel.org>,
linux-wireless@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org
Subject: Re: [Patch v13 1/9] Documentation/driver-api: Add document about WBRF mechanism
Date: Wed, 22 Nov 2023 16:36:47 +0800 [thread overview]
Message-ID: <9608a9aa-26d2-4d27-b9b7-31f643307d2d@amd.com> (raw)
In-Reply-To: <3e18c716-4c1b-ea3-ede3-5a67555f5e72@linux.intel.com>
Hi llpo,
Thanks for review, I'll fix the format issue in
the next version.
Regards,
Ma Jun
On 11/20/2023 7:59 PM, Ilpo Järvinen wrote:
> On Mon, 30 Oct 2023, Ma Jun wrote:
>
>> Add documentation about AMD's Wifi band RFI mitigation (WBRF) mechanism
>> explaining the theory and how it is used.
>>
>> Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
>> ---
>> Documentation/driver-api/wbrf.rst | 76 +++++++++++++++++++++++++++++++
>> 1 file changed, 76 insertions(+)
>> create mode 100644 Documentation/driver-api/wbrf.rst
>>
>> +Driver programming interface
>> +============================
>> +.. kernel-doc:: drivers/platform/x86/amd/wbrf.c
>> +
>> +Sample Usage
>> +=============
>
> A lot better but you missed adding newlines here for this and previous
> section title.
>
>> +The expected flow for the producers:
>> +1). During probe, call `acpi_amd_wbrf_supported_producer` to check if WBRF
>> + can be enabled for the device.
>> +2). On using some frequency band, call `acpi_amd_wbrf_add_remove` with 'add'
>> + param to get other consumers properly notified.
>> +3). Or on stopping using some frequency band, call
>> + `acpi_amd_wbrf_add_remove` with 'remove' param to get other consumers notified.
>> +
>> +The expected flow for the consumers:
>> +1). During probe, call `acpi_amd_wbrf_supported_consumer` to check if WBRF
>> + can be enabled for the device.
>> +2). Call `amd_wbrf_register_notifier` to register for notification
>> + of frequency band change(add or remove) from other producers.
>> +3). Call the `amd_wbrf_retrieve_freq_band` intentionally to retrieve
>> + current active frequency bands considering some producers may broadcast
>> + such information before the consumer is up.
>> +4). On receiving a notification for frequency band change, run
>> + `amd_wbrf_retrieve_freq_band` again to retrieve the latest
>> + active frequency bands.
>> +5). During driver cleanup, call `amd_wbrf_unregister_notifier` to
>> + unregister the notifier.
>
> The correct kerneldoc format should be without the closing parenthesis:
>
> 1. Text here that
> spills to second line.
> 2. Second entry.
>
next prev parent reply other threads:[~2023-11-22 8:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 7:18 [Patch v13 0/9] Enable Wifi RFI interference mitigation feature support Ma Jun
2023-10-30 7:18 ` [Patch v13 1/9] Documentation/driver-api: Add document about WBRF mechanism Ma Jun
2023-11-20 11:59 ` Ilpo Järvinen
2023-11-22 8:36 ` Ma, Jun [this message]
2023-10-30 7:18 ` [Patch v13 2/9] platform/x86/amd: Add support for AMD ACPI based Wifi band RFI mitigation feature Ma Jun
2023-10-30 7:18 ` [Patch v13 3/9] cfg80211: expose nl80211_chan_width_to_mhz for wide sharing Ma Jun
2023-10-30 7:18 ` [Patch v13 4/9] wifi: mac80211: Add support for WBRF features Ma Jun
2023-11-02 11:55 ` Ilpo Järvinen
2023-11-02 12:04 ` Johannes Berg
2023-11-02 12:24 ` Ilpo Järvinen
2023-11-02 13:04 ` Johannes Berg
2023-10-30 7:18 ` [Patch v13 5/9] drm/amd/pm: update driver_if and ppsmc headers for coming wbrf feature Ma Jun
2023-10-30 7:18 ` [Patch v13 6/9] drm/amd/pm: setup the framework to support Wifi RFI mitigation feature Ma Jun
2023-10-30 7:18 ` [Patch v13 7/9] drm/amd/pm: add flood detection for wbrf events Ma Jun
2023-10-30 7:18 ` [Patch v13 8/9] drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.0 Ma Jun
2023-10-30 7:18 ` [Patch v13 9/9] drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.7 Ma Jun
2023-11-10 5:31 ` [Patch v13 0/9] Enable Wifi RFI interference mitigation feature support Ma, Jun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9608a9aa-26d2-4d27-b9b7-31f643307d2d@amd.com \
--to=majun@amd.com \
--cc=Jun.Ma2@amd.com \
--cc=Lijo.Lazar@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=lenb@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox