main: Disable EATT by default
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 9 Mar 2023 18:51:46 +0000 (10:51 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:21:48 +0000 (15:51 +0530)
EATT is causing some problem with some platforms as they also attempt to
configure it may cause a connection collision which needs to be handled
by the kernel.

src/main.c
src/main.conf

index d53ce3e..d97145d 100755 (executable)
@@ -1061,7 +1061,7 @@ static void init_defaults(void)
 
        btd_opts.gatt_cache = BT_GATT_CACHE_ALWAYS;
        btd_opts.gatt_mtu = BT_ATT_MAX_LE_MTU;
-       btd_opts.gatt_channels = 3;
+       btd_opts.gatt_channels = 1;
 
        btd_opts.avdtp.session_mode = BT_IO_MODE_BASIC;
        btd_opts.avdtp.stream_mode = BT_IO_MODE_BASIC;
index cd0bfd0..f10f912 100755 (executable)
 
 # Number of ATT channels
 # Possible values: 1-5 (1 disables EATT)
-# Default to 3
-#Channels = 3
+# Default to 1
+#Channels = 1
 
 [AVDTP]
 # AVDTP L2CAP Signalling Channel Mode.