P2P: remove all aidl scan retry logic
This removes all retry logic from AIDL and uses newly added retry logic
added in core wpa_supplicant in the CLs preceding this one in the
interest of upstreaming. There are a few key differences between the new
retry strategy and the AIDL one:
1. In the AIDL strategy, the delay after performing a single channel
scan was 200ms, while the delay after performing a multi channel scan
was 1s. The new strategy delays 250ms in all cases.
2. If, for some reason, the join failed after discovery, control would
be handed off to the core supplicant retry logic, and take the full
10 seconds to timeout (e.g. if the GO disappeared). This edge case is
now fixed.
Bug: 233925359
Test: Checked that file transfer still works via nearby share, checked
that all retry mechanisms still remain the same (found BSSID on another
iface, single channel specified, band specified, nothing specified)
Change-Id: I623c727b167d3abcee9b87004be066b2f27bf0b1
1 file changed