diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-02-20 06:31:55 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-02-19 20:31:45 +0100 |
commit | 1c22d3cda8afa3fffa3875cbfa5c82e818a3f780 (patch) | |
tree | 5bf62c0462e0477faefc93a554783bdcb6809d63 /include/net/bluetooth/rfcomm.h | |
parent | Bluetooth: Fix crash when using new BT_PHY option (diff) | |
download | linux-1c22d3cda8afa3fffa3875cbfa5c82e818a3f780.tar.xz linux-1c22d3cda8afa3fffa3875cbfa5c82e818a3f780.zip |
Bluetooth: RFCOMM: Use MTU auto tune logic
This reuse the L2CAP MTU auto logic to select the MTU used for RFCOMM
channels, this should increase the maximum from 1013 to 1021 when 3-DH5
is supported.
Since it does not set an L2CAP MTU we no longer need a debugfs so that
is removed.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/rfcomm.h')
-rw-r--r-- | include/net/bluetooth/rfcomm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h index da4acefe39c8..8d65d2a0b9b4 100644 --- a/include/net/bluetooth/rfcomm.h +++ b/include/net/bluetooth/rfcomm.h @@ -34,7 +34,6 @@ #define RFCOMM_DEFAULT_MTU 127 #define RFCOMM_DEFAULT_CREDITS 7 -#define RFCOMM_MAX_L2CAP_MTU 1013 #define RFCOMM_MAX_CREDITS 40 #define RFCOMM_SKB_HEAD_RESERVE 8 |