zephyr/subsys/bluetooth/shell
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
..
audio.c Bluetooth: audio: Remove BT_CODEC_META_CONTEXT_* defines 2022-03-16 10:25:31 +01:00
bass_client.c Bluetooth: Audio: Add BASS client shell 2022-03-10 14:06:44 -05:00
bass.c Bluetooth: Audio: Add BASS shell 2022-03-10 14:06:44 -05:00
bredr.c net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
bt.c Bluetooth: Host: Add auth_info_cb struct 2022-03-25 15:17:18 -07:00
bt.h
CMakeLists.txt Bluetooth: Audio: Add Telephone Bearer Client shell module 2022-03-28 12:45:03 +02:00
csis_client.c Bluetooth: CSIS: Merge the two client discovery functions 2022-01-18 10:40:33 -05:00
csis.c
gatt.c Bluetooth: shell: Adapt to the ATT MTU API changes 2022-03-25 10:41:19 +01:00
hci.c
hci.h
iso.c net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
l2cap.c Bluetooth: host: Optimize L2CAP resource usage 2022-04-07 09:37:12 +02:00
ll.c bluetooth: controller: Add support for all DTM commands 2022-03-18 12:00:03 +01:00
ll.h
mcc.c Bluetooth: OTS - Client APIs to have instance as first parameter 2022-03-07 10:47:43 +01:00
media_controller.c Bluetooth: Audio: Media control - guard callback 2022-03-25 10:41:29 +01:00
mics_client.c
mics.c
mpl.c Bluetooth: Audio: Separate Kconfig for MPL 2022-03-23 12:50:53 +01:00
rfcomm.c net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
tbs_client.c Bluetooth: Audio: Add Telephone Bearer Client shell module 2022-03-28 12:45:03 +02:00
tbs.c Bluetooth: Audio: Add TBS shell module 2022-03-28 12:45:03 +02:00
ticker.c
vcs_client.c
vcs.c