platform_hardware_interfaces/wifi/hostapd
lesl 78a04d6bc7 wifi: Support use "non-primy interface when testing hostapd Hal
In current android design, the general use case is the interface is
removed after terminate() call.
But the VTS kill the hostapd immediately it causes terminate doesn't
work normally.
Add sleep 3 seconds to allow terminate processing.

Another test case is considered to check hostapd died because any reason.
(for instance: NPE crash)
But the interface handling in android design is control in framework and WiFiHal.
Case 1. Native crash will be handled in framework and clean the interface for
the recovery.

Case 2. VTS use "stopHAL" to clean "primy interface".
It will cause clean up fail if OEM use "non-primy interface" for the SoftAp.
But it is not requirement in hostapd HAL. Verify terminate is good in
VtsHalWifiHostapd.

Bug: 177483254
Bug: 177389456
Test: atest -c VtsHalWifiHostapdV1_3TargetTest
Change-Id: I39f6ee92b1354ab2cebbe2fe6e9873e62d850c42
2021-01-22 10:32:11 +08:00
..
1.0 Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d 2020-09-25 07:07:34 +00:00
1.1 Merge "wifi: Call terminate in VTS teardown" am: 226727ca88 am: 188a7b6bbf am: 6718df8902 am: e9089d18ef am: 7ba81ef68d 2020-09-17 14:54:27 +00:00
1.2 wifi: ignore addAccessPoint_1_2 test if current hidl is 1_3 2020-09-28 11:29:31 +08:00
1.3 wifi: Support use "non-primy interface when testing hostapd Hal 2021-01-22 10:32:11 +08:00