Skip to content

Commit b72b33a

Browse files
Thalleykartben
authored andcommitted
Bluetooth: Audio: Add dependency for BT_SMP
Add dependency for BT_SMP for the services and service clients that require encryption. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 3e9b454 commit b72b33a

File tree

10 files changed

+27
-2
lines changed

10 files changed

+27
-2
lines changed

doc/releases/migration-guide-4.1.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,10 @@ Bluetooth Audio
488488
be called. All Kconfig options still remain. Runtime configuration cannot override a disabled
489489
Kconfig option. (:github:`83730`)
490490

491+
* Several services and service client (AICS, ASCS, CSIP, HAS, MCS, PACS, TBS, VCP and VOCS) now
492+
depend on :kconfig:option:`CONFIG_BT_SMP` and may need to be explicitly enabled.
493+
(:github:`84994``)
494+
491495
Bluetooth Classic
492496
=================
493497

subsys/bluetooth/audio/Kconfig.aics

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
config BT_AICS_MAX_INSTANCE_COUNT
1212
int "Audio Input Control Service max instance count"
13+
depends on BT_SMP
1314
default 0
1415
range 0 15
1516
help
@@ -38,6 +39,7 @@ endif # BT_AICS
3839

3940
config BT_AICS_CLIENT_MAX_INSTANCE_COUNT
4041
int "Audio Input Control Service client max instance count"
42+
depends on BT_SMP
4143
default 0
4244
range 0 15
4345
help

subsys/bluetooth/audio/Kconfig.ascs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
config BT_ASCS
1010
bool "Audio Stream Control Service Support"
11+
depends on BT_SMP
1112
help
1213
This option enables support for Audio Stream Control Service.
1314

subsys/bluetooth/audio/Kconfig.csip

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
config BT_CSIP_SET_MEMBER
1212
bool "Coordinated Set Identification Profile Set Member support"
13+
depends on BT_GATT_DYNAMIC_DB
14+
depends on BT_SMP
1315
imply BT_EXT_ADV if BT_PRIVACY
1416
help
1517
This option enables support for Coordinated Set Identification
@@ -59,6 +61,7 @@ config BT_CSIP_SET_COORDINATOR
5961
bool "Coordinated Set Identification Profile Set Coordinator Support"
6062
depends on BT_GATT_CLIENT
6163
depends on BT_GATT_AUTO_DISCOVER_CCC
64+
depends on BT_SMP
6265
help
6366
This option enables support for Coordinated Set Identification
6467
Profile Set Coordinator.

subsys/bluetooth/audio/Kconfig.has

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ config BT_HAS_CLIENT
6060
depends on BT_GATT_CLIENT
6161
depends on BT_GATT_AUTO_DISCOVER_CCC
6262
depends on BT_GATT_AUTO_UPDATE_MTU
63+
depends on BT_SMP
6364
help
6465
This option enables support for Hearing Access Service Client.

subsys/bluetooth/audio/Kconfig.mcs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ config BT_MCS
1313
depends on MCTL_LOCAL_PLAYER_REMOTE_CONTROL
1414
depends on UTF8
1515
depends on BT_GATT_DYNAMIC_DB
16+
depends on BT_SMP
1617
help
1718
This option enables support for the Media Control Service.
1819

@@ -22,6 +23,7 @@ config BT_MCC
2223
bool "Media Control Client Support"
2324
depends on BT_GATT_CLIENT
2425
depends on BT_GATT_AUTO_DISCOVER_CCC
26+
depends on BT_SMP
2527
help
2628
This option enables support for the Media Control Client.
2729

subsys/bluetooth/audio/Kconfig.pacs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ menu "Published Audio Capabilities (PAC) options"
99

1010
config BT_PAC_SNK
1111
bool "Sink PAC Characteristic Support"
12+
depends on BT_GATT_DYNAMIC_DB
13+
depends on BT_SMP
1214
help
1315
This option enables support for Sink Published Audio Capabilities.
1416

@@ -43,6 +45,7 @@ endif # BT_PACS_SNK
4345

4446
config BT_PAC_SRC
4547
bool "Source PAC Characteristic Support"
48+
depends on BT_GATT_DYNAMIC_DB
4649
help
4750
This option enables support for Source Published Audio Capabilities.
4851

subsys/bluetooth/audio/Kconfig.tbs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if BT_AUDIO
1313
config BT_TBS
1414
bool "Telephone Bearer Service Support"
1515
depends on BT_GATT_DYNAMIC_DB
16+
depends on BT_SMP
1617
depends on UTF8
1718
help
1819
This option enables support for Telephone Bearer Service. By default this only
@@ -58,20 +59,24 @@ endif # BT_TBS
5859

5960
config BT_TBS_CLIENT_GTBS
6061
bool "Generic Telephone Bearer Service client support"
62+
depends on BT_GATT_CLIENT
63+
depends on BT_GATT_AUTO_DISCOVER_CCC
64+
depends on BT_SMP
6165
depends on UTF8
6266
help
6367
This option enables support for the GTBS-oriented Call Control client.
6468

6569
config BT_TBS_CLIENT_TBS
6670
bool "Telephone Bearer Service client support"
71+
depends on BT_GATT_CLIENT
72+
depends on BT_GATT_AUTO_DISCOVER_CCC
73+
depends on BT_SMP
6774
depends on UTF8
6875
help
6976
This option enables support for the TBS-oriented Call Control client.
7077

7178
config BT_TBS_CLIENT
7279
def_bool BT_TBS_CLIENT_GTBS || BT_TBS_CLIENT_TBS
73-
depends on BT_GATT_CLIENT
74-
depends on BT_GATT_AUTO_DISCOVER_CCC
7580

7681
if BT_TBS_CLIENT
7782

subsys/bluetooth/audio/Kconfig.vcp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
config BT_VCP_VOL_REND
1212
bool "Volume Control Profile Volume Renderer Support"
1313
depends on BT_GATT_DYNAMIC_DB
14+
depends on BT_SMP
1415
help
1516
This option enables support for Volume Control Profile Volume Renderer
1617
role and the Volume Control Service.
@@ -60,6 +61,7 @@ config BT_VCP_VOL_CTLR
6061
bool "Volume Control Profile Volume Controller Support"
6162
depends on BT_GATT_CLIENT
6263
depends on BT_GATT_AUTO_DISCOVER_CCC
64+
depends on BT_SMP
6365
help
6466
This option enables support for Volume Control Profile Volume
6567
Controller.

subsys/bluetooth/audio/Kconfig.vocs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
config BT_VOCS_MAX_INSTANCE_COUNT
1111
int "Volume Offset Control Service max instance count"
12+
depends on BT_SMP
1213
default 0
1314
range 0 15
1415
help
@@ -36,6 +37,7 @@ endif # BT_VOCS
3637

3738
config BT_VOCS_CLIENT_MAX_INSTANCE_COUNT
3839
int "Volume Offset Control Service client max instance count"
40+
depends on BT_SMP
3941
default 0
4042
range 0 15
4143
help

0 commit comments

Comments
 (0)