Write the fennec implementation of the Wi-Fi Direct backend for FlyWeb.
Created attachment 8726964 [details] [diff] [review] wifi-direct-backend.patch Initial patch. Doesn't do much yet, but the basic boilerplate for shimming between C++ and the Java code is there.
Created attachment 8730926 [details] [diff] [review] add-wifi-direct-support.patch Latest patch.
So, after much experimentation and reading up online, the conclusion is that Wi-Fi Direct support in the wild is just not up to par. Both device discovery and service discovery on even flagship Android devices is super flaky. Sometimes services are seen, sometimes not. It seems adoption and implementation in devices for Wi-Fi Direct is not there yet, so I'm shelving this implementation effort until we revisit at a later time if/when WiDi is better supported.