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
This commit is contained in:
Srinivas Dasari 2021-10-04 12:43:06 +05:30 • committed by Madan Koyyalamudi
commit 737d944f2a

View file

@ -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)