]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: RFCOMM: Use MTU auto tune logic
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 20 Feb 2020 05:31:55 +0000 (21:31 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Feb 2020 19:31:45 +0000 (20:31 +0100)
commit4d2ba3ae8f6190fc66b9ec76f5b4d7bf0e2aa90c
tree5bf62c0462e0477faefc93a554783bdcb6809d63
parent7b756fe5051a6512100dfa6966b9b28ac3e75ef4
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>
include/net/bluetooth/rfcomm.h
net/bluetooth/rfcomm/core.c