From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> These changes replace the existing threshold logic with a limpler logic that gives back credits after receiving an SDU. It also removes the debugfs entries to configure the MPS and credits with auto selected one derived from the MTU and MPS. v2: Account from the SDU length when adjusting the MPS. Luiz Augusto von Dentz (3): Bluetooth: L2CAP: Derive MPS from connection MTU Bluetooth: L2CAP: Derive rx credits from MTU and MPS Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS include/net/bluetooth/l2cap.h | 3 -- net/bluetooth/l2cap_core.c | 66 +++++++++++++++++++++++------------ 2 files changed, 44 insertions(+), 25 deletions(-) -- 2.17.1