Hardware: i.MX6Q SabreSD connecting rtl8188cus or rtl8192cus wifi dongle
Software: FSL JB 4.2.2-1.1.0-GA release
Advantage brought by JB4.2.2
As we may know that in JB4.0.x, Wifi-Direct is exclusive to normal Wifi access AP, so means that you have to turn off Wifi normal AP access, then turn on Wifi-Direct. But in JB4.2.x, it can support the following topologies in use scene as following:
So that means you can keep p2p connection meanwhile access internet throught AP.
1. Wifi connection support internet surf, and DLNA.
2. Wifi-Direct can support files transmission like Gallery sharing based on Wifi-Direct Demo.apk from FSL.
3. Particial support Wifi-Display, but due to unavailability of Wifi-Display sink module, so cannot be verified fully.
untar the attached file, then "patch -p1 <" in corresponding subdirectories. It would be better to untar the file in an empty directory, so you can understand which subdirectories are newly created (ex. hardware/realtek is newly created), then within these newly created subdirectoies, you need to "git init" first, then do "patch -p1<" to adopt all newly added files and subdirectories.