diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-23 04:32:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:29 -0400 |
commit | 9ccebe6148bcb0aba2d89743df2ff182ced505ec (patch) | |
tree | 7209957870ae665e651510fe1828a03be9ea01e3 /include/net | |
parent | d5edaedc16ebd0635435dec068d49e07a76ba7d9 (diff) |
mac80211: rename max_sleep_interval to max_sleep_period
Kalle points out that max_sleep_interval is somewhat confusing
because the value is measured in beacon intervals, and not in
TU. Rename it to max_sleep_period to be consistent with things
like DTIM period that are also measured in beacon intervals.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 446dbf75a1c5..81d706d85226 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -559,7 +559,7 @@ enum ieee80211_conf_changed { | |||
559 | * @beacon_int: beacon interval (TODO make interface config) | 559 | * @beacon_int: beacon interval (TODO make interface config) |
560 | * | 560 | * |
561 | * @listen_interval: listen interval in units of beacon interval | 561 | * @listen_interval: listen interval in units of beacon interval |
562 | * @max_sleep_interval: the maximum number of beacon intervals to sleep for | 562 | * @max_sleep_period: the maximum number of beacon intervals to sleep for |
563 | * before checking the beacon for a TIM bit (managed mode only); this | 563 | * before checking the beacon for a TIM bit (managed mode only); this |
564 | * value will be only achievable between DTIM frames, the hardware | 564 | * value will be only achievable between DTIM frames, the hardware |
565 | * needs to check for the multicast traffic bit in DTIM beacons. | 565 | * needs to check for the multicast traffic bit in DTIM beacons. |
@@ -584,7 +584,7 @@ struct ieee80211_conf { | |||
584 | int beacon_int; | 584 | int beacon_int; |
585 | u32 flags; | 585 | u32 flags; |
586 | int power_level, dynamic_ps_timeout; | 586 | int power_level, dynamic_ps_timeout; |
587 | int max_sleep_interval; | 587 | int max_sleep_period; |
588 | 588 | ||
589 | u16 listen_interval; | 589 | u16 listen_interval; |
590 | bool radio_enabled; | 590 | bool radio_enabled; |