aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 0d5979924be3..4d5acb013636 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1468,6 +1468,9 @@ struct ieee80211_txrx_stypes {
1468 * @mgmt_stypes: bitmasks of frame subtypes that can be subscribed to or 1468 * @mgmt_stypes: bitmasks of frame subtypes that can be subscribed to or
1469 * transmitted through nl80211, points to an array indexed by interface 1469 * transmitted through nl80211, points to an array indexed by interface
1470 * type 1470 * type
1471 *
1472 * @available_antennas: bitmap of antennas which are available to configure.
1473 * antenna configuration commands will be rejected unless this is set.
1471 */ 1474 */
1472struct wiphy { 1475struct wiphy {
1473 /* assign these fields before you register the wiphy */ 1476 /* assign these fields before you register the wiphy */
@@ -1507,6 +1510,8 @@ struct wiphy {
1507 1510
1508 u8 max_num_pmkids; 1511 u8 max_num_pmkids;
1509 1512
1513 u32 available_antennas;
1514
1510 /* If multiple wiphys are registered and you're handed e.g. 1515 /* If multiple wiphys are registered and you're handed e.g.
1511 * a regular netdev with assigned ieee80211_ptr, you won't 1516 * a regular netdev with assigned ieee80211_ptr, you won't
1512 * know whether it points to a wiphy your driver has registered 1517 * know whether it points to a wiphy your driver has registered