platform_hardware_interfaces/wifi
Kyounghan Lee 4c1b6780b4 wifi(implementation): Clear wifi event callback objects while stopping
This fixes a deadlock between WifiNative and HalDeviceManager
because it removes about 30 times callbacks of
IWifiEventCallback#onFailure() or onStop(). Such excessive callbacks
within a short period tend to make high probabilities of the deadlock.

Note: This is a side effect of how the framework is registering multiple
callbacks. But, unfortunately there is no HAL API to unregister
callback. So, this is somewhat of a workaround fix.

Bug: 144137870
Test: Verified that the HAL no longer accumulates callbacks from
framework.
Test: Device boots up and connects to wifi networks.
Change-Id: I441e2f815a0a49c3936615f06a65a6ed5366a628
Merged-In: I441e2f815a0a49c3936615f06a65a6ed5366a628
2020-01-29 11:09:41 -08:00
..
1.0 [VTS][AWARE]Setting callbacktype type to invalid value before invoking HIDL call 2019-05-29 10:41:55 -07:00
1.1 Wifi: Fix VTS test backward compatibility 2019-01-02 14:00:34 -08:00
1.2 [VTS][AWARE]Setting callbacktype type to invalid value before invoking HIDL call 2019-05-29 10:41:55 -07:00
1.3 wifi(implementation): Clear wifi event callback objects while stopping 2020-01-29 11:09:41 -08:00
hostapd hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1 2019-08-29 11:01:50 +08:00
offload/1.0 Update makefies: no 'types' 2019-03-04 11:27:17 -08:00
supplicant p2p: skip MAC randomization vts test if not supported 2019-06-26 14:40:10 +08:00
.clang-format wifi(vts): simplify HIDL calls 2017-02-15 12:47:02 -08:00