-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
RTL8189FS: Fix P2P-GO advertising #4661
Conversation
I think, this patch must be ported to all realtek drivers. That easily. But I have only RTL8189FS :( |
Agree, but we are also very low on time :( I hope patch just applies elsewhere too but probably not ...
We have around 25 different USB wireless chips in the lab for testing purposes. Plan is to share them via usbip and run automated tests with. But since I am as busy as Hans :) adaptors just sit there doing nothing :( |
Sounds cool :) If this PR will be successful, I can try to adapt this patch to other RTL wifi's. Also I have tinkerboard with RTL8723BS. With same bug. I'll send a patch for it too. |
If necessary, I can try to help. |
Do I understand correctly, we are talking about this one? |
Idea was summarised in https://armbian.atlassian.net/browse/INFRA-3
Yes, but until test scripting is not production ready, it can run on x86 machinery - where this just works. |
I will formulate the question differently. |
yes. usbip client is needed. assembled on the device or packaged. But its not urgent as we only need this, when this test system is functioning. I think on x86 just works as I was already testing this by hand few months ago. |
Good. I'll do that, too. |
* RTL8189FS: fix P2P-GO adverising * Add patch to drivers_network.sh Co-authored-by: Igor Pečovnik <[email protected]>
Description
Most of Realtek drivers have a bug: P2P IE not passed to AP beacon.
This causes problems, when P2P-GO looks like a regular AP. All P2P capable devices can't see my P2P-GO in the list.
I found a driver where P2P-GO works fine (according to user reviews): https://github.com/aircrack-ng/rtl8812au
And found these differences. After I backported these changes my P2P-GO works fine.
Also this changes is totally safe, because affects only P2P-related code
This patch contains my patches to the original driver repo:
But the owner is too busy to review that :(
How Has This Been Tested?
Open on android "Wifi Direct" section in settings.
Now you can see "orangepilite" device in the list. Just click it!
Accept join req from your phone to P2P-GO
In wpa_supplicant logs you can see something like that:
That's successful connection.
Checklist: