diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-12-14 11:54:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-15 17:03:56 -0500 |
commit | a293911d4fd5e8593dbf478399a77f990d466269 (patch) | |
tree | 826f614f178e915c4d2c08aba9ca5b2a38f78c75 /include/net | |
parent | 14a085e77063090fb12ad391d0f4d46e593be225 (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/net')
-rw-r--r-- | include/net/cfg80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 | */ |
1478 | struct wiphy { | 1481 | struct 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; |