@@ -88,7 +88,7 @@ Options:
88
88
Using this you can't use same wlan interface
89
89
for both Internet and AP
90
90
--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)
92
92
--country <code> Set two-letter country code for regularity
93
93
(example: US)
94
94
--freq-band <GHz> Set frequency band: 2.4 or 5 (default: 2.4)
@@ -103,31 +103,27 @@ Options:
103
103
--hostapd-debug <level> 1 or 2. Passes -d or -dd to hostapd
104
104
--isolate-clients Disable wifi communication between clients
105
105
--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
107
107
108
108
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+])
112
112
113
113
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
117
117
118
- --vht-channel-width <index>
119
- Index of VHT channel width:
118
+ --vht-ch-width <index> Index of VHT channel width:
120
119
0 for 20MHz or 40MHz (default)
121
120
1 for 80MHz
122
121
2 for 160MHz
123
122
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'
131
127
132
128
Instance managing:
133
129
--daemon Run in background
@@ -409,19 +405,19 @@ parse_user_options(){
409
405
shift
410
406
;;
411
407
412
- --ieee80211n)
408
+ --wifi4|-- ieee80211n)
413
409
shift
414
410
IEEE80211N=1
415
411
;;
416
- --require-ht)
412
+ --req-ht|-- require-ht)
417
413
shift
418
414
REQUIREHT=1
419
415
;;
420
- --ieee80211ac)
416
+ --wifi5|-- ieee80211ac)
421
417
shift
422
418
IEEE80211AC=1
423
419
;;
424
- --require-vht)
420
+ --req-vht|-- require-vht)
425
421
shift
426
422
REQUIREVHT=1
427
423
;;
@@ -435,17 +431,17 @@ parse_user_options(){
435
431
VHT_CAPAB=" $1 "
436
432
shift
437
433
;;
438
- --vht-channel-width)
434
+ --vht-ch-width|--vht- channel-width)
439
435
shift
440
436
VHTCHANNELWIDTH=" $1 "
441
437
shift
442
438
;;
443
- --vht-seg0-channel)
439
+ --vht-seg0-ch|--vht-seg0- channel)
444
440
shift
445
441
VHTSEG0CHINDEX=" $1 "
446
442
shift
447
443
;;
448
- --vht-seg1-channel)
444
+ --vht-seg1-ch|--vht-seg1- channel)
449
445
shift
450
446
VHTSEG1CHINDEX=" $1 "
451
447
shift
0 commit comments