Selaa lähdekoodia

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
Srinivas Dasari 3 vuotta sitten
vanhempi
sitoutus
f2ec3b8c25
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      wmi/src/wmi_unified_nan_tlv.c

+ 2 - 2
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)