bthost: Add support for Create CIS
Luiz Augusto von Dentz
maintainerPATCH 1/1 bthost: Add support for Create CIS
From: Luiz Augusto von Dentz <[email protected]>
This introduces bthost_set_cig_params and bthost_create_cis.
--- emulator/btdev.c | 2 +- emulator/bthost.c | 42 ++++++++++++++++++++++++++++++++++++++++++ emulator/bthost.h | 6 ++++++ 3 files changed, 49 insertions(+), 1 deletion(-)
emulator/btdev.c +1 -1
@@ -5764,7 +5764,7 @@ static void le_cis_estabilished(struct btdev *dev, struct btdev_conn *conn,memset (&evt,0 ,sizeof (evt)); evt.status = status; - evt.conn_handle =cpu_to_le16 (conn->handle); + evt.conn_handle = conn ?cpu_to_le16 (conn->handle) :0x0000 ;if (!evt.status) {struct btdev *remote = conn->link->dev;
emulator/bthost.c +42 -0
48 lines not on this page · raw message
emulator/bthost.h +6 -0
@@ -100,6 +100,12 @@ void bthost_set_pa_enable(struct bthost *bthost, uint8_t enable);void bthost_create_big (struct bthost *bthost,uint8_t num_bis);bool bthost_search_ext_adv_addr (struct bthost *bthost,const uint8_t *addr); +void bthost_set_cig_params (struct bthost *bthost,uint8_t cig_id, +uint8_t cis_id); +void bthost_create_cis (struct bthost *bthost,uint16_t cis_handle, +uint16_t acl_handle); + +void bthost_set_scan_params (struct bthost *bthost,uint8_t scan_type,uint8_t addr_type,uint8_t filter_policy);void bthost_set_scan_enable (struct bthost *bthost,uint8_t enable);
Signature · 1 line
2.35.1
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=622793
---Test result---
Test Summary:
CheckPatch PASS 0.73 seconds GitLint PASS 0.47 seconds Prep - Setup ELL PASS 54.02 seconds Build - Prep PASS 0.69 seconds Build - Configure PASS 10.52 seconds Build - Make PASS 1860.85 seconds Make Check PASS 12.50 seconds Make Check w/Valgrind PASS 564.29 seconds Make Distcheck PASS 295.28 seconds Build w/ext ELL - Configure PASS 10.67 seconds Build w/ext ELL - Make PASS 1822.39 seconds Incremental Build with patchesPASS 0.00 seconds
---
Regards,
Linux Bluetooth