diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-02-13 05:39:57 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-02-13 05:39:57 -0500 |
commit | 56f3a40a5e7586043260669cc794e56fa58339e1 (patch) | |
tree | a2a756d86f8ff9da8d5668d2dfbf51f5107c53ce /include/net | |
parent | e9bb4c9929a63b23dcc637fae312b36b038bdc61 (diff) |
[Bluetooth] Reduce L2CAP MTU for RFCOMM connections
This patch reduces the default L2CAP MTU for all RFCOMM connections
from 1024 to 1013 to improve the interoperability with some broken
RFCOMM implementations. To make this more flexible the L2CAP MTU
becomes also a module parameter and so it can changed at runtime.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/rfcomm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h index bbfac86734ec..89d743cfdfdf 100644 --- a/include/net/bluetooth/rfcomm.h +++ b/include/net/bluetooth/rfcomm.h | |||
@@ -33,7 +33,7 @@ | |||
33 | #define RFCOMM_DEFAULT_MTU 127 | 33 | #define RFCOMM_DEFAULT_MTU 127 |
34 | #define RFCOMM_DEFAULT_CREDITS 7 | 34 | #define RFCOMM_DEFAULT_CREDITS 7 |
35 | 35 | ||
36 | #define RFCOMM_MAX_L2CAP_MTU 1024 | 36 | #define RFCOMM_MAX_L2CAP_MTU 1013 |
37 | #define RFCOMM_MAX_CREDITS 40 | 37 | #define RFCOMM_MAX_CREDITS 40 |
38 | 38 | ||
39 | #define RFCOMM_SKB_HEAD_RESERVE 8 | 39 | #define RFCOMM_SKB_HEAD_RESERVE 8 |