Bluetooth: controller: Move CIS peripheral functionality to ull_conn_iso
Move ull_peripheral_iso_start ull_peripheral_iso_ticker_cb to ull_conn_iso, to share code between CIS peripheral and central. Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
parent
38a4e58d1f
commit
64ade9e01d
6 changed files with 211 additions and 201 deletions
|
@ -6429,7 +6429,7 @@ void event_peripheral_iso_prep(struct ll_conn *conn, uint16_t event_counter,
|
|||
/* Start ISO peripheral one event before the requested instant */
|
||||
if (event_counter == start_event_count) {
|
||||
/* Start CIS peripheral */
|
||||
ull_peripheral_iso_start(conn, ticks_at_expire, conn->llcp_cis.cis_handle);
|
||||
ull_conn_iso_start(conn, ticks_at_expire, conn->llcp_cis.cis_handle);
|
||||
|
||||
conn->llcp_cis.state = LLCP_CIS_STATE_REQ;
|
||||
conn->llcp_cis.ack = conn->llcp_cis.req;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue