Home
last modified time | relevance | path

Searched full:cis (Results 1 – 25 of 94) sorted by relevance

1234

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_peripheral_iso.c62 LOG_ERR("Unknown CIS handle %u", handle); in ll_cis_get_acl_awaiting_reply()
150 /* Use this function to release CIS/CIG resources on an aborted CIS setup
151 * ie if CIS setup is 'cancelled' after call to ull_peripheral_iso_acquire()
152 * because of a rejection of the CIS request
156 struct ll_conn_iso_stream *cis; in ull_peripheral_iso_release() local
159 cis = ll_conn_iso_stream_get(cis_handle); in ull_peripheral_iso_release()
160 LL_ASSERT(cis); in ull_peripheral_iso_release()
162 cig = cis->group; in ull_peripheral_iso_release()
164 ll_conn_iso_stream_release(cis); in ull_peripheral_iso_release()
177 struct ll_conn_iso_stream *cis; in ull_peripheral_iso_acquire() local
[all …]
Dull_conn_iso.c70 static void cis_lazy_fill(struct ll_conn_iso_stream *cis);
135 struct ll_conn_iso_stream *cis = mem_acquire(&cis_free); in ll_conn_iso_stream_acquire() local
137 if (cis) { in ll_conn_iso_stream_acquire()
138 (void)memset(&cis->hdr, 0U, sizeof(cis->hdr)); in ll_conn_iso_stream_acquire()
141 return cis; in ll_conn_iso_stream_acquire()
144 void ll_conn_iso_stream_release(struct ll_conn_iso_stream *cis) in ll_conn_iso_stream_release() argument
146 cis->cis_id = 0; in ll_conn_iso_stream_release()
147 cis->group = NULL; in ll_conn_iso_stream_release()
149 mem_release(cis, &cis_free); in ll_conn_iso_stream_release()
152 uint16_t ll_conn_iso_stream_handle_get(struct ll_conn_iso_stream *cis) in ll_conn_iso_stream_handle_get() argument
[all …]
Dull_central_iso.c69 static void cig_offset_get(struct ll_conn_iso_stream *cis);
71 static void cis_offset_get(struct ll_conn_iso_stream *cis);
157 struct ll_conn_iso_stream *cis; in ll_cig_parameters_commit() local
270 cis = ll_conn_iso_stream_get_by_id(ll_iso_setup.stream[i].cis_id); in ll_cig_parameters_commit()
271 if (cis) { in ll_cig_parameters_commit()
275 if ((cis->c_max_sdu && cis->hdr.datapath_in && in ll_cig_parameters_commit()
277 (cis->p_max_sdu && cis->hdr.datapath_out && in ll_cig_parameters_commit()
279 /* Reconfiguring CIS with datapath to wrong direction is in ll_cig_parameters_commit()
286 /* Acquire new CIS */ in ll_cig_parameters_commit()
287 cis = ll_conn_iso_stream_acquire(); in ll_cig_parameters_commit()
[all …]
Dull_iso.c171 struct ll_conn_iso_stream *cis; in ll_read_iso_tx_sync() local
173 cis = ll_conn_iso_stream_get(handle); in ll_read_iso_tx_sync()
175 if (cis) { in ll_read_iso_tx_sync()
176 dp = cis->hdr.datapath_in; in ll_read_iso_tx_sync()
221 struct ll_conn_iso_stream *cis = NULL; in ll_setup_iso_path() local
244 * Handle that does not exist or that is not for a CIS or a BIS, in ll_setup_iso_path()
248 cis = ll_conn_iso_stream_get(handle); in ll_setup_iso_path()
249 if (!cis || !cis->group) { in ll_setup_iso_path()
250 /* CIS does not belong to a CIG */ in ll_setup_iso_path()
254 conn = ll_connected_get(cis->lll.acl_handle); in ll_setup_iso_path()
[all …]
Dull_conn_iso_types.h26 uint16_t established:1; /* 0 if CIS has not yet been established.
27 * 1 if CIS has been established and host
30 uint16_t trx_performed:1; /* 1 if CIS had a transaction */
31 uint16_t teardown:1; /* 1 if CIS teardown has been initiated */
41 uint32_t offset; /* Offset of CIS from ACL event in us */
44 ll_iso_stream_released_cb_t released_cb; /* CIS release callback */
Dull_llcp.h176 * @brief Initiate a CIS Termination Procedure.
178 uint8_t ull_cp_cis_terminate(struct ll_conn *conn, struct ll_conn_iso_stream *cis,
182 * @brief Initiate a CIS Create Procedure.
184 uint8_t ull_cp_cis_create(struct ll_conn *conn, struct ll_conn_iso_stream *cis);
187 * @brief Resume CIS create after CIS offset calculation.
193 * @brief Is ongoing create cis procedure expecting a reply?
198 * @brief Is ongoing create cis procedure expecting an established event?
203 * @brief Cancel ongoing create cis procedure
208 * @brief Get handle of ongoing create cis procedure.
214 * @brief Accept the remote device’s request to create cis.
[all …]
Dlll_conn_iso.h32 uint16_t handle; /* CIS handle */
36 uint32_t offset; /* Offset of CIS from start of CIG in us */
54 uint8_t npi:1; /* 1 if CIS LLL has Tx-ed Null PDU Indicator */
56 uint8_t active:1; /* 1 if CIS LLL is active */
60 /* Lazy at CIS active. Number of previously skipped CIG events that is
61 * determined when CIS is made active and subtracted from total CIG
62 * events that where skipped when this CIS gets to use radio for the
85 uint16_t resume_cis; /* CIS handle to schedule at resume */
Dull_conn_iso_internal.h29 void ll_conn_iso_stream_release(struct ll_conn_iso_stream *cis);
30 uint16_t ll_conn_iso_stream_handle_get(struct ll_conn_iso_stream *cis);
43 void ull_conn_iso_cis_stop(struct ll_conn_iso_stream *cis,
Dull_llcp_cc.c153 * the second for setting up the CIS. in llcp_rp_cc_tx_rsp()
165 * start times is an integer multiple of ISO_Interval for the CIS. in llcp_rp_cc_tx_rsp()
331 /* Handle CIS request */ in rp_cc_state_wait_rx_cis_req()
396 /* CIS has been setup, go wait for 'instant' before starting */ in rp_cc_state_wait_rx_cis_ind()
402 /* Check if this connection event is where we need to start the CIS */ in rp_cc_state_wait_rx_cis_ind()
410 /* Handle CIS creation rejection */ in rp_cc_state_wait_rx_cis_ind()
453 /* Start CIS */ in rp_cc_check_instant()
459 /* Now we can wait for CIS to become established */ in rp_cc_check_instant()
483 /* CIS Request is rejected, so clean up CIG/CIS acquisitions */ in rp_cc_state_wait_reply()
639 /* LLCP Local Procedure CIS Creation FSM events */
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/
Dcompile.sh13 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay.conf compile
14 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first.conf compile
15 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv.conf compile
16 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv_acl_first.conf compile
17 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group.conf compile
18 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group_acl_first.conf compile
19 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-peripheral_cis.conf compile
20 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_2_se.conf compile
21 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_4_se.conf compile
22 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_cen_skip_2_se.conf compile
[all …]
DKconfig15 bool "Multiple Peripheral CIS"
17 Multiple Peripheral CIS establishment.
54 When CIS is created first, there isn't sufficient time available for
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_create/src/
Dmain.c135 * Central-initiated CIS Create procedure.
136 * Central requests CIS, peripheral Host rejects.
145 * | LE CIS Request | |
147 * | LE CIS Request | |
159 * | LE CIS ESTABLISHED | |
252 /* Emulate CIS becoming established */ in ZTEST()
282 * Central-initiated CIS Create procedure.
283 * Central requests CIS, peripheral Host rejects.
292 * | LE CIS Request | |
294 * | LE CIS Request | |
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_terminate/src/
Dmain.c92 struct ll_conn_iso_stream cis = { 0 }; in test_cis_terminate_loc() local
107 /* Mock CIS/ACL */ in test_cis_terminate_loc()
108 cis.lll.acl_handle = conn.lll.handle; in test_cis_terminate_loc()
110 cis.cis_id = local_cis_terminate_ind.cis_id; in test_cis_terminate_loc()
111 cis.group = &group; in test_cis_terminate_loc()
113 /* Initiate an CIS Terminate Procedure */ in test_cis_terminate_loc()
114 err = ull_cp_cis_terminate(&conn, &cis, local_cis_terminate_ind.error_code); in test_cis_terminate_loc()
125 /* 'Signal' CIS terminated */ in test_cis_terminate_loc()
126 conn.llcp.cis.terminate_ack = 1; in test_cis_terminate_loc()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull_conn_iso.c45 static struct ll_conn_iso_stream cis = { .established = 1, .group = &cig }; variable
55 return &cis; in ll_conn_iso_stream_get()
74 void ull_conn_iso_cis_stop(struct ll_conn_iso_stream *cis, in ull_conn_iso_cis_stop() argument
/Zephyr-latest/subsys/bluetooth/host/
Diso.c405 /* The peripheral does not have the concept of a CIG, so once a CIS in bt_iso_chan_disconnected()
1075 /* A CIS peripheral is not allowed to disconnect a CIS in the connecting state - It in bt_iso_chan_disconnect()
1076 * has to wait for a CIS Established event in bt_iso_chan_disconnect()
1289 * event before this event, and in which case we do not expect to find the CIS in hci_le_cis_established()
1323 * event before this event, and in which case we do not expect to find the CIS in hci_le_cis_established_v2()
1502 LOG_DBG("acl_handle %u cis_handle %u cig_id %u cis %u", acl_handle, cis_handle, evt->cig_id, in hci_le_cis_req()
1533 LOG_ERR("Failed to reject CIS"); in hci_le_cis_req()
1656 /* Remove both directions for CIS*/ in bt_iso_remove_data_path()
1753 /* Program the cis parameters */ in hci_le_set_cig_params()
1755 struct bt_iso_chan *cis = param->cis_channels[i]; in hci_le_set_cig_params() local
[all …]
Diso_internal.h42 /** List of ISO channels to setup as CIS (the CIG). */
100 /* Process CIS Established event */
104 /* Process CIS Request event */
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/tests_scripts/
Dconnected_iso_acl_group.sh8 # 1 CIS each to 9 Peripherals (9 CIS in a CIG)
Dconnected_iso_acl_group_acl_first.sh8 # 1 CIS each to 9 Peripherals (9 CIS in a CIG)
Dconnected_iso.sh8 # 1 CIS each to 9 Peripherals (9 CIS in a CIG)
Dconnected_iso_acl_first.sh8 # 1 CIS each to 9 Peripherals (9 CIS in a CIG)
/Zephyr-latest/subsys/sd/
Dsdio.c200 size = MIN(remaining, func->cis.max_blk_size); in sdio_io_rw_extended_helper()
304 static void sdio_decode_cis(struct sdio_cis *cis, enum sdio_func_num func, in sdio_decode_cis() argument
309 cis->manf_id = data[0] | ((uint16_t)data[1] << 8); in sdio_decode_cis()
310 cis->manf_code = data[2] | ((uint16_t)data[3] << 8); in sdio_decode_cis()
313 cis->func_id = data[0]; in sdio_decode_cis()
317 cis->max_blk_size = data[1] | ((uint16_t)data[2] << 8); in sdio_decode_cis()
318 cis->max_speed = data[3]; in sdio_decode_cis()
320 cis->max_blk_size = data[12] | ((uint16_t)data[13] << 8); in sdio_decode_cis()
321 cis->rdy_timeout = data[28] | ((uint16_t)data[29] << 8); in sdio_decode_cis()
325 LOG_WRN("Unknown CIS tuple %d", tpl_code); in sdio_decode_cis()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/
Dtestcase.yaml2 bluetooth.host.iso.cis:
Dprj.conf9 CONFIG_BT_DEVICE_NAME="CIS test"
/Zephyr-latest/tests/bsim/bluetooth/audio/
DKconfig5 # supports CIS as the host expects the controller
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/
DKconfig71 int "Margin (in microseconds) to be used in framed time offset for CIS"
76 Note: Usually no margin is needed for CIS as Null PDUs can be used if a payload

1234