* [PATCH v3] cfg80211/mac80211: fix kernel-doc for SAR APIs
@ 2021-01-06 22:47 Johannes Berg
2021-01-07 3:25 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2021-01-06 22:47 UTC (permalink / raw)
To: linux-wireless; +Cc: Johannes Berg, Stephen Rothwell
From: Johannes Berg <johannes.berg@intel.com>
A stray @ caused the kernel-doc parser to not understand
this, fix that. Also add some missing kernel-doc.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 6bdb68cef7bf ("nl80211: add common API to configure SAR power limitations")
Fixes: c534e093d865 ("mac80211: add ieee80211_set_sar_specs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
v3:
* really include mac80211.h change
---
include/net/cfg80211.h | 5 ++++-
include/net/mac80211.h | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 9a4bbccddc7f..1b3954afcda4 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1756,7 +1756,7 @@ struct cfg80211_sar_specs {
/**
- * @struct cfg80211_sar_chan_ranges - sar frequency ranges
+ * struct cfg80211_sar_chan_ranges - sar frequency ranges
* @start_freq: start range edge frequency
* @end_freq: end range edge frequency
*/
@@ -3972,6 +3972,8 @@ struct mgmt_frame_regs {
* This callback may sleep.
* @reset_tid_config: Reset TID specific configuration for the peer, for the
* given TIDs. This callback may sleep.
+ *
+ * @set_sar_specs: Update the SAR (TX power) settings.
*/
struct cfg80211_ops {
int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
@@ -4929,6 +4931,7 @@ struct wiphy_iftype_akm_suites {
* @max_data_retry_count: maximum supported per TID retry count for
* configuration through the %NL80211_TID_CONFIG_ATTR_RETRY_SHORT and
* %NL80211_TID_CONFIG_ATTR_RETRY_LONG attributes
+ * @sar_capa: SAR control capabilities
*/
struct wiphy {
/* assign these fields before you register the wiphy */
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index d315740581f1..2bdbf62f4ecd 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3880,6 +3880,7 @@ enum ieee80211_reconfig_type {
* This callback may sleep.
* @sta_set_4addr: Called to notify the driver when a station starts/stops using
* 4-address mode
+ * @set_sar_specs: Update the SAR (TX power) settings.
*/
struct ieee80211_ops {
void (*tx)(struct ieee80211_hw *hw,
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] cfg80211/mac80211: fix kernel-doc for SAR APIs
2021-01-06 22:47 [PATCH v3] cfg80211/mac80211: fix kernel-doc for SAR APIs Johannes Berg
@ 2021-01-07 3:25 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2021-01-07 3:25 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Johannes Berg
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
Hi Johannes,
On Wed, 6 Jan 2021 23:47:41 +0100 Johannes Berg <johannes@sipsolutions.net> wrote:
>
> From: Johannes Berg <johannes.berg@intel.com>
>
> A stray @ caused the kernel-doc parser to not understand
> this, fix that. Also add some missing kernel-doc.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Fixes: 6bdb68cef7bf ("nl80211: add common API to configure SAR power limitations")
> Fixes: c534e093d865 ("mac80211: add ieee80211_set_sar_specs")
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # build only
Thanks
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-07 3:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 22:47 [PATCH v3] cfg80211/mac80211: fix kernel-doc for SAR APIs Johannes Berg
2021-01-07 3:25 ` Stephen Rothwell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.