platform_hardware_interfaces/wifi/1.4
Kyounghan Lee f2e21c27fd 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
2020-01-29 07:03:17 -08:00
..
default wifi(implementation): Clear wifi event callback objects while stopping 2020-01-29 07:03:17 -08:00
vts Wifi: Make sure that VTS tests start with a clean state 2020-01-08 03:51:43 +00:00
Android.bp Remove 6GHz capability query through HAL 2019-12-12 16:37:36 -08:00
IWifi.hal Wifi: Add getConnectionCapabilities API 2019-10-18 21:07:07 +00:00
IWifiApIface.hal Wifi: Add 802.11ax support to RTT 2019-11-06 18:31:16 -08:00
IWifiChip.hal Fix format for android.hardware.wifi@1.4 2019-12-09 22:08:55 -08:00
IWifiChipEventCallback.hal Fix format for android.hardware.wifi@1.4 2019-12-09 22:08:55 -08:00
IWifiNanIface.hal Fix format for android.hardware.wifi@1.4 2019-12-09 22:08:55 -08:00
IWifiRttController.hal Wifi: Add 802.11ax support to RTT 2019-11-06 18:31:16 -08:00
IWifiRttControllerEventCallback.hal Wifi: Add 802.11ax support to RTT 2019-11-06 18:31:16 -08:00
types.hal Fix format for android.hardware.wifi@1.4 2019-12-09 22:08:55 -08:00