Optimize p2p client scan
Search for the GO BSS in scan cache
by iterating over all the interfaces and if found,
fetch the operating frequency and scan the operating frequency
alone in the first scan attempt.
Bug: 202751801
Test: Manual - 1. Start Auto GO on DUT1
2. Issue Scan on DUT2 and immediatly trigger p2p connect(through
NearbyShare)
3. Confirmed from the logs that supplicant HIDL is able to get the
GO BSS from wlan0 scan cache and able to connect by scanning only
GO operating frequency.
Change-Id: I24705d139bd7e6a075a4b0031aac8b29e572a6f0
1 file changed