]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Bluetooth: Change default L2CAP ERTM retransmit timeout
authorMat Martineau <mathewm@codeaurora.org>
Thu, 5 Aug 2010 22:54:20 +0000 (15:54 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 10 Aug 2010 11:59:11 +0000 (07:59 -0400)
The L2CAP specification requires that the ERTM retransmit timeout be at
least 2 seconds for BR/EDR connections.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h

index 636724b203eef0f2c6fa519fe626df2a707029d3..16e412f3722b1e7e90e45aef7c10119ac23cb8fa 100644 (file)
@@ -33,7 +33,7 @@
 #define L2CAP_DEFAULT_FLUSH_TO         0xffff
 #define L2CAP_DEFAULT_TX_WINDOW                63
 #define L2CAP_DEFAULT_MAX_TX           3
-#define L2CAP_DEFAULT_RETRANS_TO       1000    /* 1 second */
+#define L2CAP_DEFAULT_RETRANS_TO       2000    /* 2 seconds */
 #define L2CAP_DEFAULT_MONITOR_TO       12000   /* 12 seconds */
 #define L2CAP_DEFAULT_MAX_PDU_SIZE     672
 #define L2CAP_DEFAULT_ACK_TO           200