aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-12-14 11:54:28 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-15 17:03:56 -0500
commita293911d4fd5e8593dbf478399a77f990d466269 (patch)
tree826f614f178e915c4d2c08aba9ca5b2a38f78c75 /include/linux/nl80211.h
parent14a085e77063090fb12ad391d0f4d46e593be225 (diff)
nl80211: advertise maximum remain-on-channel duration
With the upcoming hardware offload implementation, some devices will have a different maximum duration for the remain-on-channel command. Advertise the maximum duration in mac80211, and make mac80211 set it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h5
1 files changed, 5 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,