Bluetooth: L2CAP: Derive MPS from connection MTU
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 4 Sep 2018 10:39:20 +0000 (13:39 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Sep 2018 10:52:08 +0000 (12:52 +0200)
commitfe1493101ac1313cbdbef1af65342fb17d944e71
treeb33ceec97509056ff33eec92fd924e5574dd2721
parenta357ea098c9605f60d92a66a9073f56ce25726da
Bluetooth: L2CAP: Derive MPS from connection MTU

This ensures the MPS can fit in a single HCI fragment so each
segment don't have to be reassembled at HCI level, in addition to
that also remove the debugfs entry to configure the MPS.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c