diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-07-18 01:52:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-04 15:09:07 -0400 |
commit | 98f7dfd86cbbd377e2cbc293529681b914296f68 (patch) | |
tree | cce0e06183ae4b8ce0aa845cb56cf9ca90984749 /include/net/mac80211.h | |
parent | 298df1f62aa69881528bf0f1c3c14395bc447846 (diff) |
mac80211: pass dtim_period to low level driver
This patch adds the dtim_period in ieee80211_bss_conf, this allows the low
level driver to know the dtim_period, and to plan power save accordingly.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index b52721008be8..9d99f2e0a204 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -177,9 +177,10 @@ enum ieee80211_bss_change { | |||
177 | * @aid: association ID number, valid only when @assoc is true | 177 | * @aid: association ID number, valid only when @assoc is true |
178 | * @use_cts_prot: use CTS protection | 178 | * @use_cts_prot: use CTS protection |
179 | * @use_short_preamble: use 802.11b short preamble | 179 | * @use_short_preamble: use 802.11b short preamble |
180 | * @dtim_period: num of beacons before the next DTIM, for PSM | ||
180 | * @timestamp: beacon timestamp | 181 | * @timestamp: beacon timestamp |
181 | * @beacon_int: beacon interval | 182 | * @beacon_int: beacon interval |
182 | * @assoc_capability: capabbilities taken from assoc resp | 183 | * @assoc_capability: capabilities taken from assoc resp |
183 | * @assoc_ht: association in HT mode | 184 | * @assoc_ht: association in HT mode |
184 | * @ht_conf: ht capabilities | 185 | * @ht_conf: ht capabilities |
185 | * @ht_bss_conf: ht extended capabilities | 186 | * @ht_bss_conf: ht extended capabilities |
@@ -191,6 +192,7 @@ struct ieee80211_bss_conf { | |||
191 | /* erp related data */ | 192 | /* erp related data */ |
192 | bool use_cts_prot; | 193 | bool use_cts_prot; |
193 | bool use_short_preamble; | 194 | bool use_short_preamble; |
195 | u8 dtim_period; | ||
194 | u16 beacon_int; | 196 | u16 beacon_int; |
195 | u16 assoc_capability; | 197 | u16 assoc_capability; |
196 | u64 timestamp; | 198 | u64 timestamp; |