Bluetooth: Add CONFIG_BT_LE_L2CAP_ECRED
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 27 Oct 2022 23:18:04 +0000 (16:18 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Dec 2022 22:19:24 +0000 (14:19 -0800)
commit462fcd53924ccc21596d30edd0673fa7c939b392
tree698fffb057379e14c7546d457c25295b3be2fc29
parentdb11223571d489d1aab575a4ac4b7352d2d54e2f
Bluetooth: Add CONFIG_BT_LE_L2CAP_ECRED

This adds CONFIG_BT_LE_L2CAP_ECRED which can be used to enable L2CAP
Enhanced Credit Flow Control Mode by default, previously it was only
possible to set it via module parameter (e.g. bluetooth.enable_ecred=1).

Since L2CAP ECRED mode is required by the likes of EATT which is
recommended for LE Audio this enables it by default.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-By: Tedd Ho-Jeong An <tedd.an@intel.com>
net/bluetooth/Kconfig
net/bluetooth/l2cap_core.c