[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200221115604.594035-9-Jerome.Pouiller@silabs.com>
Date: Fri, 21 Feb 2020 12:56:03 +0100
From: Jerome Pouiller <Jerome.Pouiller@...abs.com>
To: linux-wireless@...r.kernel.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>,
Johannes Berg <johannes@...solutions.net>,
"David S . Miller" <davem@...emloft.net>,
Jérôme Pouiller
<jerome.pouiller@...abs.com>
Subject: [PATCH 09/10] cfg80211: align documentation style of ieee80211_iface_combination
From: Jérôme Pouiller <jerome.pouiller@...abs.com>
In cfg80211.h, all the structs but ieee80211_iface_combination are
documented above their definition.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@...abs.com>
---
include/net/cfg80211.h | 63 +++++++++++-------------------------------
1 file changed, 16 insertions(+), 47 deletions(-)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 1cc3442b540f..2f8c41993ed2 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -4103,62 +4103,31 @@ struct ieee80211_iface_limit {
* .num_different_channels = 2,
* };
*
+ * @limits: limits for the given interface types
+ * @num_different_channels: can use up to this many different channels
+ * @max_interfaces: maximum number of interfaces in total allowed in this group
+ * @n_limits: number of limitations
+ * @beacon_int_infra_match: In this combination, the beacon intervals between
+ * infrastructure and AP types must match. This is required only in special
+ * cases.
+ * @radar_detect_widths: bitmap of channel widths supported for radar detection
+ * @radar_detect_regions: bitmap of regions supported for radar detection
+ * @beacon_int_min_gcd: This interface combination supports different beacon
+ * intervals:
+ * * = 0: all beacon intervals for different interface must be same.
+ * * > 0: any beacon interval for the interface part of this
+ * combination AND GCD of all beacon intervals from beaconing
+ * interfaces of this combination must be greater or equal to this
+ * value.
*/
struct ieee80211_iface_combination {
- /**
- * @limits:
- * limits for the given interface types
- */
const struct ieee80211_iface_limit *limits;
-
- /**
- * @num_different_channels:
- * can use up to this many different channels
- */
u32 num_different_channels;
-
- /**
- * @max_interfaces:
- * maximum number of interfaces in total allowed in this group
- */
u16 max_interfaces;
-
- /**
- * @n_limits:
- * number of limitations
- */
u8 n_limits;
-
- /**
- * @beacon_int_infra_match:
- * In this combination, the beacon intervals between infrastructure
- * and AP types must match. This is required only in special cases.
- */
bool beacon_int_infra_match;
-
- /**
- * @radar_detect_widths:
- * bitmap of channel widths supported for radar detection
- */
u8 radar_detect_widths;
-
- /**
- * @radar_detect_regions:
- * bitmap of regions supported for radar detection
- */
u8 radar_detect_regions;
-
- /**
- * @beacon_int_min_gcd:
- * This interface combination supports different beacon intervals.
- *
- * = 0
- * all beacon intervals for different interface must be same.
- * > 0
- * any beacon interval for the interface part of this combination AND
- * GCD of all beacon intervals from beaconing interfaces of this
- * combination must be greater or equal to this value.
- */
u32 beacon_int_min_gcd;
};
--
2.25.0
Powered by blists - more mailing lists