summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Liu <quic_kaliu@quicinc.com>2023-03-07 21:08:12 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2023-03-08 12:24:48 -0800
commit597155d64eaa175e68a386684c8e9d6b5a930adf (patch)
treef81714794ce8bb7cf5d3f9a5d6182200ae9c0c91
parent4f03c58310f5e08f5a550ceb911491997576976b (diff)
downloadwlan-platform-597155d64eaa175e68a386684c8e9d6b5a930adf.tar.gz
cnss2: Move genl related data to ipc long context
Fw reports binary info to host, host will send to cnss-daemon by nl80211 message, move log in this path to ipc long context. Change-Id: Ie458f26789e765f7edf3188ed2897e7082cdb52b CRs-Fixed: 3427156
-rw-r--r--cnss2/genl.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cnss2/genl.c b/cnss2/genl.c
index 2819a1b..761a469 100644
--- a/cnss2/genl.c
+++ b/cnss2/genl.c
@@ -1,5 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2019, The Linux Foundation. All rights reserved. */
+/*
+ * Copyright (c) 2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
#define pr_fmt(fmt) "cnss_genl: " fmt
@@ -92,7 +95,7 @@ static int cnss_genl_send_data(u8 type, char *file_name, u32 total_size,
int ret = 0;
char filename[CNSS_GENL_STR_LEN_MAX + 1];
- cnss_pr_dbg("type: %u, file_name %s, total_size: %x, seg_id %u, end %u, data_len %u\n",
+ cnss_pr_vdbg("type: %u, file_name %s, total_size: %x, seg_id %u, end %u, data_len %u\n",
type, file_name, total_size, seg_id, end, data_len);
if (!file_name)
@@ -164,7 +167,7 @@ int cnss_genl_send_msg(void *buff, u8 type, char *file_name, u32 total_size)
u8 end = 0;
u8 retry;
- cnss_pr_dbg("type: %u, total_size: %x\n", type, total_size);
+ cnss_pr_vdbg("type: %u, total_size: %x\n", type, total_size);
while (remaining) {
if (remaining > CNSS_GENL_DATA_LEN_MAX) {