From 6c93c38d7cb224aa7969ca7ae46643325cfbca81 Mon Sep 17 00:00:00 2001 From: Mahesh Palivela Date: Fri, 10 Aug 2012 19:44:16 +0300 Subject: [PATCH] VHT: Document vht_oper_chwidth and fix indentation Signed-hostap: Mahesh Palivela --- hostapd/config_file.c | 2 +- hostapd/hostapd.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 75aed7f25..b7156be7e 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -2223,7 +2223,7 @@ static int hostapd_config_fill(struct hostapd_config *conf, errors++; } } else if (os_strcmp(buf, "vht_oper_chwidth") == 0) { - conf->vht_oper_chwidth = atoi(pos); + conf->vht_oper_chwidth = atoi(pos); #endif /* CONFIG_IEEE80211AC */ } else if (os_strcmp(buf, "max_listen_interval") == 0) { bss->max_listen_interval = atoi(pos); diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index 3199be726..22c7f7548 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -550,6 +550,11 @@ wmm_ac_vo_acm=0 # 0 = Tx antenna pattern might change during the lifetime of an association # 1 = Tx antenna pattern does not change during the lifetime of an association #vht_capab=[SHORT-GI-80][HTC-VHT] + +# 0 = 20 or 40 MHz operating Channel width +# 1 = 80 MHz channel width +# 2 = 160 MHz channel width +# 3 = 80+80 MHz channel width #vht_oper_chwidth=1 ##### IEEE 802.1X-2004 related configuration ##################################