History log of /hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e6476a16ebe0f818b80dcb627193f62528344640 16-Mar-2017 Ajit Vaishya <ajitv@codeaurora.org> WiFi-Hal: memset cap_vendor_data before populating data to it.

WiFiHAL populates data to cap_vendor_data elements when diag event
LOG_WLAN_EXTSCAN_CAPABILITIES is received. memset the buffer zero
before populating to it, to make sure no invalid data is sent to
framework.

CRs-Fixed: 2020507
Change-Id: Ifc9e8b7a777d8698bc61b139ef5ede20d083cde2
Bug: 76133856
(cherry-picked from 6883d36b6a0af69e5e3860efcc0dd38799626b34)
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
77e7a47c124b8893b5f278195cda903a57fdc44b 26-Apr-2017 Subhani Shaik <subhanis@codeaurora.org> WifiHal: Fix crash with firmware logs decode

Bug: 37671537
Change-Id: Ic53a9259483fee99902f04f14ef9a2c263ec4ffa
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
a7c116dfccecf762cd3d47a15eef4c59146fa863 08-Dec-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-Hal: Support new header of size 16-bytes for fate stats

Host driver sends the stats with 15th-bit set in flags field of
wh_pktlog_hdr_t header if the structure size is 16-bytes.
Offset for the fates stats from header by size of new
structure (16-bytes) if the flag is set. Otherwise offset by the
size of existing structure (12 bytes).

Change-Id: I5941c3ac5f525f36291ebee8eff01309dee11cc8
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
9767c20387c9acca49848d595f88eb53e8728fe9 08-Dec-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-Hal: Parse new event for packet fate stats

Packet fate stats are sent from host driver with a new id (11)
in new chipset. So parse the same to get fate stats.

Bug: 36161393
Change-Id: I823d61a5ffd1ea8357ab4347eeb9c4e6667df5ea
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
f58c12182ec6ff0a64c3ee7e2f8d3e6256751f16 17-Feb-2017 Srinivas Dasari <dasaris@codeaurora.org> WiFi-HAL: changes to support cld80211 family

wifihal debug infrastructure recieves host logs, firmware logs
and other debug stats from driver on NETLINK_USERSOCK.
Use cld80211 library APIs to receive the same inorder to migrate
from NETLINK_USERSOCK to NETLINK_GENERIC.

Change-Id: I3eca2ff02ababd3255e3876b2e247eb0d3071e67
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
b5e4f86d573cceab064037783760ebfb458850c6 26-Jan-2017 Stephen Hines <srhines@google.com> Disable -Waddress-of-packed-member temporarily.

Bug: http://b/31532493
Bug: http://b/33566695
Test: Manual validation
Change-Id: I59e906dc8d5c3a1fbec4b01e50ebe8ccb01f7656
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
0919dfde526ab1f2996334835cbd176906e89d0e 01-Jul-2016 Srinivas Girigowda <sgirigow@codeaurora.org> WiFi-HAL: Fix CLANG warnings

Fix CLANG warnings.

Change-Id: If07194f34abc44e1e58e8b38af59ec705a62ce55
CRs-Fixed: 1015162
Bug: 28825972
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
d61feef589f6f3bd8840a61129d6da2e5c020577 01-Jun-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Support timestamp sync in firmware diag message

As part of timestamp synchronization firmware events, logs and F3
message formats have changed which would result in change in
processing of the same. This commit will address the change in
Wifi-Hal catering to the new format, at the same time maintaining
backward compatibility.
At least FW 4.3-00089 is required for working.

BUG: 29762703
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
2a1c79670e140baf2e4bb69c6f6ad16893ad9fb6 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: make some messages require QC_HAL_DEBUG

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
TEST=compile

Change-Id: Ibfa3245bb91b8138d41566f2e8f7060423c07a40
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
afa203f2762217684d970f15210b9358ddf91390 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: remove some calls to ALOGD

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
BUG=27835354
TEST=compile

