Lines Matching refs:cig_id
53 uint8_t cig_id; member
83 void on_set_cig_params(uint8_t cig_id, uint32_t sdu_itv_mtos, uint8_t* stream, in on_set_cig_params()
93 STREAM_TO_UINT8(evt.cig_id, stream); in on_set_cig_params()
96 uint8_t evt_code = IsCigKnown(cig_id) ? kIsoEventCigOnReconfigureCmpl in on_set_cig_params()
107 if (cis_it->second->cig_id == evt.cig_id) in on_set_cig_params()
121 .cig_id = cig_id, in on_set_cig_params()
130 void create_cig(uint8_t cig_id, in create_cig()
132 LOG_ASSERT(!IsCigKnown(cig_id)) << "Invalid cig - already exists."; in create_cig()
135 cig_id, cig_params.sdu_itv_mtos, cig_params.sdu_itv_stom, in create_cig()
140 cig_id, cig_params.sdu_itv_mtos)); in create_cig()
143 void reconfigure_cig(uint8_t cig_id, in reconfigure_cig()
145 LOG_ASSERT(IsCigKnown(cig_id)) << "No such cig"; in reconfigure_cig()
148 cig_id, cig_params.sdu_itv_mtos, cig_params.sdu_itv_stom, in reconfigure_cig()
153 cig_id, cig_params.sdu_itv_mtos)); in reconfigure_cig()
163 STREAM_TO_UINT8(evt.cig_id, stream); in on_remove_cig()
168 if (cis_it->second->cig_id == evt.cig_id) in on_remove_cig()
178 void remove_cig(uint8_t cig_id) { in remove_cig()
179 LOG_ASSERT(IsCigKnown(cig_id)) << "No such cig"; in remove_cig()
181 btsnd_hcic_remove_cig(cig_id, base::BindOnce(&iso_impl::on_remove_cig, in remove_cig()
203 evt.cig_id = 0xFF; in on_status_establish_cis()
245 cig_callbacks_->OnSetupIsoDataPath(status, conn_handle, iso->cig_id); in on_setup_iso_data_path()
286 cig_callbacks_->OnRemoveIsoDataPath(status, conn_handle, iso->cig_id); in on_remove_iso_data_path()
336 conn_handle, iso->cig_id, txUnackedPackets, txFlushedPackets, in on_iso_link_quality_read()
445 evt.cig_id = cis->cig_id; in process_cis_est_pkt()
461 .cig_id = cis->cig_id, in disconnection_complete()
654 evt.cig_id = iso->cig_id; in handle_iso_data()
675 bool IsCigKnown(uint8_t cig_id) const { in IsCigKnown()
678 [&cig_id](auto& kv_pair) { in IsCigKnown()
679 return (kv_pair.second->cig_id == cig_id); in IsCigKnown()