alias: --req-wifi4 = --req-ht . Same for wifi5/6

This commit is contained in:
garywill 2025-08-17 10:32:48 +08:00
parent bbb70b99ba
commit 7ecc846459
1 changed files with 9 additions and 10 deletions

View File

@ -106,14 +106,13 @@ Options:
--hs20 Enable Hotspot 2.0 --hs20 Enable Hotspot 2.0
WiFi 4 (802.11n) configs: WiFi 4 (802.11n) configs:
--wifi4 Enable IEEE 802.11n (HT) --wifi4 Enable IEEE 802.11n (HT, High Throughput)
--req-ht Require station HT (High Throughput) mode
--ht-capab <HT caps> HT capabilities (example: '[HT40+][HT40-]') --ht-capab <HT caps> HT capabilities (example: '[HT40+][HT40-]')
(default: '[HT40+]') (default: '[HT40+]')
--req-wifi4 Only support Wifi>=4 clients
WiFi 5 (802.11ac) configs: WiFi 5 (802.11ac) configs:
--wifi5 Enable IEEE 802.11ac (VHT) --wifi5 Enable IEEE 802.11ac (VHT, Very High Thoughtput)
--req-vht Require station VHT (Very High Thoughtput) mode
--vht-capab <VHT caps> VHT capabilities (example: '[VHT160][RXLDPC]') --vht-capab <VHT caps> VHT capabilities (example: '[VHT160][RXLDPC]')
--vht-ch-width <index> Index of VHT channel width: --vht-ch-width <index> Index of VHT channel width:
0 for 20MHz or 40MHz (default) 0 for 20MHz or 40MHz (default)
@ -124,11 +123,10 @@ Options:
segment. Use with '--vht-ch-width' segment. Use with '--vht-ch-width'
--vht-seg1-ch <channel> Channel index of VHT center frequency for secondary --vht-seg1-ch <channel> Channel index of VHT center frequency for secondary
(second 80MHz) segment. Use with '--vht-ch-width 3' (second 80MHz) segment. Use with '--vht-ch-width 3'
--req-wifi5 Only support Wifi>=5 clients
WiFi 6 (802.11ax) configs: WiFi 6 (802.11ax) configs:
--wifi6 Enable IEEE 802.11ax (HE) --wifi6 Enable IEEE 802.11ax (HE, High Efficiency)
--req-he Require station HE (High Efficiency) mode
--he-ch-width <index> Index of HE channel width: --he-ch-width <index> Index of HE channel width:
0 for 20MHz or 40MHz (default) 0 for 20MHz or 40MHz (default)
1 for 80MHz 1 for 80MHz
@ -141,6 +139,7 @@ Options:
--he-su-bfe HE Single User Beamformee support --he-su-bfe HE Single User Beamformee support
--he-su-bfr HE Single User Beamformer support --he-su-bfr HE Single User Beamformer support
--he-mu-bfr HE Multi User Beamformer support --he-mu-bfr HE Multi User Beamformer support
--req-wifi6 Only support Wifi>=6 clients
--p2ptwt Peer-to-Peer Target Wake Time support --p2ptwt Peer-to-Peer Target Wake Time support
Note: Some cutting-edge Wifi features strongly depends on hostapd built Note: Some cutting-edge Wifi features strongly depends on hostapd built
@ -488,7 +487,7 @@ parse_user_options(){
shift shift
IEEE80211N=1 IEEE80211N=1
;; ;;
--req-ht|--require-ht) --req-wifi4|--req-ht|--require-ht)
shift shift
REQUIREHT=1 REQUIREHT=1
;; ;;
@ -502,7 +501,7 @@ parse_user_options(){
shift shift
IEEE80211AC=1 IEEE80211AC=1
;; ;;
--req-vht|--require-vht) --req-wifi5|--req-vht|--require-vht)
shift shift
REQUIREVHT=1 REQUIREVHT=1
;; ;;
@ -531,7 +530,7 @@ parse_user_options(){
shift shift
IEEE80211AX=1 IEEE80211AX=1
;; ;;
--req-he|--require-he) --req-wifi6|--req-he|--require-he)
shift shift
REQUIREHE=1 REQUIREHE=1
;; ;;