diff options
author | Paul Stewart <pstew@chromium.org> | 2013-09-04 15:59:52 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2013-11-07 12:05:41 (GMT) |
commit | c101bb9d23aadd9dc7c00375def6ffecd3404686 (patch) | |
tree | f3f27545ad9e7039cdbd39a228561f8962e538bb /hostapd | |
parent | 60cdfd7e257e9c5e0c032c2ce840c4e369943c49 (diff) | |
download | hostap-c101bb9d23aadd9dc7c00375def6ffecd3404686.zip hostap-c101bb9d23aadd9dc7c00375def6ffecd3404686.tar.gz hostap-c101bb9d23aadd9dc7c00375def6ffecd3404686.tar.bz2 |
hostapd: Add option to send OBSS scan params
Add a parameter to send the overlapping BSS scan parameter
information element. This will require clients to perform
background scans to check for neigbors overlapping this
HT40 BSS. Since the implementation is incomplete it should
only be used for testing.
Signed-hostap: Paul Stewart <pstew@chromium.org>
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/config_file.c | 2 | ||||
-rw-r--r-- | hostapd/hostapd.conf | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index ef0d647..ae05917 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -2422,6 +2422,8 @@ static int hostapd_config_fill(struct hostapd_config *conf, } } else if (os_strcmp(buf, "require_ht") == 0) { conf->require_ht = atoi(pos); + } else if (os_strcmp(buf, "obss_interval") == 0) { + conf->obss_interval = atoi(pos); #endif /* CONFIG_IEEE80211N */ #ifdef CONFIG_IEEE80211AC } else if (os_strcmp(buf, "ieee80211ac") == 0) { diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index eeb0055..9b70d0f 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -468,6 +468,13 @@ wmm_ac_vo_acm=0 # Require stations to support HT PHY (reject association if they do not) #require_ht=1 +# If set non-zero, require stations to perform scans of overlapping +# channels to test for stations which would be affected by 40 MHz traffic. +# This parameter sets the interval in seconds between these scans. This +# is useful only for testing that stations properly set the OBSS interval, +# since the other parameters in the OBSS scan parameters IE are set to 0. +#obss_interval=0 + ##### IEEE 802.11ac related configuration ##################################### # ieee80211ac: Whether IEEE 802.11ac (VHT) is enabled |