zephyr/subsys/usb
Dennis Wildmark 791def84b1 usb: bluetooth: l2cap buffer size now configurable
Added check to see if CONFIG_BT_CTLR_TX_BUFFER_SIZE is defined,
and use that as the BT_L2CAP_MTU if that is the case. Otherwise,
use the previously hard coded MTU size (64). This enables users
to configure the MTU, enabling longer transfers.
The fix was inspired by how this is solved in
samples/bluetooth/hci_uart/src/main.c

Tested on nrf52840_pca10056.

Signed-off-by: Dennis Wildmark <dennis.wildmark@assaabloy.com>
2019-04-29 13:40:18 +03:00
..
class usb: bluetooth: l2cap buffer size now configurable 2019-04-29 13:40:18 +03:00
bos.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig usb: Add remote wakeup support 2019-02-27 10:37:16 +01:00
os_desc.c
os_desc.h
usb_descriptor.c usb: replace MAX_PACKET_SIZE0 with meaningful USB_MAX_CTRL_MPS 2019-04-11 13:35:24 -04:00
usb_descriptor.h usb: hid: Use UTIL_LISTIFY and device count macro 2019-04-28 12:22:23 -04:00
usb_device.c usb: Remove usb_dc_ep_set_callback return code 2019-04-28 12:22:23 -04:00