Change-Id: I4bc744370131af1058cbbb634f92579ed1b8283f
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
42f5dc2b5f632ce601d876fad18830de3ea38b89 24-Mar-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Protect packet fate stats resources with mutex

Wifihal collects packet fate stats to a local buffer and the stats
will be copied to the buffers provided by framework in get() APIs.
Protect reads and writes to this buffer with a mutex to avoid
read from get() while write is going on in the event context.

BUG: 27799235
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
be0347995d534be4ca08f2e9383ac8861024f5de 17-Mar-2016 Subhani Shaik <subhanis@codeaurora.org> Wifi-HAl: Remove extra type cast in parse_{tx/rx}_pkt_fate_stats

In parse_{tx/rx}_pkt_fate_stats(), driver_timestamp_usec and
firmware_timestamp_usec are u32 fields, whereas driver_ts is a
u32 field and fw_ts is a u16 field. Hence, external type casting
is not required here.

BUG=27579488
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
d66473247fe10bf2d1978e44c3f85be13dfb704e 10-Mar-2016 Subhani Shaik <subhanis@codeaurora.org> Wifi-HAL: Extract wmsg length from nlmsg_hdr with ntohs()

Driver swaps the wmsg length based on endianness for
ANI_NL_MSG_PUMAC messages. So, use ntohs() to get correct length
of wmsg. The reason this swap is done in Wi-Fi HAL is to co work
with the already existing tools that already does the same while
operating with the host driver.
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
e7565bd3953766d874f03973e732eeac290f3398 01-Mar-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Do not free local frame_content in get()

Wifihal allocates memory for a frame when it receives the
corresponding stat. It gets freed when wifihal receives first
packet of the next connection instance. Framework can query
for the same any number of times. So, wifihal should maintain
the current stats till it gets next connection instance stats.
So, do not free it in get() APIs.

Correct memcpy() length for management frames from
MAX_FRAME_LEN_ETHERNET to MAX_FRAME_LEN_80211_MGMT.

BUG: 27502434
Change-Id: I0b5756e1a916f95290c85e90a5ae42c7fcd62d18
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
0bb13c42161821fbf37b1fc8505f54918b4753d4 16-Mar-2016 Mukesh Agrawal <quiche@google.com> Revert "WifiHal: Address Debug framework bugs and misc issues"

Will land more targeted CLs, with more detail about what's being fixed.

This reverts commit c193fd5cb051a566bd1a0e9fd565504cab46ff23.

Change-Id: I95d4856ffa69c575790927a6cc90e6c246a39e67
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
c193fd5cb051a566bd1a0e9fd565504cab46ff23 14-Mar-2016 Subhani Shaik <subhanis@codeaurora.org> WifiHal: Address Debug framework bugs and misc issues

Fix multiple issues
1) Extract wmsg length from nlmsg_hdr with ntohs()
2) Do not free local frame_content in get()
3) Avoid illegal memory access in wifi_set_packet_filter fn
4) Updating new enums related to WIFI Configuration

BUG: 27502434
BUG: 27595799

Change-Id: I369a6b278f3e587f07d3a57be97b61eda658104d
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
76bf03b613d7c1aa14ba63b1670f0c9d11c367fc 29-Jan-2016 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Add length check before proceeding to parse data.

To avoid illegal memory access, if received message is shortened,
add a length check before proceeding to parse data.

Change-Id: Idf6e24af086abd4521eb4f95b0967b582001a951
CRs-Fixed: 970669
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
05613005ba730bec6f0acf9e57f9a21b396428c7 15-Feb-2016 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Monitor for packet fate stats

Driver collects stats for first few packets after association.
Framework can query for these stats to know the reason if
association/any other failure happens.

Change-Id: Icc413f503e518a24b6d89578b07b45d11422bb5e
CRs-Fixed: 964555
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
88cbe6ae7236cae11e2a66a4a5115ecd8545f811 21-Jan-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Support for timeout and resource failure events

