zephyr/tests
Lingao Meng 20ff55e234 Bluetooth: host: Optimize L2CAP resource usage
Making sure struct bt_l2cap_chan has absolutely no members related
to dynamic channels.

That way we ensure that there is no overhead for a build where only
fixed channels are used.

It's not enough that the dynamic channel-related members are put behind
ifdefs - they should be completely moved out from the struct definition.

Furthermore, the public l2cap.h header file already has a struct
that's meant to be used for dynamic channels: struct bt_l2cap_le_chan!

However, currently dynamic channel support is a mess - it's a mix
between these two structs. The bt_l2cap_le_chan struct should really
be an extension of the bt_l2cap_chan struct, i.e. the former should
contain as a member the latter.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2022-04-07 09:37:12 +02:00
..
application_development/gen_inc_file kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00
arch tests: Change duplicated names of the test cases 2022-03-30 17:42:01 -04:00
benchmarks tests: Change duplicated names of the test cases 2022-03-30 17:42:01 -04:00
bluetooth Bluetooth: host: Optimize L2CAP resource usage 2022-04-07 09:37:12 +02:00
boards util: convert wait_for macro to uppercase 2022-04-04 09:50:28 -05:00
boot/uefi tests: uefi: move uefi test out of hello world 2021-10-22 06:36:51 -04:00
cmake/config_dir cmake: APPLICATION_CONFIG_DIR support implemented 2021-11-10 08:25:36 -05:00
crypto tests: mbedtls: exclude m2gl025_miv 2022-03-30 21:39:56 -04:00
drivers tests: drivers: gpio: Remove pinmux setting on lpc for gpio_basic_api 2022-04-06 20:57:22 -07:00
kernel include: remove unnecessary autoconf.h includes 2022-04-05 11:18:20 +02:00
lib UnitTest: lib: change unit tests to handle asserts 2022-04-05 14:29:33 -04:00
misc test: mpu: Add arm_mpu_regions test 2022-04-05 11:16:31 +02:00
net tests: net: socket: tcp: Add test for big block data transfer 2022-04-01 12:36:14 -05:00
posix posix: Fix pthread_once has incorrect behavior 2022-04-05 10:38:30 -07:00
subsys tests: logging: log_api: Extend to test LOG_OVERRIDE_LEVEL 2022-04-06 10:59:57 +02:00
unit sys: util: Change return type of ARRAY_SIZE to size_t 2022-03-23 14:09:23 +01:00
ztest tests: Change duplicated names of the test cases 2022-03-30 17:42:01 -04:00