platform_hardware_interfaces/wifi/1.4
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
..
default Synchronize on_ring_buffer_data_callback and writeRingbufferFiles 2020-04-15 21:53:48 -07:00
vts Rename vts-core to vts 2020-04-07 16:37:40 -07: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