Add support for below events,
1. Authentication timeout
2. Association timeout
3. Resource allocation failure

Driver sends these events with associated information.
Update the same to connectivity ring buffer.
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
9d1a0d274d8bfb3a6b914ba553f6f3379c07c6a6 13-Oct-2015 Srinivas Dasari <dasaris@codeaurora.org> WiFi-HAL: Write firmware prints to FIRMWARE_PRINTS ring buffer

Prima driver sends firmware prints as host messages with subtype
ANI_NL_MSG_LOG_FW_MSG_TYPE. Parse the same and update to
FIRMWARE_PRINTS ring buffer.

Change-Id: I0db598af97513d70ea0999dc89486bbc3fa18426
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
045a80359d42a8f4bc136b51e42c173d11344099 01-Oct-2015 Srinivas Dasari <dasaris@codeaurora.org> WiFi-HAL: Add support for beacon_received connectivity event

Allow start logging for connectivity events and parse the
received beacon event. Write the parsed data to ring buffer.

Change-Id: I8b9e77c5533dd8d4876642e901a92808cc7e159d
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
9d53c095682868768ab8488e80db98a461ce325d 30-Sep-2015 Srinivas Dasari <dasaris@codeaurora.org> WiFi-HAL: Write per pkt stats to ring buffers without processing

Pronto driver sends the per packet stats in framework expected
format. Write the stats received from driver to ring buffer as
it is as no processing is needed.

Change-Id: Ia5841c30375eeab7e74b1d1b90fa4c76421e5364
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.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/wifilogger_diag.cpp
3a6288afe9317768eef26f1e69e5fdbd97cd396e 24-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Fix incorrect firmware log entry

The commit "Add the fw diag msg hdr" introduced an error
while calculating the offset to the next buffer. This
caused incorrect firmware log entries in the ring buffer.

Change-Id: Iccce94c33a41f62f4e7c3477f603a6c8d33a1efa
CRs-Fixed: 913224
Bug: 24350330
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
e99ddb535a7c932891428d84a899497fc50b0f7e 22-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Cleanup additional unnecessary logs

In earlier log cleanup few logs got missed, cleaning up the same.
This change involves cleanup of wifilogger module as well.

Bug: 24266530
Change-Id: I270a9d295e04938df75a5f15f38d3cfc05360a5b
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.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/wifilogger_diag.cpp
493cffb2f6bc903b941ece9c27907e83119cf89d 02-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-Hal: Add the fw diag msg hdr

Include the fw diag msg hdr as part of payload being
passed to ring buffer. The firmware logs require
the diag hdr info while parsing the logs collected
as part of the bugreport.

Bug: 23758463
Change-Id: Iacdfc0d380990bb6b1dc7acf8edf95a2302abb63
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
6c670f1cb4270f00e00b414a2c7cd20b878d8356 13-Aug-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Populate stats of previous AMPDU if first MPDU misses

Per packet stats module collects below stats from first MPDU of
the AMPDU.
1. RxMCS
2. last_transmit_rate
3. rssi
4. tid

But the first MPDU may not be received by
hardware/corrupted sometimes. Populate the cached stats
from first MPDU of the previous AMPDU in such cases.

Don't parse Rx packets if the REORDER flag is set as parsing of
these packets may show duplicate entries in the stats.

Change-Id: I8cf78f42e055b0c22d123f21c91f2c204087afe0
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
d5efb24a0e865b1cc8f43913ad80565cf42f477e 06-Aug-2015 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Fix TID issue in Rx per packet stats

Firmware sends valid TID only for first MPDU. Populate the same
to all other MPDUs.

Change-Id: Ie06b1e032c105c3bcd2ccf3ddf9c92524b71c518
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
271bc72c80d912e05fe8585d8b83df70fe29a616 07-Aug-2015 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Validate debug events with sufficient length only

Frequent updations are expected to the stats structures from
firmware. Validating the events received based on its exact size
may not be correct in this case. So, consider events as valid only
if the size of events is not less than expected.

