diff options
author | adrian <adrian@FreeBSD.org> | 2011-11-08 04:00:24 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-11-08 04:00:24 +0000 |
commit | 1a3216b0414a93a36aa9bbf154f8e323454f5ac4 (patch) | |
tree | 496f530d1aaf071e9027c713f25bab37278804e4 /sys/net80211/ieee80211.h | |
parent | 476761abc0abdd48513d660ddbe8ce091975f133 (diff) | |
download | FreeBSD-src-1a3216b0414a93a36aa9bbf154f8e323454f5ac4.zip FreeBSD-src-1a3216b0414a93a36aa9bbf154f8e323454f5ac4.tar.gz |
Add 802.11h quiet time element support into net80211.
This supports both station and hostap modes:
* Station mode quiet time element support listens to quiet time
IE's and modifies the local quiet time configuration as appropriate;
* Hostap mode both obeys the locally configured quiet time period
and includes it in beacon frames so stations also can obey as needed.
Submitted by: Himali Patel <himali.patel@sibridgetech.com>
Sponsored by: Sibridge Technologies
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r-- | sys/net80211/ieee80211.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 5d8d8fa..028afec 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -759,6 +759,18 @@ struct ieee80211_country_ie { /* * 802.11h Channel Switch Announcement (CSA). */ +struct ieee80211_quiet_ie { + uint8_t quiet_ie; /* IEEE80211_ELEMID_QUIET */ + uint8_t len; + uint8_t tbttcount; /* quiet start */ + uint8_t period; /* beacon intervals between quiets */ + uint16_t duration; /* TUs of each quiet*/ + uint16_t offset; /* TUs of from TBTT of quiet start */ +} __packed; + +/* + * 802.11h Channel Switch Announcement (CSA). + */ struct ieee80211_csa_ie { uint8_t csa_ie; /* IEEE80211_ELEMID_CHANSWITCHANN */ uint8_t csa_len; |