@@ -88,7 +88,7 @@ Options:
8888 Using this you can't use same wlan interface
8989 for both Internet and AP
9090 --virt-name <name> Set name of virtual interface
91- -c <channel> Specify channel (default: use current one , or 1 / 36)
91+ -c <channel> Specify channel (default: use current, or 1 / 36)
9292 --country <code> Set two-letter country code for regularity
9393 (example: US)
9494 --freq-band <GHz> Set frequency band: 2.4 or 5 (default: 2.4)
@@ -103,31 +103,27 @@ Options:
103103 --hostapd-debug <level> 1 or 2. Passes -d or -dd to hostapd
104104 --isolate-clients Disable wifi communication between clients
105105 --no-haveged Do not run haveged automatically when needed
106- --hs20 Enable Hotspot 2.0 (Make sure your hostapd build supports it)
106+ --hs20 Enable Hotspot 2.0
107107
108108 WiFi 4 (802.11n) configs:
109- --ieee80211n Enable IEEE 802.11n (HT)
110- --require -ht Require station HT (High Throughput) mode
111- --ht-capab <HT> HT capabilities (default: [HT40+])
109+ --wifi4 Enable IEEE 802.11n (HT)
110+ --req -ht Require station HT (High Throughput) mode
111+ --ht-capab <HT caps> HT capabilities (default: [HT40+])
112112
113113 WiFi 5 (802.11ac) configs:
114- --ieee80211ac Enable IEEE 802.11ac (VHT)
115- --require -vht Require station VHT (Very High Thoughtput) mode
116- --vht-capab <VHT> VHT capabilities
114+ --wifi5 Enable IEEE 802.11ac (VHT)
115+ --req -vht Require station VHT (Very High Thoughtput) mode
116+ --vht-capab <VHT caps> VHT capabilities
117117
118- --vht-channel-width <index>
119- Index of VHT channel width:
118+ --vht-ch-width <index> Index of VHT channel width:
120119 0 for 20MHz or 40MHz (default)
121120 1 for 80MHz
122121 2 for 160MHz
123122 3 for 80+80MHz (Non-contigous 160MHz)
124- --vht-seg0-channel <channel>
125- Channel index of VHT center frequency for primary
126- segment, use with --vht-channel-width
127- --vht-seg1-channel <channel>
128- Channel index of VHT center frequency for secondary
129- (second 80MHz) segment,
130- use with '--vht-channel-width 3' .
123+ --vht-seg0-ch <channel> Channel index of VHT center frequency for primary
124+ segment. Use with '--vht-ch-width'
125+ --vht-seg1-ch <channel> Channel index of VHT center frequency for secondary
126+ (second 80MHz) segment. Use with '--vht-ch-width 3'
131127
132128 Instance managing:
133129 --daemon Run in background
@@ -409,19 +405,19 @@ parse_user_options(){
409405 shift
410406 ;;
411407
412- --ieee80211n)
408+ --wifi4|-- ieee80211n)
413409 shift
414410 IEEE80211N=1
415411 ;;
416- --require-ht)
412+ --req-ht|-- require-ht)
417413 shift
418414 REQUIREHT=1
419415 ;;
420- --ieee80211ac)
416+ --wifi5|-- ieee80211ac)
421417 shift
422418 IEEE80211AC=1
423419 ;;
424- --require-vht)
420+ --req-vht|-- require-vht)
425421 shift
426422 REQUIREVHT=1
427423 ;;
@@ -435,17 +431,17 @@ parse_user_options(){
435431 VHT_CAPAB=" $1 "
436432 shift
437433 ;;
438- --vht-channel-width)
434+ --vht-ch-width|--vht- channel-width)
439435 shift
440436 VHTCHANNELWIDTH=" $1 "
441437 shift
442438 ;;
443- --vht-seg0-channel)
439+ --vht-seg0-ch|--vht-seg0- channel)
444440 shift
445441 VHTSEG0CHINDEX=" $1 "
446442 shift
447443 ;;
448- --vht-seg1-channel)
444+ --vht-seg1-ch|--vht-seg1- channel)
449445 shift
450446 VHTSEG1CHINDEX=" $1 "
451447 shift
0 commit comments