zephyr/subsys/bluetooth
Lyle Zhu df1e2264ff Bluetooth: Classic: L2CAP: Fix seg_recv cannot work issue
When the L2CAP channel connection is in none basic mode, the
`seg_recv` cannot work properly if the configuration
`CONFIG_BT_L2CAP_SEG_RECV` is enabled. And the L2CAP channel
connection will be broken incorrectly.

Check whether the received data len exceeds the SDU length if the
`SAR` is `BT_L2CAP_CONTROL_SAR_END` or `BT_L2CAP_CONTROL_SAR_CONTI`.

And check whether the SDU length is valid if the `SAR` is
`BT_L2CAP_CONTROL_SAR_UNSEG` or `BT_L2CAP_CONTROL_SAR_START`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-30 14:00:06 +02:00
..
audio Bluetooth: CAP: Broadcast: Add missing ISO test parameters 2025-04-30 10:54:56 +01:00
common subsys/bluetooth: Misc native_posix cleanup 2025-03-12 02:27:36 +01:00
controller Bluetooth: Controller: Only validate CIS SDU interval for BN > 0 2025-04-30 09:48:24 +02:00
crypto Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING 2025-01-15 22:57:20 +01:00
host Bluetooth: Classic: L2CAP: Fix seg_recv cannot work issue 2025-04-30 14:00:06 +02:00
lib
mesh bluetooth: mesh: keep scanner enabled if lpn has been disabled 2025-04-25 14:05:27 +02:00
services bluetooth: rename _bt_gatt_ccc and clarify usage 2025-04-17 17:24:19 +02:00
CMakeLists.txt Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig bluetooth: host: Remove experimental flag from LE Connection Subrating 2025-03-17 13:57:03 +01:00
Kconfig.adv Bluetooth: Host: Remove experimental label from PAwR 2025-03-14 17:56:18 +01:00
Kconfig.logging