Skip to content

WiFi 6 Support #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

WiFi 6 Support #82

wants to merge 4 commits into from

Conversation

kphanipavan
Copy link
Contributor

@kphanipavan kphanipavan commented Sep 21, 2024

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:

  1. --wifi6 Enable IEEE 802.11ax (HE)
  2. --req-he Require station HE (High Efficiency) mode
  3. --he-ch-width <index> Index of HE channel width:
    0 for 20MHz or 40MHz (default)
    1 for 80MHz
    2 for 160MHz
    3 for 80+80MHz (Non-contigous 160MHz)
  4. --he-seg0-ch <channel> Channel index of HE center frequency for primary
    segment. Use with '--he-ch-width'
  5. --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:

  • Wifi 6 requires hostapd built with wifi 6 support, with "CONFIG_IEEE80211AX=y" in buildconf
  • Wifi 6 hotspot only works with wifi 6 cards only
  • Requires additional testing
  • Need to add more HE capabilities to the script.
  • Wifi 6 is backward compatible with wifi 5 clients only if --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

Screenshot_20240921_171254

Tasks:

  • add wmm 1 if ax is enabled as well
  • add 80211ax and require he
  • add he (mu, su) beamformer and su beamformee options
  • fix wifi 6e devices' channel detection

@garywill
Copy link
Owner

Sorry for late reply. Could you please rebase? Your commit seems to base on a quite old branch

@upsangel
Copy link

upsangel commented Jun 7, 2025

Hope this will come soon

@kphanipavan
Copy link
Contributor Author

I havent been having much time to work on this. We may have to celebrate 1 year anniversary of this mr before I can add any changes 😅

@kphanipavan kphanipavan marked this pull request as ready for review June 14, 2025 07:38
@kphanipavan
Copy link
Contributor Author

The base branch is referring 0.6.7 script

@garywill can you fix that? I used the latest commit on your master branch to add my changes.

@garywill
Copy link
Owner

I merged the 2 branches.
Haven't tested or reviewed the code. I'm still busy on other jobs. Need some time before we merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants