Allow Wifi P2P IPv6 link-local on devices without v2 supplicant HAL
The supplicant v2 HAL was required for IPv6 link-local over P2P in order to transmit the group owner's MAC address to the group client, thereby enabling the group client to automatically derive the group owner's IPv6 link-local address. We now remove this restriction on the HAL version, as long as apps using the API take the responsibility of letting the group client know about the group owner's IPv6 link-local address themselves. This would allow apps to use IPv6 link-local over P2P on devices having older HAL's. Updated the API and documentation accordingly in WifiP2pManager and WifiP2pConfig.
Test: atest CtsWifiTestCases
Bug: 233912758
Change-Id: I54d9966873dd17d13ec7c54ea3f187f0b0d9e351
6 files changed