zephyr/subsys
Lyle Zhu d1deb20b95 Bluetooth: Classic: L2CAP: Disconn channel if proposed MTU is invalid
Disconnect the L2CAP channel connection if the proposed MTU is less
than min MTU or more than local supported MTU.

The main scenes are as follows.
If the proposed MTU is less than MIN MTU.
1. The channel connection of client and server is established,
2. Client/server sends channel config REQ (MTU=50),
3. Peer replies channel config RQP (Unaccepted/success with MTU=30),
4. The client/server will repeat step 3~4 if the RSP is unacceptable.

With the change applied, the local will disconnect the L2CAP channel
connection in step 3.

If the proposed MTU is more than local supported MTU.
1. The channel connection of client and server is established,
2. Client/server sends channel config REQ (MTU=50),
3. Peer replies channel config RQP (Unaccepted/success with MTU=80),
4. The client/server will repeat step 3~4 if the RSP is unacceptable.

With the change applied, the local will disconnect the L2CAP channel
connection in step 3.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-05-29 10:46:26 +02:00
..
bindesc
bluetooth Bluetooth: Classic: L2CAP: Disconn channel if proposed MTU is invalid 2025-05-29 10:46:26 +02:00
canbus
console
dap
debug arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
demand_paging
dfu
disk
dsp
emul
fb cfb: fix get_glyph_byte for vtiled displays 2025-04-18 12:36:16 +02:00
fs subsys/fs/fuse: Fix adding missing stddef header 2025-05-28 01:48:13 +02:00
input
ipc ipc_service: ipc_icbmsg: Update backend API return values 2025-03-28 12:21:30 +01:00
jwt modules: mbedtls: make key exchange Kconfigs depend on, not select 2025-05-13 22:22:43 -04:00
llext llext: basic x86 support 2025-05-21 19:57:20 +02:00
logging logging: backend: net: use connection mgr 2025-05-10 13:02:21 +02:00
lorawan lorawan: add link check support. 2025-04-17 17:23:12 +02:00
mem_mgmt
mgmt mgmt: hawkbit: do not prepend custom controllerId 2025-05-28 11:09:10 +02:00
modbus
modem modem_cellular: Add support for the simcom a76xx modem 2025-05-28 16:37:53 +02:00
net net: tcp: Use correct seqnum for tcp_out and tcp_out_ext 2025-05-29 08:42:20 +02:00
pm pm: device_runtime: Make async optional 2025-05-27 14:45:07 +02:00
pmci pmci: mctp: Fix No SOURCES CMake warning 2025-04-23 17:55:19 +02:00
portability subsys/portability/cmsis_rtos_v2: Fix code compliance issues 2025-05-21 12:35:28 +02:00
profiling arch: Unify declaration of text region 2025-04-23 02:15:25 +02:00
random
retention
rtio rtio: Introduce OP_DELAY as a valid SQE operation 2025-04-30 09:48:16 +02:00
sd sd: correct mismatched comment for CONFIG_SDMMC_STACK 2025-03-31 21:59:40 +02:00
secure_storage secure_storage: its: transform: improve expandability 2025-05-27 15:46:37 +02:00
sensing
settings settings: replace [[maybe_unused]] by __maybe_unused 2025-05-15 22:13:49 +02:00
shell shell: mqtt: use ring_buf_reset to flush rx_rb 2025-04-09 22:06:05 +02:00
sip_svc
stats
storage storage/flash_map: Fix is_in_flash_area_bounds 2025-05-05 10:57:51 +02:00
task_wdt task_wdt: Add suspend and resume API functions 2025-04-02 13:05:14 +02:00
testsuite Revert "testsuite: ztest: Add validation of zassert strings" 2025-05-22 11:58:43 -04:00
timing
tracing kernel: kheap: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
usb usbc: Enable VBUS measurement before VBUS check level 2025-05-27 11:50:29 +02:00
zbus zbus: Improve consistency with runtime observers 2025-05-16 09:37:20 +02:00
CMakeLists.txt pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00
Kconfig pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00