VHT: Document vht_oper_chwidth and fix indentation
authorMahesh Palivela <maheshp@posedge.com>
Fri, 10 Aug 2012 16:44:16 +0000 (19:44 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 10 Aug 2012 16:44:16 +0000 (19:44 +0300)
Signed-hostap: Mahesh Palivela <maheshp@posedge.com>

hostapd/config_file.c
hostapd/hostapd.conf

index 75aed7f..b7156be 100644 (file)
@@ -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);
index 3199be7..22c7f75 100644 (file)
@@ -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 ##################################