kernel_optimize_test/net/bluetooth
Luiz Augusto von Dentz 96cd8eaa13 Bluetooth: L2CAP: Derive rx credits from MTU and MPS
Give enough rx credits for a full packet instead of using an arbitrary
number which may not be enough depending on the MTU and MPS which can
cause interruptions while waiting for more credits, also remove
debugfs entry for l2cap_le_max_credits.

With these changes the credits are restored after each SDU is received
instead of using fixed threshold, this way it is garanteed that there
will always be enough credits to send a packet without waiting more
credits to arrive.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2018-09-27 12:52:08 +02:00
..
bnep Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic 2018-09-27 11:59:58 +02:00
cmtp Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic 2018-09-27 11:59:58 +02:00
hidp Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic 2018-09-27 11:59:58 +02:00
rfcomm Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
6lowpan.c
a2mp.c
a2mp.h
af_bluetooth.c Bluetooth: Use lock_sock_nested in bt_accept_enqueue 2018-07-18 14:10:29 +02:00
amp.c
amp.h
ecdh_helper.c
ecdh_helper.h
hci_conn.c Bluetooth: Implement Set ADV set random address 2018-07-30 13:44:53 +02:00
hci_core.c Bluetooth: Add definitions and track LE resolve list modification 2018-09-27 12:38:52 +02:00
hci_debugfs.c Bluetooth: Store Resolv list size 2018-07-06 12:40:08 +02:00
hci_debugfs.h
hci_event.c Bluetooth: Add definitions and track LE resolve list modification 2018-09-27 12:38:52 +02:00
hci_request.c Bluetooth: Implement secondary advertising on different PHYs 2018-07-30 13:44:53 +02:00
hci_request.h Bluetooth: Implement Set ADV set random address 2018-07-30 13:44:53 +02:00
hci_sock.c Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
hci_sysfs.c
Kconfig
l2cap_core.c Bluetooth: L2CAP: Derive rx credits from MTU and MPS 2018-09-27 12:52:08 +02:00
l2cap_sock.c Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
leds.c leds: triggers: let struct led_trigger::activate() return an error code 2018-07-05 23:21:10 +02:00
leds.h
lib.c
Makefile
mgmt_util.c
mgmt_util.h
mgmt.c Bluetooth: remove redundant variables 'adv_set' and 'cp' 2018-08-06 17:06:58 +03:00
sco.c Bluetooth: avoid killing an already killed socket 2018-07-16 15:14:56 +02:00
selftest.c
selftest.h
smp.c Bluetooth: Use correct tfm to generate OOB data 2018-09-11 13:33:57 +02:00
smp.h