From: Harsh Jain Date: Tue, 19 Dec 2023 10:48:42 +0000 (+0530) Subject: Bluetooth: Increase write data limit in l2cap connection. X-Git-Tag: accepted/tizen/unified/20231221.165409^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F303058%2F2;p=platform%2Fkernel%2Flinux-rpi.git Bluetooth: Increase write data limit in l2cap connection. This patch increases write limit in l2cap connection from 672 Bytes to 4096 Bytes. Change-Id: I0530f51d5e34309bbe2f344005cf70f3dae2c59f Signed-off-by: Harsh Jain --- diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index fb5f723..c9cb962 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -31,7 +31,11 @@ #include /* 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