summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/wifilogger_diag.cpp
diff options
context:
space:
mode:
authorSrinivas Dasari <dasaris@codeaurora.org>2015-10-13 14:39:22 +0530
committerSrinivas Dasari <dasaris@codeaurora.org>2016-01-20 16:18:37 +0530
commit9d1a0d274d8bfb3a6b914ba553f6f3379c07c6a6 (patch)
tree616fdab9f054f367964544d9ad095726b7116fc7 /qcwcn/wifi_hal/wifilogger_diag.cpp
parent045a80359d42a8f4bc136b51e42c173d11344099 (diff)
downloadwlan-9d1a0d274d8bfb3a6b914ba553f6f3379c07c6a6.tar.gz
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
Diffstat (limited to 'qcwcn/wifi_hal/wifilogger_diag.cpp')
-rw-r--r--qcwcn/wifi_hal/wifilogger_diag.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/wifilogger_diag.cpp b/qcwcn/wifi_hal/wifilogger_diag.cpp
index a7317f3..1d1f52f 100644
--- a/qcwcn/wifi_hal/wifilogger_diag.cpp
+++ b/qcwcn/wifi_hal/wifilogger_diag.cpp
@@ -1920,6 +1920,8 @@ wifi_error diag_message_handler(hal_info *info, nl_msg *msg)
} else if (wnl->nlh.nlmsg_type == ANI_NL_MSG_LOG) {
if (wnl->wmsg.type == ANI_NL_MSG_LOG_HOST_PRINT_TYPE) {
process_driver_prints(info, (u8 *)(wnl + 1), wnl->wmsg.length);
+ } else if (wnl->wmsg.type == ANI_NL_MSG_LOG_FW_MSG_TYPE) {
+ process_firmware_prints(info, (u8 *)(wnl + 1), wnl->wmsg.length);
}
} else if (wnl->nlh.nlmsg_type == ANI_NL_MSG_CNSS_DIAG) {
uint16_t diag_fw_type;