Bluetooth: Increase write data limit in l2cap connection. 58/303058/2 accepted/tizen/unified/20231221.165409 accepted/tizen/unified/riscv/20231221.111531
authorHarsh Jain <jain.harsh@samsung.com>
Tue, 19 Dec 2023 10:48:42 +0000 (16:18 +0530)
committerHarsh Jain <jain.harsh@samsung.com>
Wed, 20 Dec 2023 11:15:43 +0000 (16:45 +0530)
This patch increases write limit in l2cap connection
from 672 Bytes to 4096 Bytes.

Change-Id: I0530f51d5e34309bbe2f344005cf70f3dae2c59f
Signed-off-by: Harsh Jain <jain.harsh@samsung.com>
include/net/bluetooth/l2cap.h

index fb5f723..c9cb962 100644 (file)
 #include <linux/atomic.h>
 
 /* L2CAP defaults */
+#ifdef TIZEN_BT
+#define L2CAP_DEFAULT_MTU              4096
+#else
 #define L2CAP_DEFAULT_MTU              672
+#endif
 #define L2CAP_DEFAULT_MIN_MTU          48
 #define L2CAP_DEFAULT_FLUSH_TO         0xFFFF
 #define L2CAP_EFS_DEFAULT_FLUSH_TO     0xFFFFFFFF