ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

WiFi-Direct does not work #54

Closed ngoquang2708 closed 8 years ago

ngoquang2708 commented 8 years ago

wpa_supplicant cannot initialize the p2p0 interface. It says No such device while ipconfig -a ifconfig -ashows there is p2p0 interface.

diepquynh commented 8 years ago

It must be "ifconfig" instead of ipconfig. It's for Windows only And that p2p0 device is for USB tethering. Don't you see "Ethernet" there? screenshot_20160722-180741

diepquynh commented 8 years ago

Weird is we get "No such device" here

ngoquang2708 commented 8 years ago

OK, I misspelled it. Did you compare it with wlan0 (when wifi is off)? They are the same!

2016-07-22 18:08 GMT+07:00 Nguyễn Tuấn Quyền notifications@github.com:

It must be "ifconfig" instead of ipconfig. It's for Windows only And that p2p0 device is for USB tethering. Don't you see "Ethernet" there? [image: screenshot_20160722-180741] https://cloud.githubusercontent.com/assets/13411810/17055483/3c6bf336-5037-11e6-895b-137fd614f7ce.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/54#issuecomment-234517513, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9mckxR8dXI_WXIobKEJApMADFdBmks5qYKSagaJpZM4JR6W5 .

ngoquang2708 commented 8 years ago

I ran wpa_supplicant -i p2p0 -Dnl80211 -c /data/misc/wifi/p2p_supplicant.conf to test it. With -i wlan0, it works, with -i p2p0, it does not.

diepquynh commented 8 years ago

OK, my mistake :D

ngoquang2708 commented 8 years ago

WiFi-Direct is working now. Maybe CM's repo is updated with changes that make it works.

ngoquang2708 commented 8 years ago

screenshot_20160728-214803