-
Notifications
You must be signed in to change notification settings - Fork 781
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
Wi-Fi Direct not advertising. #314
Comments
I have observed this as well - for example, from the v5.3.4 branch, Miraclecast can see other P2P-capable devices, but is not actually visible or correctly working for other WiFi-Direct capable devices, using an rtl8811au chipset (with no modifications to the
So the driver advertises support for, but does not actually successfully implement |
We want everything working! Let's get to work.. start finding the code and diff them and we'll ser. I'll look into it |
@kimocoder did you ever test Wi-Fi Direct? I could |
No, i never did |
@kimocoder @Hurricos is there any way to solve this issue !! |
Not as far as I've seen, unfortunately. |
@visbs I have poked through pretty much every version with no luck. You could try messing with the modprobe options (check out os_dep/linux/os_intfs.c). |
@Hurricos actually I am writing the user application mostly using wpa_supplicant for P2P (WiFi -direct), |
If you want better debugging tools, use this repository with a rtl8812au-based chipset, alongside The driver manufacturers are far, far behind the diffs here. If you check out v5.2.20, under documents, you will find a lot of the release docs that the manufacturers have provided which give you specific instructions for how to get the chipsets to work with their drivers ... but good luck escalating it to them. |
@Hurricos Thank you, I will be trying something from my side too. |
@Hurricos @kimocoder i found the same issue being resolved for 8723bs, |
@visbs i just implemented the workaround, could you "git pull" and building/installasjon and reload driver and test? |
Good documentation over here |
@kimocoder I tried the workaround, it is still not helping. Did it work for you? |
Haven't tried, dont really care about P2P, but with some experience i know and have seen lots of issues om P2P and CONCURRENT mode on Realtek drivers.. dont really have time to investigate that issue right away |
Oof, never mind, I'm just a jerk :( |
I was debugging the code using logs, then i observed some of things going on, Here, I am never getting OnProbeReq called. May be while sending P2P_FIND command none of the functions are getting triggered that will send beacon frame. Can you please check it. Thanks, |
@visbs If you've gotten the device visible to Android devices, fantastic - it oughta be a logic error somewhere which canbe fixed. I will be able to sit down and look in about 4 hours |
@Hurricos any update ? |
@Hurricos can u see rtw_p2p.c there are some todo on p2p. |
Hi, sorry for the delay. Could you bring up the p2p interface with wpa_cli and show me your interaction on the CLI? I ask because I'm not well versed in p2p association and could use some leads. |
http://processors.wiki.ti.com/index.php/WiFi_Direct_Configuration_Scripts |
Thank you, I will take a look at this when I get a chance. |
Hi everyone! |
Try using wicd-curses. If you're on a headless machine and that's not an option, please dump the logs from your network management process ( Association with an access point was never a problem; this issue is for P2P, not managed, mode. |
Which driver did you try? |
This is the driver that works for me: I am not sure how to get the log from the wpa_supplicant: Sorry may be, i have to open another issue, not to spam this one? |
It would be better to open another issue, but it certainly seems like a end-user usage problem. |
_> If you're on a headless machine and that's not an option,
Yes i use headless raspberry pi 3 model B, may be i should try wicd-curses, and then to ask for help! |
@Fateofiko I did try that driver which u specified, which is of no help. |
@visbs This driver works for me, but i am using it for simple connection to my home access point, but you need direct connection, and i am not sure this driver can be useful for that. |
@kimocoder just remove the "/" in makefile for uninstall
to
PS:This has nothing to deal with this issue . |
You can do it, so you get the credits too. Thanka |
@kimocoder is this issue solvable !? |
Any progress on this? |
@visbs Yes, you should use the newest branch, v5.6.4. Check it out and report back! Thanks |
Hello there people.. in the new branch v5.6.4.1 the WiFi direct is working 🥇 |
Issue resolved 🥇 |
5.6.4.1 I'm not able to build says error: implicit declaration of function ‘rtw_get_wait_hiq_empty_ms’; did you mean ‘rtw_get_time_interval_ms’? [-Werror=implicit-function-declaration]!! |
Okay the driver is now compiling, but pls do look into the concurrent_mode which is not compiling. |
Possible fix for similar driver: jwrdegoede/rtl8189ES_linux#87 But you need backport this changes to this driver |
Hi,
I am using RTL8812AU based chipset USB Wi-Fi Adapter (Like ASUS AC56 , Linksys WUSB6300) in ubuntu (tried in different OS and Kernel version).
And I am trying to make use of WI-Fi Direct using wpa_supplicant (P2P Enabled) with user app wpa_cli.
In case of Intel Wireless Driver, whenever I do P2P_FIND or any scan command, from wpa_cli, my device is visible in any Wi-Fi Direct supported devices like Android, Windows etc.
But in case of Realtek driver (rtl8812au), my device is not visible or listed in Wi-Fi Direct device list, whereas I can get the nearby peers available in my device. As well I am able to connect to any SSID available.
So, am I missing something additional setup required for driver to make my device visible to other peer?
Any help would be very helpful?
Thank you,
The text was updated successfully, but these errors were encountered: