diff options
| author | Emmanuel Grumbach <[email protected]> | 2008-07-18 13:52:59 +0800 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2008-08-04 15:09:07 -0400 |
| commit | 98f7dfd86cbbd377e2cbc293529681b914296f68 (patch) | |
| tree | cce0e06183ae4b8ce0aa845cb56cf9ca90984749 /include/linux | |
| 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 <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Zhu Yi <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ieee80211.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index a1630ba0b87c..7f4df7c7659d 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -506,6 +506,19 @@ struct ieee80211_channel_sw_ie { u8 count; } __attribute__ ((packed)); +/** + * struct ieee80211_tim + * + * This structure refers to "Traffic Indication Map information element" + */ +struct ieee80211_tim_ie { + u8 dtim_count; + u8 dtim_period; + u8 bitmap_ctrl; + /* variable size: 1 - 251 bytes */ + u8 virtual_map[0]; +} __attribute__ ((packed)); + struct ieee80211_mgmt { __le16 frame_control; __le16 duration; |