Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 737d944f authored by Srinivas Dasari's avatar Srinivas Dasari Committed by Madan Koyyalamudi
Browse files

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
parent 294e63f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line

/*
 * 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)