Commit 70b6ff35 authored by Johannes Berg's avatar Johannes Berg

cfg80211/mac80211: fix kernel-doc for SAR APIs

A stray @ caused the kernel-doc parser to not understand
this, fix that. Also add some missing kernel-doc.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: 6bdb68ce ("nl80211: add common API to configure SAR power limitations")
Fixes: c534e093 ("mac80211: add ieee80211_set_sar_specs")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # build only
Link: https://lore.kernel.org/r/20210106234740.96827c18f9bd.I8b9f0a9cbfe186931ef9640046f414371f216914@changeidSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 220efcf9
...@@ -1756,7 +1756,7 @@ struct cfg80211_sar_specs { ...@@ -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 * @start_freq: start range edge frequency
* @end_freq: end range edge frequency * @end_freq: end range edge frequency
*/ */
...@@ -3972,6 +3972,8 @@ struct mgmt_frame_regs { ...@@ -3972,6 +3972,8 @@ struct mgmt_frame_regs {
* This callback may sleep. * This callback may sleep.
* @reset_tid_config: Reset TID specific configuration for the peer, for the * @reset_tid_config: Reset TID specific configuration for the peer, for the
* given TIDs. This callback may sleep. * given TIDs. This callback may sleep.
*
* @set_sar_specs: Update the SAR (TX power) settings.
*/ */
struct cfg80211_ops { struct cfg80211_ops {
int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
...@@ -4929,6 +4931,7 @@ struct wiphy_iftype_akm_suites { ...@@ -4929,6 +4931,7 @@ struct wiphy_iftype_akm_suites {
* @max_data_retry_count: maximum supported per TID retry count for * @max_data_retry_count: maximum supported per TID retry count for
* configuration through the %NL80211_TID_CONFIG_ATTR_RETRY_SHORT and * configuration through the %NL80211_TID_CONFIG_ATTR_RETRY_SHORT and
* %NL80211_TID_CONFIG_ATTR_RETRY_LONG attributes * %NL80211_TID_CONFIG_ATTR_RETRY_LONG attributes
* @sar_capa: SAR control capabilities
*/ */
struct wiphy { struct wiphy {
/* assign these fields before you register the wiphy */ /* assign these fields before you register the wiphy */
......
...@@ -3880,6 +3880,7 @@ enum ieee80211_reconfig_type { ...@@ -3880,6 +3880,7 @@ enum ieee80211_reconfig_type {
* This callback may sleep. * This callback may sleep.
* @sta_set_4addr: Called to notify the driver when a station starts/stops using * @sta_set_4addr: Called to notify the driver when a station starts/stops using
* 4-address mode * 4-address mode
* @set_sar_specs: Update the SAR (TX power) settings.
*/ */
struct ieee80211_ops { struct ieee80211_ops {
void (*tx)(struct ieee80211_hw *hw, void (*tx)(struct ieee80211_hw *hw,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment