diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index f64402f6312b..1e9c93024cf2 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -186,7 +186,8 @@ enum ieee80211_bss_change { | |||
186 | * @use_short_slot: use short slot time (only relevant for ERP); | 186 | * @use_short_slot: use short slot time (only relevant for ERP); |
187 | * if the hardware cannot handle this it must set the | 187 | * if the hardware cannot handle this it must set the |
188 | * IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE hardware flag | 188 | * IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE hardware flag |
189 | * @dtim_period: num of beacons before the next DTIM, for PSM | 189 | * @dtim_period: num of beacons before the next DTIM, for beaconing, |
190 | * not valid in station mode (cf. hw conf ps_dtim_period) | ||
190 | * @timestamp: beacon timestamp | 191 | * @timestamp: beacon timestamp |
191 | * @beacon_int: beacon interval | 192 | * @beacon_int: beacon interval |
192 | * @assoc_capability: capabilities taken from assoc resp | 193 | * @assoc_capability: capabilities taken from assoc resp |
@@ -648,6 +649,9 @@ enum ieee80211_smps_mode { | |||
648 | * value will be only achievable between DTIM frames, the hardware | 649 | * value will be only achievable between DTIM frames, the hardware |
649 | * needs to check for the multicast traffic bit in DTIM beacons. | 650 | * needs to check for the multicast traffic bit in DTIM beacons. |
650 | * This variable is valid only when the CONF_PS flag is set. | 651 | * This variable is valid only when the CONF_PS flag is set. |
652 | * @ps_dtim_period: The DTIM period of the AP we're connected to, for use | ||
653 | * in power saving. Power saving will not be enabled until a beacon | ||
654 | * has been received and the DTIM period is known. | ||
651 | * @dynamic_ps_timeout: The dynamic powersave timeout (in ms), see the | 655 | * @dynamic_ps_timeout: The dynamic powersave timeout (in ms), see the |
652 | * powersave documentation below. This variable is valid only when | 656 | * powersave documentation below. This variable is valid only when |
653 | * the CONF_PS flag is set. | 657 | * the CONF_PS flag is set. |
@@ -674,6 +678,7 @@ struct ieee80211_conf { | |||
674 | int max_sleep_period; | 678 | int max_sleep_period; |
675 | 679 | ||
676 | u16 listen_interval; | 680 | u16 listen_interval; |
681 | u8 ps_dtim_period; | ||
677 | 682 | ||
678 | u8 long_frame_max_tx_count, short_frame_max_tx_count; | 683 | u8 long_frame_max_tx_count, short_frame_max_tx_count; |
679 | 684 | ||