platform_hardware_interfaces/wifi/1.4/default
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
..
tests Wifi: Add 6GHz band to NAN structures and methods 2019-12-06 08:57:24 -08:00
android.hardware.wifi@1.0-service-lazy.rc Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
android.hardware.wifi@1.0-service.rc Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
android.hardware.wifi@1.0-service.xml Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
Android.mk Wifi AP: Remove HAL-level MAC randomization 2019-10-16 16:46:55 +02:00
hidl_callback_util.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
hidl_return_util.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
hidl_struct_util.cpp Remove 6GHz capability query through HAL 2019-12-12 16:37:36 -08:00
hidl_struct_util.h Remove 6GHz capability query through HAL 2019-12-12 16:37:36 -08:00
hidl_sync_util.cpp Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
hidl_sync_util.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
OWNERS Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
ringbuffer.cpp Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
ringbuffer.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
service.cpp Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
THREADING.README Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi.cpp wifi(implementation): Clear wifi event callback objects while stopping 2020-01-29 07:03:17 -08:00
wifi.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_ap_iface.cpp Wifi: Add 6GHz bands to WifiBand 2019-12-04 18:36:59 -08:00
wifi_ap_iface.h Wifi: Add 6GHz bands to WifiBand 2019-12-04 18:36:59 -08:00
wifi_chip.cpp Wifi: Fix VTS tests 2019-12-29 21:56:41 -08:00
wifi_chip.h Remove 6GHz capability query through HAL 2019-12-12 16:37:36 -08:00
wifi_feature_flags.cpp Wifi AP: Remove HAL-level MAC randomization 2019-10-16 16:46:55 +02:00
wifi_feature_flags.h Wifi AP: Remove HAL-level MAC randomization 2019-10-16 16:46:55 +02:00
wifi_iface_util.cpp Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_iface_util.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_legacy_hal.cpp wifi: thermal hal api 2020-01-23 22:25:52 +00:00
wifi_legacy_hal.h wifi: thermal hal api 2020-01-23 22:25:52 +00:00
wifi_legacy_hal_stubs.cpp wifi: Legacy HAL Thermal API stub 2019-12-20 16:40:37 -08:00
wifi_legacy_hal_stubs.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_mode_controller.cpp Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_mode_controller.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_nan_iface.cpp Wifi: Add 6GHz band to NAN structures and methods 2019-12-06 08:57:24 -08:00
wifi_nan_iface.h Wifi: Add 6GHz band to NAN structures and methods 2019-12-06 08:57:24 -08:00
wifi_p2p_iface.cpp Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_p2p_iface.h Wifi: Uprev Wifi HAL to 1.4 2019-09-19 10:37:29 -07:00
wifi_rtt_controller.cpp Wifi: Add 802.11ax support to RTT 2019-11-06 18:31:16 -08:00
wifi_rtt_controller.h Wifi: Add 802.11ax support to RTT 2019-11-06 18:31:16 -08:00
wifi_sta_iface.cpp Remove 6GHz capability query through HAL 2019-12-12 16:37:36 -08:00
wifi_sta_iface.h Remove 6GHz capability query through HAL 2019-12-12 16:37:36 -08:00
wifi_status_util.cpp Wifi: Handle invalid error values from vendor HAL 2019-10-24 19:22:17 -07:00
wifi_status_util.h Wifi: Add 802.11ax support to RTT 2019-11-06 18:31:16 -08:00