History log of /hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a5e1dd544bb3b0bfd3dcdb9ae90ecf3c2ff003d3 26-Jun-2017 Jiyong Park <jiyong@google.com> Building libwifi-hal-qcom with BOARD_VNDK_VERSION

Add missing header dependency and include system headers such as
unistd.h and pthread.h explicitly.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j libwifi-hal-qcom

Change-Id: Id844f42e02f5b1c83a697862204a52e8cdb8198d
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
4af1858c99372a4451dd4210601c17517618c01f 01-Mar-2016 Joe Onorato <joeo@google.com> Turn off excess logging

Change-Id: I77104c5183d4c83c5aa8cadaad83cdd2eb35cc7f
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
c19f715ece840e705749d2dfd1857210d7e31897 21-Sep-2015 Srinivas Dasari <dasaris@codeaurora.org> WiFi_HAL: Fix static analyzer findings

This commit fixes few issues found by static analyzer.

Change-Id: Ia22718b9545e1e56a784e28a1b2582cb489b8cc9
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
bdf16c2266e7e1f5de2cb38eb2d83895154b5689 09-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Consider min threshold only if complete record available

Buffers will be read if ring buffer reaches minimum configured
threshold. It is possible to reach minimum threshold after writing
header to the buffer and before writing actual payload. Incomplete
buffer will be read out in this case. This commit ensures to read
the data from buffer only if complete record is available.

Change-Id: I0c558e4cf73ea31892c8c086f2310405ebc49c74
CRs-Fixed: 904848
Bug: 23934884
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
57db12bad7921f7e4efa148f1a3a8ed37e92d5d4 03-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Write header and payload to same buffer

In case of driver prints and firmware prints, events will be
split into write to ring buffer as header and payload. Write
header and payload to same buffer so that complete record
will be available in a single buffer.

Bug:23783279
Change-Id: I54d3f813fbb14932b483cd6423d41c7187a464a9
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
eb3d1bfb7ba3935f3d5d31fc25a826760584e474 26-Aug-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Write and read data to/from ring buffers record wise

Currently, ring buffer writes and reads happens with byte
boundary. Add support to write only records and do not split any
records.

BUG=23783279
Change-Id: I2342f86cc4c3a678f21f1595b81e0cdf6d24b2c0
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
11ce564288345ac4acb5dde2caa71e6b8d9e8b49 29-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Fix misc diag event processing issues.

Fix issues found during reviews in processing diag events.

Change-Id: I85777d08237cdae824aec746a9944a84369b19de
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
0a82ce183d5d0f48f46c2fe17ca67cae79ff677d 24-Apr-2015 Subhani Shaik <subhanis@codeaurora.org> ring_buffer: Include string.h for memcpy related routines

Change-Id: Ib91b0c334a504130056ea0336c654c84cb111212
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp
9de438de8f6b21a0355e9f891133e0f18d026878 10-Apr-2015 Subhani Shaik <subhanis@codeaurora.org> Wi-Fi HAL: Initial implementation of Ring Buffer

Ring buffer consists of discrete buffers alloced and freed as and
when required and not required. These buffers together will
operate as a ring of memory and allows write and read operations
of different sizes. Also provides facility to trigger external
callbacks when the size of ring data crosses configured threshold.

Change-Id: Ide7453dad59a1abc82381619831e268e82ef89da
/hardware/qcom/wlan/qcwcn/wifi_hal/ring_buffer.cpp