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
Testing the wifi6 conf #416
Comments
Hi @fs30000
Evidently the driver supports 160 MHz in managed mode but only 80 MHz in AP mode. I have a mt7922 based PCIe card in my main dev box but have never tested AP mode. It will do 160 in managed mode and I regularly see 1+ Gbps with iperf3 on the connection to my main wifi router. Faster than 1 Gb ethernet. Cool. However, a user mentioned sometime in the last few months that this driver only supports 80 for AP mode. I don't know if the intent is to expand to 160 at some point. |
Regarding hostapd. My guide to get hostapd working with WiFi 6: https://github.com/morrownr/USB-WiFi/blob/main/home/AP_Mode/Upgrade_hostapd.md The guide is for RasPiOS, which is Debian based. The following is what I used and it seemed to work well but if you see any needed changes, let me know.
|
Notes:
Only needed for DFS channels in AP mode. Not sure if the card supports DFS channels so this may not be needed. You only need to mandate WPA3 for WiFi 6e. For WiFi 6, you can use WPA 2 or mixed. |
Thanks for your input @morrownr. 80Mhz in AP mode makes sense. Still a nice upgrade from my anterior wifi5 config. Even more signal! BTW, WPA3 is also a nice addition. More secure yes? |
Does anyone know how to configure it to broadcast at 20 MHz? |
Just run it at 2.4g i guess. Possible conf:
|
Yes, I do. What band and N, AC or AX? Post a hostpad.conf and I try to offer some advice. |
That is not a solution because I am looking to broadcast in the 5 GHz band and with all its advantages. I tried changing the following lines:
To this:
I get this:
The client shows that it is connected at 20 MHs, but when viewing the Now if I try to change the following lines to use in another channel in which a channel width greater than 20 MHz can be used, as in 36, I get another result:
To this:
I get this:
The client does not see the new network. |
/etc/hostapd/hostapd-WiFi6.conf
|
Change the ht_capab line to: Then delete or comment all lines after the above. |
@morrownr I have changed the line |
Muy bien |
Hello guys,
So far i've been running the AP with wifi5. I decided to try the wifi6 conf here.
Details:
Chinese mini pc
MT7922 card with 2 crappy antennas inside the pc itself.
Rocky Linux 9.3
Kernel 6.8.2-1.el9.elrepo.x86_64
Clients:
Oneplus 11 phone
Laptop with intel AX201
Results with iperf, 3 meters from AP, direct line:
O11
Normal mode: Half of times 33 MB/s, sometimes 40 MB/s, one or two times, 60-70 MB/S
Reverse mode: Almost always 75 MB/s
AX201
Normal mode: Most times 38-37 MB/s, other times around 42 MB/s
Reverse mode: Most times: 45-50 MB/s
So, reverse mode is great, but sending results are kind of unstable. Anyway, no biggie for me, as this isn't my main AP. I got a xiaomi AX1800 (white model) for that. Amazing router for 30€! I think this card is capable of 2x 80Mhz streams, but hostapd errors when setting [VHT160-80PLUS80]. Wifi analyzer on the phone shows the AP runs at 80 Mhz. Where is the 160Mhz?!
Anyway, this post if just for reporting. hostapd conf file here:
For compiling hostapd with wifi6 support:
git clone git://w1.fi/hostap.git
cd hostap/hostapd/
vim .config (use the config bellow)
yum install gcc openssl-devel libnl3-devel (maybe in your case, more libs are needed)
make
cp /usr/sbin/hostapd /usr/sbin/hostapd.RPM
cp /usr/sbin/hostapd_cli /usr/sbin/hostapd_cli.RPM
cp hostapd /usr/sbin/hostapd
cp hostapd_cli /usr/sbin/hostapd_cli
.config
The text was updated successfully, but these errors were encountered: