i need to know what is the name of wireless interface for wifi direct at android platform.
it seems that
wlan0 the most interface used, but how exactly do i know it ?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
Issue netcfg in adb shell.It will show all interfaces. It depends on device What name it has.
I hope you can figure out wifi and/or p2p interfaces.