Wifi: Modified WFD connection latency check

As per GMS requirement - GMS-8.35-001, DEVICEs
running Android T or higher that support Wi-Fi Direct protocol
must establish WFD connection with in 1.5 seconds. But this is true
only if the VNDK version of the vendor partition is
same as Android T or newer. Because all the optimizations are
part of supplicant which is in vendor partition.
So added a check for the VNDK version.

Bug: 234325918
Test: Ran WiFi Direct cts verifier tests
Change-Id: Ib95d6502f5f362fb153204deb47c4a426a103384
1 file changed