Go to file
Luiz Augusto von Dentz 3808ad0a96 Bluetooth: L2CAP: Limit segments to TX MPS
le_data buffers are no longer limited to the minimun of 23 bytes, instead
it uses CONFIG_BLUETOOTH_L2CAP_IN_MTU which means it can be bigger than
the MPS thus causing invalid data to be sent:

> ACL Data RX: Handle 64 flags 0x02 dlen 18
      LE L2CAP: LE Connection Request (0x14) ident 1 len 10
        PSM: 128 (0x0080)
        Source CID: 64
        MTU: 672
        MPS: 23
        Credits: 65535
< ACL Data TX: Handle 64 flags 0x00 dlen 18
      LE L2CAP: LE Connection Response (0x15) ident 1 len 10
        Destination CID: 64
        MTU: 230
        MPS: 65
        Credits: 4
        Result: Connection successful (0x0000)
< ACL Data TX: Handle 64 flags 0x00 dlen 27
< ACL Data TX: Handle 64 flags 0x01 dlen 2
      Channel: 64 len 25 [PSM 128 mode 0] {chan 0}
        3c 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff  <...............
        ff ff ff ff ff ff ff ff ff

JIRA: ZEP-1219

Change-Id: Id67f1faac8766c66aa24c7421d44112434666a10
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-11-09 08:57:52 +02:00
.known-issues known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
arch kernel: add __ASSERT() for thread priorities 2016-11-08 20:27:31 -05:00
boards boards: arduino_101: correct an error related to SPI CS 2016-11-09 02:48:26 +00:00
doc Bluetooth: doc: Move PICS documentation to right place 2016-11-09 08:57:52 +02:00
drivers usb: Add end-point stall APIs and flow control APIS 2016-11-09 02:45:46 +00:00
ext fs: expose generic ramdisk/flash disk access functions 2016-11-09 02:45:45 +00:00
include usb: Add end-point stall APIs and flow control APIS 2016-11-09 02:45:46 +00:00
kernel kernel: rename k_am_in_isr() to k_is_in_isr() 2016-11-08 20:27:31 -05:00
lib newlib: add support for nano-formatted-io 2016-11-09 02:47:43 +00:00
misc newlib: add support for nano-formatted-io 2016-11-09 02:47:43 +00:00
net Bluetooth: L2CAP: Make CoC depend on SMP 2016-11-04 22:05:05 +02:00
samples samples: usb: Sample to demo USB Mass Storage support 2016-11-09 02:45:47 +00:00
scripts boards: Add support for Quark SE C1000_BLE 2016-11-08 15:00:00 +00:00
subsys Bluetooth: L2CAP: Limit segments to TX MPS 2016-11-09 08:57:52 +02:00
tests fs: expose generic ramdisk/flash disk access functions 2016-11-09 02:45:45 +00:00
.checkpatch.conf checkpatch: do not check for min_t/max_t 2016-09-13 17:12:55 -04:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: update with new emails 2016-10-07 16:15:24 +00:00
defaults.tc testcases: catch 'Fatal essential task error" messages 2016-10-31 12:57:28 +00:00
Kbuild build: remove old kernel support 2016-11-07 11:34:18 -08:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
MAINTAINERS MAINTAINERS: Add documentation location to Bluetooth subsystem 2016-11-06 10:54:21 +02:00
Makefile build: remove old kernel support 2016-11-07 11:34:18 -08:00
Makefile.inc build: force all kernel builds to be Unified kernel 2016-11-04 18:25:32 +00:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00