Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds partial wifi 6 support.
Connection Test Screenshot:
Tested on an RTL8852BE WifFi 6 PCIe Card for hotspot and a Samsung S24+ Phone as host
Command used for testing:
sudo /usr/local/bin/lnxrouter --dns 127.0.0.1 -d --ap $interface rock5boi -p asiudfbla --no-virt -c 149 --freq-band 5 -w "1+2" --no-virt --hs20 --wifi4 --req-ht --ht-capab "[HT40+][HT40-][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40][SMPS-STATIC]" --wifi5 --req-vht --vht-capab "[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMEE][HTC-VHT]" --vht-ch-width 1 --vht-seg0-ch 155 --country BZ --no-dnsmasq -g 10.9.8.1 --ieee80211ax --he-ch-width 1 --he-seg0-ch 155
New arguments:
--wifi6
Enable IEEE 802.11ax (HE)--req-he
Require station HE (High Efficiency) mode--he-ch-width <index>
Index of HE channel width:0
for 20MHz or 40MHz (default)1
for 80MHz2
for 160MHz3
for 80+80MHz (Non-contigous 160MHz)--he-seg0-ch <channel>
Channel index of HE center frequency for primarysegment. Use with '--he-ch-width'
--he-seg1-ch <channel>
Channel index of HE center frequency for secondary(second 80MHz) segment. Use with '--he-ch-width 3'
Above arguments operate similar to their
wifi5
counterparts.Notes:
--req-he
is NOT used.Error when trying to connect with a WiFi 5 client to a WiFi 6 Hotspot WITH `--req-he`
Red box shows the error when a wifi 5 client tries to connect when
--req-he
is used. Green box shows a successful connection to a wifi 6 client