aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nl80211.h5
-rw-r--r--include/net/cfg80211.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index b8fa25d741ba..1cee56b3a79a 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -773,6 +773,9 @@ enum nl80211_commands {
773 * cache, a wiphy attribute. 773 * cache, a wiphy attribute.
774 * 774 *
775 * @NL80211_ATTR_DURATION: Duration of an operation in milliseconds, u32. 775 * @NL80211_ATTR_DURATION: Duration of an operation in milliseconds, u32.
776 * @NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: Device attribute that
777 * specifies the maximum duration that can be requested with the
778 * remain-on-channel operation, in milliseconds, u32.
776 * 779 *
777 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects. 780 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
778 * 781 *
@@ -1035,6 +1038,8 @@ enum nl80211_attrs {
1035 1038
1036 NL80211_ATTR_KEY_DEFAULT_TYPES, 1039 NL80211_ATTR_KEY_DEFAULT_TYPES,
1037 1040
1041 NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION,
1042
1038 /* add attributes here, update the policy in nl80211.c */ 1043 /* add attributes here, update the policy in nl80211.c */
1039 1044
1040 __NL80211_ATTR_AFTER_LAST, 1045 __NL80211_ATTR_AFTER_LAST,
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 22be7c625b70..f45e15f12446 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1474,6 +1474,9 @@ struct ieee80211_txrx_stypes {
1474 * 1474 *
1475 * @available_antennas: bitmap of antennas which are available to configure. 1475 * @available_antennas: bitmap of antennas which are available to configure.
1476 * antenna configuration commands will be rejected unless this is set. 1476 * antenna configuration commands will be rejected unless this is set.
1477 *
1478 * @max_remain_on_channel_duration: Maximum time a remain-on-channel operation
1479 * may request, if implemented.
1477 */ 1480 */
1478struct wiphy { 1481struct wiphy {
1479 /* assign these fields before you register the wiphy */ 1482 /* assign these fields before you register the wiphy */
@@ -1511,6 +1514,8 @@ struct wiphy {
1511 char fw_version[ETHTOOL_BUSINFO_LEN]; 1514 char fw_version[ETHTOOL_BUSINFO_LEN];
1512 u32 hw_version; 1515 u32 hw_version;
1513 1516
1517 u16 max_remain_on_channel_duration;
1518
1514 u8 max_num_pmkids; 1519 u8 max_num_pmkids;
1515 1520
1516 u32 available_antennas; 1521 u32 available_antennas;