summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_input.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-11-08 04:00:24 +0000
committeradrian <adrian@FreeBSD.org>2011-11-08 04:00:24 +0000
commit1a3216b0414a93a36aa9bbf154f8e323454f5ac4 (patch)
tree496f530d1aaf071e9027c713f25bab37278804e4 /sys/net80211/ieee80211_input.c
parent476761abc0abdd48513d660ddbe8ce091975f133 (diff)
downloadFreeBSD-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_input.c')
-rw-r--r--sys/net80211/ieee80211_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index a18da4a..6fdc499 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -522,6 +522,9 @@ ieee80211_parse_beacon(struct ieee80211_node *ni, struct mbuf *m,
case IEEE80211_ELEMID_CSA:
scan->csa = frm;
break;
+ case IEEE80211_ELEMID_QUIET:
+ scan->quiet = frm;
+ break;
case IEEE80211_ELEMID_FHPARMS:
if (ic->ic_phytype == IEEE80211_T_FH) {
scan->fhdwell = LE_READ_2(&frm[2]);
OpenPOWER on IntegriCloud