diff options
-rw-r--r-- | net/bluetooth/Kconfig | 13 | ||||
-rw-r--r-- | net/bluetooth/l2cap.c | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig index ed371684c133..ee3b3049d385 100644 --- a/net/bluetooth/Kconfig +++ b/net/bluetooth/Kconfig | |||
@@ -43,6 +43,19 @@ config BT_L2CAP | |||
43 | Say Y here to compile L2CAP support into the kernel or say M to | 43 | Say Y here to compile L2CAP support into the kernel or say M to |
44 | compile it as module (l2cap). | 44 | compile it as module (l2cap). |
45 | 45 | ||
46 | config BT_L2CAP_EXT_FEATURES | ||
47 | bool "L2CAP Extended Features support (EXPERIMENTAL)" | ||
48 | depends on BT_L2CAP && EXPERIMENTAL | ||
49 | help | ||
50 | This option enables the L2CAP Extended Features support. These | ||
51 | new features include the Enhanced Retransmission and Streaming | ||
52 | Modes, the Frame Check Sequence (FCS), and Segmentation and | ||
53 | Reassembly (SAR) for L2CAP packets. They are a required for the | ||
54 | new Alternate MAC/PHY and the Bluetooth Medical Profile. | ||
55 | |||
56 | You should say N unless you know what you are doing. Note that | ||
57 | this is in an experimental state yet. | ||
58 | |||
46 | config BT_SCO | 59 | config BT_SCO |
47 | tristate "SCO links support" | 60 | tristate "SCO links support" |
48 | depends on BT | 61 | depends on BT |
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 187f46dd8309..4c007203d66b 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -55,7 +55,11 @@ | |||
55 | 55 | ||
56 | #define VERSION "2.14" | 56 | #define VERSION "2.14" |
57 | 57 | ||
58 | #ifdef CONFIG_BT_L2CAP_EXT_FEATURES | ||
59 | static int enable_ertm = 1; | ||
60 | #else | ||
58 | static int enable_ertm = 0; | 61 | static int enable_ertm = 0; |
62 | #endif | ||
59 | static int max_transmit = L2CAP_DEFAULT_MAX_TX; | 63 | static int max_transmit = L2CAP_DEFAULT_MAX_TX; |
60 | static int tx_window = L2CAP_DEFAULT_TX_WINDOW; | 64 | static int tx_window = L2CAP_DEFAULT_TX_WINDOW; |
61 | 65 | ||