diff mbox series

[BlueZ,2/8] lib: Add defines for MGMT setting bits for CIS feature support

Message ID 7e42fb8018045ac29c3e7a6784dd1a43a755e977.1675103676.git.pav@iki.fi (mailing list archive)
State Accepted
Commit c35d32b19989a26a584d87e2639fe8abd0f7e63c
Headers show
Series [BlueZ,1/8] doc: add MGMT setting for CIS features, remove Quality Report | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/IncrementalBuild success Incremental Build PASS

Commit Message

Pauli Virtanen Jan. 30, 2023, 6:37 p.m. UTC
---
 lib/mgmt.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Luiz Augusto von Dentz Feb. 7, 2023, 1:13 a.m. UTC | #1
Hi Pauli,

On Mon, Jan 30, 2023 at 10:56 AM Pauli Virtanen <pav@iki.fi> wrote:
>
> ---
>  lib/mgmt.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/lib/mgmt.h b/lib/mgmt.h
> index 796190cd9..efbdfb4b1 100644
> --- a/lib/mgmt.h
> +++ b/lib/mgmt.h
> @@ -96,6 +96,8 @@ struct mgmt_rp_read_index_list {
>  #define MGMT_SETTING_STATIC_ADDRESS    0x00008000
>  #define MGMT_SETTING_PHY_CONFIGURATION 0x00010000
>  #define MGMT_SETTING_WIDEBAND_SPEECH   0x00020000
> +#define MGMT_SETTING_CIS_CENTRAL       0x00040000
> +#define MGMT_SETTING_CIS_PERIPHERAL    0x00080000

Perhaps now it would be a good time to convert these to use BIT macro.

>  #define MGMT_OP_READ_INFO              0x0004
>  struct mgmt_rp_read_info {
> --
> 2.39.1
>
diff mbox series

Patch

diff --git a/lib/mgmt.h b/lib/mgmt.h
index 796190cd9..efbdfb4b1 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -96,6 +96,8 @@  struct mgmt_rp_read_index_list {
 #define MGMT_SETTING_STATIC_ADDRESS	0x00008000
 #define MGMT_SETTING_PHY_CONFIGURATION	0x00010000
 #define MGMT_SETTING_WIDEBAND_SPEECH	0x00020000
+#define MGMT_SETTING_CIS_CENTRAL	0x00040000
+#define MGMT_SETTING_CIS_PERIPHERAL	0x00080000
 
 #define MGMT_OP_READ_INFO		0x0004
 struct mgmt_rp_read_info {