Skip to content

Commit 14a1f22

Browse files
jhedberganangl
authored andcommitted
[nrf fromtree] Bluetooth: Host: Remove HCI ECC emulation
Remove the HCI command & event emulation layer for ECDH commands and events. This means that we always do the necessary operations in the host. The existing BT_ECC Kconfig option stays, but now gets automatically enabled when necessary (e.g. based on the BT_SMP option), which is why this commit removes so many explicit assignments in prj.conf files. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 09e86f3)
1 parent faf1b53 commit 14a1f22

File tree

66 files changed

+196
-674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+196
-674
lines changed

samples/bluetooth/bap_broadcast_assistant/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ CONFIG_BT_BUF_ACL_RX_SIZE=255
1010
CONFIG_BT_BUF_ACL_TX_SIZE=251
1111
CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=191
1212

13-
CONFIG_BT_SEND_ECC_EMULATION=y
14-
1513
CONFIG_BT_EXT_ADV=y
1614
CONFIG_BT_PER_ADV_SYNC=y
1715
CONFIG_BT_BAP_BASS_MAX_SUBGROUPS=2

samples/bluetooth/bap_broadcast_sink/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ CONFIG_BT_AUDIO_CODEC_CAP_MAX_METADATA_SIZE=64
2525
CONFIG_BT_AUDIO_CODEC_CAP_MAX_DATA_SIZE=64
2626

2727
CONFIG_BT_DEVICE_NAME="Broadcast Audio Sink"
28-
29-
CONFIG_BT_SEND_ECC_EMULATION=y

samples/bluetooth/bap_unicast_client/boards/native_sim.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
CONFIG_LOG_MODE_IMMEDIATE=y
2-
CONFIG_BT_SEND_ECC_EMULATION=y
32

43
CONFIG_LIBLC3=y
54
CONFIG_FPU=y

samples/bluetooth/bap_unicast_client/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ CONFIG_BT_BUF_EVT_RX_SIZE=255
99
CONFIG_BT_BUF_ACL_RX_SIZE=255
1010
CONFIG_BT_BUF_ACL_TX_SIZE=251
1111
CONFIG_BT_BUF_CMD_TX_SIZE=255
12-
13-
CONFIG_BT_SEND_ECC_EMULATION=y

samples/bluetooth/bap_unicast_client/boards/nrf5340bsim_nrf5340_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ CONFIG_BT_BUF_EVT_RX_SIZE=255
66
CONFIG_BT_BUF_ACL_RX_SIZE=255
77
CONFIG_BT_BUF_ACL_TX_SIZE=251
88
CONFIG_BT_BUF_CMD_TX_SIZE=255
9-
10-
CONFIG_BT_SEND_ECC_EMULATION=y

samples/bluetooth/bap_unicast_client/boards/nrf5340dk_nrf5340_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ CONFIG_BT_BUF_EVT_RX_SIZE=255
99
CONFIG_BT_BUF_ACL_RX_SIZE=255
1010
CONFIG_BT_BUF_ACL_TX_SIZE=251
1111
CONFIG_BT_BUF_CMD_TX_SIZE=255
12-
13-
CONFIG_BT_SEND_ECC_EMULATION=y

samples/bluetooth/bap_unicast_server/boards/native_sim.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
CONFIG_LOG_MODE_IMMEDIATE=y
2-
CONFIG_BT_SEND_ECC_EMULATION=y
32

43
CONFIG_LIBLC3=y
54
CONFIG_FPU=y

samples/bluetooth/bap_unicast_server/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ CONFIG_BT_BUF_EVT_RX_SIZE=255
66
CONFIG_BT_BUF_ACL_RX_SIZE=255
77
CONFIG_BT_BUF_ACL_TX_SIZE=251
88
CONFIG_BT_BUF_CMD_TX_SIZE=255
9-
10-
CONFIG_BT_SEND_ECC_EMULATION=y

samples/bluetooth/bap_unicast_server/boards/nrf5340bsim_nrf5340_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ CONFIG_BT_BUF_EVT_RX_SIZE=255
66
CONFIG_BT_BUF_ACL_RX_SIZE=255
77
CONFIG_BT_BUF_ACL_TX_SIZE=251
88
CONFIG_BT_BUF_CMD_TX_SIZE=255
9-
10-
CONFIG_BT_SEND_ECC_EMULATION=y

samples/bluetooth/bap_unicast_server/boards/nrf5340dk_nrf5340_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@ CONFIG_BT_BUF_EVT_RX_SIZE=255
99
CONFIG_BT_BUF_ACL_RX_SIZE=255
1010
CONFIG_BT_BUF_ACL_TX_SIZE=251
1111
CONFIG_BT_BUF_CMD_TX_SIZE=255
12-
13-
CONFIG_BT_SEND_ECC_EMULATION=y

0 commit comments

Comments
 (0)