This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: Linux: P2P GO on TiWi-BLE goes offline - Possible solution

Tool/software: Linux

I may have found the solution to this problem.  After spending many weeks trying to compile newer drivers with no success, I stumbled upon a Google reference to using P2P GO in an embedded environment such as a printer.  Apparently, the following two wpa_cli commands keep the P2P GO up and running:

wpa_cli -iwlan0 p2p_ext_listen
wpa_cli -iwlan0 p2p_listen 600

Issuing these two commands before performing the p2p_group_add command works.  I need to test this out further but the results are promising.

  • Hi Blair Burtan,

    Thank you for sharing the solution about your issue but could you give details about your hardware, board and DSP?  Also it is interesting whether it is related to specific software release and Linux kernel version?

    Regards,
    Tsvetolin Shulev

  • Sure.  This is a Technologic Systems TS-7970 single-board computer.  It's got a TiWi-BLE module on it.  Since this is a COTS board, I had no choice to use a more current wifi module.  I personally run Yocto Morty on it with kernel version 4.1.15 but I've also tried Debian Stretch on it with the same result.  It was just luck that I stumbled upon the magic incantation to get this to work and I don't really understand why this works.  I've posed the question on the WPA Supplicant mailing list but haven't gotten a response.  I also can't seem to find where the default values live in the source code.

  • Well, apparently I was premature in my enthusiasm.  The above magic incantation isn't a complete solution.  While it will keep the P2P GO beaconing and connectable, it prevents the regular station mode wlan0 from connecting to a known router that becomes visible after the system boots.  Furthermore, you can't perform a wpa_cli scan (and wpa_cli scan_results) when the above settings are used.  It appears that scanning for networks in wpa_supplicant interferes with P2P GO operations somehow.

    Naturally, the wpa_supplicant author believes this to be a driver issue while sadly there is no longer any support for the TIWI-BLE device.  IMHO, support should be available after EOL because there are still a lot of these devices out there.  Technologic Systems sells two current/active single-board computers with this device on it.