From 737d944f2abc74677c7d28c2e011f8a81f607024 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Mon, 4 Oct 2021 12:43:06 +0530 Subject: [PATCH] qcacmn: Allow NAN LOG messages upto a size of 400 bytes Currently, host allows NAN log messages from firmware upto a max size of 200 bytes. But firmware may need to send bigger messages than this in case of stats events as tx/rx stats message length can go upto 350 bytes. So, allow NAN messages upto 400 bytes to avoid splitting the stats messages. Change-Id: Ibb03944da81ed8d378dadbf4750013e0fe941e57 CRs-Fixed: 3049258 --- wmi/src/wmi_unified_nan_tlv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmi/src/wmi_unified_nan_tlv.c b/wmi/src/wmi_unified_nan_tlv.c index 42acfd137778..de5706c8f514 100644 --- a/wmi/src/wmi_unified_nan_tlv.c +++ b/wmi/src/wmi_unified_nan_tlv.c @@ -1,6 +1,6 @@ /* - * Copyright (c) 2013-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -693,7 +693,7 @@ static QDF_STATUS extract_ndp_initiator_rsp_tlv(wmi_unified_t wmi_handle, return QDF_STATUS_SUCCESS; } -#define MAX_NAN_MSG_LEN 200 +#define MAX_NAN_MSG_LEN 400 static QDF_STATUS extract_nan_msg_tlv(uint8_t *data, struct nan_dump_msg *msg)