Rx peer info event has been handled with the help flags already.
So, remove the duplicate check from parse_rx_stats()

Change-Id: I42f2a3f402684fd3de049d7d9fe011068fabb45b
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
d405594245a93a08025d2ef8d76c9e459ba5657f 13-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Add GSCAN CAPABILITIES event

Add support for GSCAN CAPABILITIES event
as part of the Debug Framework.

Change-Id: I8c90e56637171a9719f97dc112042037a600e79e
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
c515d6df7f69247f627813c2ca296f1c3d3db96a 08-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Choose appropriate series_bw based on series

try_status has a parameter "series" which needs to be
considered to select the appropriate series_bw structure.

Change-Id: If4cb8c4e54dccf60d083dcaf8ea44a4e51c09046
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
e71133216d9b9e3af5cde78572f220818a72ab6e 03-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Decode rate and set status for Rx packets properly

1. Firmware sends stats for failed Rx packets with corresponding
error code. Set Rx packet status as success only if none of
the error bits are set.
2. Indicate tsf timestamp as the packet timestamp for Rx packets.
3. Correct the rate index calculation.

Change-Id: Icbe0c0bb8d8d61d55d1f01b247eb784365dcf8f4
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
20c7b34cdd5fe85d0491c63efd5cbfae23db1392 03-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Process Rx events only if it carries Rx descriptor

Process only relevant Rx events coming from driver/firmware to
generate Rx per packet stats.

Change-Id: I3e3aa309f0cfee828f8075a78f8ff47f1f6da37a
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
1563c992ab566c13121e8081651fe915fbe74dc4 01-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Use correct bandwidth to compute MCS for Tx stats

Get the bandwidth value from Tx stats try list based on total
tries and calculate rate based on its value.
Set the RSSI value for failed Tx packets to 255, which indicates
an invalid value.

Change-Id: I7c4b43268627eef1ae6576bd6afd37f1bf55c630
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
7c9d211409f19d8b218ed3cc718bc32784d18ee3 30-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Decode short gi parameter for Rx packets

Decode short gi value from Rx stats and correct rate calculation
based on short gi value.

Change-Id: I5db98d3363298820095ee3d0bcd809745b935a4f
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
16d38e60cfc9ebebf695eb38e9911ee49fece702 27-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: populate tx stats for AMPDU packets

Firmware sends stats only for the first msdu of the AMPDU.
Populate stats for other packets based on the tx packet bitmap
and block ack bitmap.

Change-Id: I530fccc251228962b105d9c18961d29777417d82
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
652bd1a487e5f18113c08eaa796e5f3229f8df61 24-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Remove returning unnecessary error codes

There is no need of returning error code if the ring buffer write
fails because the ring buffer is not enabled yet. Hence donot
return error codes in these cases.

Change-Id: I8518f341c0057b24cf97e8d63592cb8b034422c4
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
44273e6b215d69148af9f2cfab11c5eae9dcd233 24-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Fix possible page faults in parsing debug events

Fix wrong pointers passed to addLoggerTLV() to avoid possible
page faults.

Change-Id: I70b67f950d9036199ff13901d44285cfc250e1a2
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
8e5a1f11d8d8ca7f0404dd6c926f7b31785a9df2 24-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Cache and populate Rx aggregated stats

Aggregated Rx packets may have valid data in a specific MSDU of
the MPDU. We need to cache the stats received so far and update
once the expected MSDU received.
Below stats for Rx aggregated packets contains valid values only
in the first mpdu of the AMPDU.
1. RxMCS
2. last_transmit_rate
3. RSSI

and timestamp is valid only in the last msdu of the last mpdu.
Write the updated stats to ring buffer.

Change-Id: Ie09992926ae447995946b64c3e8e07dd0650cd5d
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
ed4dcce93b498214a4be7ff6ec45519a1e47b627 22-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Fix ROAM connectivity event mismatch

