-
Notifications
You must be signed in to change notification settings - Fork 199
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
Advice needed for optimal hostapd configuration with rtw88_8822bu devices. #578
Comments
Hi @thememika Alright. Time to have some fun. It appears that you provided most of the information needed but one thing seems to be missing: What country are you in? I have to know that so that I know what channels and power settings are allowable. Here are a couple of initial changes to make to get you started: Change wpa=3 to wpa=2 Why? Read the hostapd docs. Change wpa_pairwise=TKIP to wpa_pairwise=CCMP Why? Well, you may think you want TKIP but you really don't. Standing by for the country. |
@morrownr thank you very much for your reply!
" In other words, for WPA3, wpa=2 is used " Regarding country, there isn't any limit (you can see in the iw list I posted) Thanks!^^ |
You are welcome to not tell me what country you live in. However, without it, I am done. Good luck. |
@morrownr Can you help since I tell you my country? It's EU |
There is no such country as EU. Information in the regdb is broken out by country. I have little tolerance for being jerked around. At this point, even if you answer my question, I probably won't find time to help until maybe next week or maybe longer. |
@morrownr my country is FI. I've never had the intention to play jokes on you, sorry. I thought that you would assume frequencies which are allowed everywhere in Europe. (and look at this patch suggesting
More than that, there's also the worldwide registry, which allows only frequencies permitted in all countries. You could just use that one, back when I didn't tell you the country, initially. Thanks, |
Hello!
I'm using the
rtw88
driver (kernel in-tree) to operate two88x2bu
-based devices over USB 2.0 in AP mode on my server.I'm running two separate networks on these devices, one is 5 Ghz (
hw_mode=a
channel 144), and another is 2.4 GHz (hw_mode=g
channel 13).And, it is working, except unoptimal speed.
The speed is barely 20 Mbps, even in local communication on the 5Ghz network, and less than 10 Mbps on the 2.4Ghz one.
It's clearly not the issue with my server or routing, because I also have a wired localnet in house, and the speed to my server (over wires) is stable 1 Gbps there.
Yes, the rtw devices are on USB 2.0, and I expect never more than around 200 Mbps or similar, but not 10..
In this issue I would like to focus on the 5Ghz network configuration, for now.
Below is my currently used hostapd file, in essence:
And it works, except speed.
Now I wanted to reconfigure it like this, after doing some research:
But this one fails to start:
The message
channel is disabled
makes no sense, as in all my kernels I edit out the cfg80211 limitation/check.I don't know what's the problem.
Here is IW list for this specific device:
Here is the
iw info
while it's running (on the working but slow config):I would really appreciate any help regarding the hostapd configuration, big thanks for any help!
The text was updated successfully, but these errors were encountered: