platform_hardware_interfaces/wifi/1.4/default
Veerendranath Jakkam 25b3a6f0a4 Synchronize on_ring_buffer_data_callback and writeRingbufferFiles
on_ring_buffer_data_callback callback is invoked on getting the
corresponding driver/firmware ringbuffer logs. This callback further
stores the ringbuffer data locally in cur_buffer. While the data is
getting updated through this callback, writeRingbufferFilesInternal
can get triggered from a different context which accesses the same buffer
-cur_buffer.
Synchronization is missing between these two contexts while accessing the
buffer and this commit attempts the same.

Bug: 153970986
Test: Manual - collect the bugreport and check the ring buffer logs.
Change-Id: Id99a517f4d72872b84b48c3df75dd29743f3e9b2
2020-04-15 21:53:48 -07:00
..
tests Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
android.hardware.wifi@1.0-service-lazy.rc
android.hardware.wifi@1.0-service.rc Adds IWifi 1.3 and 1.4 as interfaces provided by vendor.wifi_hal_legacy. 2020-04-08 21:39:24 +00:00
android.hardware.wifi@1.0-service.xml
Android.mk Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
hidl_callback_util.h
hidl_return_util.h
hidl_struct_util.cpp wifi: Add provision to create/delete dynamic interface(s) 2020-02-03 22:47:01 -08:00
hidl_struct_util.h wifi: Add provision to create/delete dynamic interface(s) 2020-02-03 22:47:01 -08:00
hidl_sync_util.cpp
hidl_sync_util.h
OWNERS
ringbuffer.cpp
ringbuffer.h
service.cpp
THREADING.README
wifi.cpp wifi(implementation): Clear wifi event callback objects while stopping 2020-01-29 07:03:17 -08:00
wifi.h
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 Synchronize on_ring_buffer_data_callback and writeRingbufferFiles 2020-04-15 21:53:48 -07:00
wifi_chip.h Synchronize on_ring_buffer_data_callback and writeRingbufferFiles 2020-04-15 21:53:48 -07: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 Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
wifi_iface_util.h Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
wifi_legacy_hal.cpp Wifi: Add support for mapping DSCP to Wifi AC 2020-02-19 16:48:41 -08:00
wifi_legacy_hal.h Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
wifi_legacy_hal_stubs.cpp Wifi: Add support for mapping DSCP to Wifi AC 2020-02-19 16:48:41 -08:00
wifi_legacy_hal_stubs.h
wifi_mode_controller.cpp
wifi_mode_controller.h
wifi_nan_iface.cpp Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
wifi_nan_iface.h Use additional interface for the WiFi Aware Discovery operations. 2020-04-14 13:47:42 -07:00
wifi_p2p_iface.cpp
wifi_p2p_iface.h
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