Roam Auth complete event is incorrectly mapped in Wifi-HAL,
remapping the event to match the driver.

Change-Id: If627ce33afc73513be0ae73e7105f4777968a1d5
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
d3873831606bb7ce333eac4fc591e3bdf62e4a2a 18-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Fix incorrect PE event mapping

The ASSOC complete event is incorrectly mapped. This event is
generated when the connection is complete.

Change-Id: Ice68f13b9748c617238a22feea3ed2ec5d08460f
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
c744dc92c8e2f64eeea7e88474d48db6fca93e27 18-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Add Channel Switch event

Include the Channel Switch anouncement event as apart of the
connectivity events.

Change-Id: Id702940ece7aa2d2f94e1c05c314887b9ba2a93f
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
a92eca5e4c14e73ba7ac82268b1932ce0917a31c 16-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Fix addba_failed related unintialized pointer

The diag event buffer is being dereferenced without being
initialized incase of the addba_failure event. Fixing a
stability issue wrt the event.

Change-Id: Id5e4fd8a88a65b9c7fe40cdbe35c39ed561fe5bb
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
2e1716c72278e0c1f9165c65e7017551c6e6eb26 29-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Add RBs to collect driver and firmware prints.

Add new ring buffer to collect driver prints and firmware prints.

Change-Id: Ibf0483a367bd8507c86b802e59f8184cd0a04731
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.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/wifilogger_diag.cpp
063058fd392c1b473c003ba33ca7f4eeef418a0c 14-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Process log completion event

Flush out all ring buffers upon receiving log completion event.
Send alert to framwork if required.

Change-Id: I1a2afbdbc8717c17a10b5ab263711136bce5a1d9
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
cd2e2fd9488a76a2fd01721d3649268fe5d2d133 15-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Clean up wake lock event processing

Use stack memory for forming wake lock event ring buffer entry
to reduce number of calls to malloc() and free() apis.

Change-Id: I21a9a98786ed7781d8603e1b9eff29ed8c0371a6
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
d3ebf0d2f640807b4245ea6546adc4983859a5e3 15-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Enable connectivity events

As part of the Debug Framework support enabling the connectivity
events. The infrastructure support to parse the fw diag events
is also enabled.

Change-Id: Ia5dde51967969ae453cd0f1bd41811aff6fe772f
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
16b2e84f187cb67f43ebeb75caee28101f73485d 29-Apr-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Enable rx payload and few other stats in packet stats

1. Enable Rx payload
2. timestamp in ring buffer entry
3. A correction in rx packet status to check for mic failure case.
4. Collect the stats in ring buffer entry format and write the
same to ring buffer.
5. Set header type to 80211 in the rx-flags as we always receive
payload with 80211 header.
6. Calculate tx-rate
7. Calculate rx-rate and MCS
8. Cleanup the user_sock if wifihal initialization fails.

Change-Id: I37ff66e79f510fa7e0f8981d9af28fe562a6eec9
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
0db016e8fc02c05164338d9d1105132b8a520542 22-Apr-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Parse and write the tx-rx stats to ring buffer

Parse the tx/rx stats events which are sent from driver and
collect the stats in framework specified format. Write the
collected stats to ringbuffer.

Change-Id: I41eb98ca39bf87d6ff7136e8713847f6cc7580a2
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp
76cff4cb3188c57d6043ead1932135346d1eb624 13-Apr-2015 Subhani Shaik <subhanis@codeaurora.org> WifiLogger: Support for generic NL socket handling and wake lock logging.

Registration of generic NL sockets to parse the messages
from the host driver. Support to address the wake lock
events logging as part of the Wi-Fi debug support.
API support for start_logging, get_buffer_status,
get_ring_data, and get_feature_set is also included.

Change-Id: I707a03d286e87d879dfd3ab906a4e6aa68721e4f
/hardware/qcom/wlan/qcwcn/wifi_hal/wifilogger_diag.cpp