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.

P2P not working with wpa_supplicant 2.5

I was using wpa_supplicant with 2.1 earlier and wifi and p2p interface were workimg fine. Now I have upgraded to wpa_supplicant 2.5 as part of R8.6 release from TI.

As part of TI R8.6 release notes,

P2P usage
p2p0 interface is not longer required to be added manually,
going forward we will use p2p-dev-wlan0 which is started automatically by the wpa_supplicant process when loaded.

When I start the wpa_supplicant as,

wpa_supplicant -B -u -iwlan0 -c/etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Could not read interface p2p-dev-wlan0 flags: No such device

If i give, ip addr only wlan0 interface is displayed.

Earlier with 2.1, I was using p2p0 with dbus API GetInterface to get the object path.  If I give p2p-dev-wlan0 as input to GetInterface my wpa_supplicant gets stopped.

The below command stops the wpa_supplicant with 2.5.

dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Get string:fi.w1.wpa_supplicant1 string:Interfaces

With 2.5 what interface should I use with dbus API's for p2p?

Regards,

Johncy.

 

 

  • Hi Johncy,

    The dbus interface is not tested in-house. Internally, we use the p2p_start.sh/p2p_cli.sh scripts from "/usr/share/wl18xx/". Please try this at your end and confirm if p2p is operational.

    As for dbus interface specific queries, recommend you to post on some external forum

    Regards,
    Gigi Joseph.