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>
This commit is contained in:

committed by
John W. Linville

parent
14a085e770
commit
a293911d4f
@@ -773,6 +773,9 @@ enum nl80211_commands {
|
||||
* cache, a wiphy attribute.
|
||||
*
|
||||
* @NL80211_ATTR_DURATION: Duration of an operation in milliseconds, u32.
|
||||
* @NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: Device attribute that
|
||||
* specifies the maximum duration that can be requested with the
|
||||
* remain-on-channel operation, in milliseconds, u32.
|
||||
*
|
||||
* @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
|
||||
*
|
||||
@@ -1035,6 +1038,8 @@ enum nl80211_attrs {
|
||||
|
||||
NL80211_ATTR_KEY_DEFAULT_TYPES,
|
||||
|
||||
NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION,
|
||||
|
||||
/* add attributes here, update the policy in nl80211.c */
|
||||
|
||||
__NL80211_ATTR_AFTER_LAST,
|
||||
|
Reference in New Issue
Block a user