File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -577,6 +577,7 @@ enum {
577
577
#define HCI_LE_CIS_CENTRAL 0x10
578
578
#define HCI_LE_CIS_PERIPHERAL 0x20
579
579
#define HCI_LE_ISO_BROADCASTER 0x40
580
+ #define HCI_LE_ISO_SYNC_RECEIVER 0x80
580
581
581
582
/* Connection modes */
582
583
#define HCI_CM_ACTIVE 0x0000
Original file line number Diff line number Diff line change @@ -1765,6 +1765,7 @@ void hci_conn_del_sysfs(struct hci_conn *conn);
1765
1765
#define cis_peripheral_capable (dev ) \
1766
1766
((dev)->le_features[3] & HCI_LE_CIS_PERIPHERAL)
1767
1767
#define bis_capable (dev ) ((dev)->le_features[3] & HCI_LE_ISO_BROADCASTER)
1768
+ #define sync_recv_capable (dev ) ((dev)->le_features[3] & HCI_LE_ISO_SYNC_RECEIVER)
1768
1769
1769
1770
#define mws_transport_config_capable (dev ) (((dev)->commands[30] & 0x08) && \
1770
1771
(!test_bit(HCI_QUIRK_BROKEN_MWS_TRANSPORT_CONFIG, &(dev)->quirks)))
Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ struct mgmt_rp_read_index_list {
111
111
#define MGMT_SETTING_WIDEBAND_SPEECH BIT(17)
112
112
#define MGMT_SETTING_CIS_CENTRAL BIT(18)
113
113
#define MGMT_SETTING_CIS_PERIPHERAL BIT(19)
114
+ #define MGMT_SETTING_ISO_BROADCASTER BIT(20)
115
+ #define MGMT_SETTING_ISO_SYNC_RECEIVER BIT(21)
114
116
115
117
#define MGMT_OP_READ_INFO 0x0004
116
118
#define MGMT_READ_INFO_SIZE 0
Original file line number Diff line number Diff line change @@ -944,6 +944,12 @@ static u32 get_current_settings(struct hci_dev *hdev)
944
944
if (cis_peripheral_capable (hdev ))
945
945
settings |= MGMT_SETTING_CIS_PERIPHERAL ;
946
946
947
+ if (bis_capable (hdev ))
948
+ settings |= MGMT_SETTING_ISO_BROADCASTER ;
949
+
950
+ if (sync_recv_capable (hdev ))
951
+ settings |= MGMT_SETTING_ISO_SYNC_RECEIVER ;
952
+
947
953
return settings ;
948
954
}
949
955
You can’t perform that action at this time.
0 commit comments