Home
last modified time | relevance | path

Searched full:bis (Results 1 – 25 of 91) sorted by relevance

1234

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_chan.c392 /* BIS subevent 2, event counter 0, test prnSubEvent_se */ in lll_chan_sel_2_ut()
398 /* BIS subevent 3, event counter 0 */ in lll_chan_sel_2_ut()
402 /* BIS subevent 4, event counter 0 */ in lll_chan_sel_2_ut()
407 /* BIS subevent 1, event counter 0 */ in lll_chan_sel_2_ut()
413 /* BIS subvent 2 */ in lll_chan_sel_2_ut()
418 /* BIS subvent 3 */ in lll_chan_sel_2_ut()
423 /* BIS subvent 4 */ in lll_chan_sel_2_ut()
428 /* BIS subevent 1, event counter 1 */ in lll_chan_sel_2_ut()
434 /* BIS subvent 2 */ in lll_chan_sel_2_ut()
439 /* BIS subvent 3 */ in lll_chan_sel_2_ut()
[all …]
Dull_iso_types.h7 /* BIS Broadcaster */
28 /* BIS Synchronized Receiver */
/Zephyr-latest/tests/bsim/bluetooth/ll/
Dcompile.sh27 app=tests/bsim/bluetooth/ll/bis compile
28 app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-ll_interface.conf compile
29 app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-ticker_expire_info.conf compile
30 app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-scan_aux_use_chains.conf compile
31 app=tests/bsim/bluetooth/ll/bis conf_file=prj_vs_dp.conf compile
32 app=tests/bsim/bluetooth/ll/bis conf_file=prj_past.conf compile
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Diso.c156 struct bt_iso_chan *bis = param->bis_channels[i]; in bt_iso_big_create() local
159 zassert_not_null(bis); in bt_iso_big_create()
163 big->bis[i] = bis; in bt_iso_big_create()
166 iso->chan = bis; in bt_iso_big_create()
181 /* TODO: Call chan->ops->disconnected(*chan); for each BIS */ in bt_iso_big_terminate()
185 struct bt_iso_chan *bis = big->bis[i]; in bt_iso_big_terminate() local
187 zassert_not_null(bis, "big %p", big); in bt_iso_big_terminate()
189 mock_bt_iso_disconnected(bis, BT_HCI_ERR_LOCALHOST_TERM_CONN); in bt_iso_big_terminate()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_base.c169 LOG_DBG("Subgroup[%u]: Invalid BIS count: %u", i, bis_count); in bt_bap_base_get_base_from_ad()
207 LOG_DBG("Subgroup[%u]: Invalid BIS index: %u", i, bis_index); in bt_bap_base_get_base_from_ad()
212 /* Pull BIS CC data */ in bt_bap_base_get_base_from_ad()
261 /* Parse BIS data */ in bt_bap_base_get_size()
263 /* BIS index */ in bt_bap_base_get_size()
547 struct bt_bap_base_subgroup_bis bis; in bt_bap_base_subgroup_foreach_bis() local
549 bis.index = net_buf_simple_pull_u8(&net_buf); /* index */ in bt_bap_base_subgroup_foreach_bis()
552 bis.data_len = base_pull_ltv(&net_buf, &bis.data); in bt_bap_base_subgroup_foreach_bis()
554 if (!func(&bis, user_data)) { in bt_bap_base_subgroup_foreach_bis()
564 int bt_bap_base_subgroup_bis_codec_to_codec_cfg(const struct bt_bap_base_subgroup_bis *bis, in bt_bap_base_subgroup_bis_codec_to_codec_cfg() argument
[all …]
Dbap_broadcast_sink.c201 if (broadcast_sinks[i].bis[j].chan == chan) { in broadcast_sink_lookup_iso_chan()
570 struct bt_bap_broadcast_sink_bis bis[CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT]; member
594 static bool base_subgroup_bis_index_cb(const struct bt_bap_base_subgroup_bis *bis, void *user_data) in base_subgroup_bis_index_cb() argument
600 if (data->bis_count == ARRAY_SIZE(data->bis)) { in base_subgroup_bis_index_cb()
602 LOG_DBG("Could only store %u BIS", data->bis_count); in base_subgroup_bis_index_cb()
606 sink_bis = &data->bis[data->bis_count]; in base_subgroup_bis_index_cb()
609 sink_bis->index = bis->index; in base_subgroup_bis_index_cb()
610 sink_subgroup->bis_indexes |= BT_ISO_BIS_INDEX_BIT(bis->index); in base_subgroup_bis_index_cb()
616 if (bis->data_len > 0) { in base_subgroup_bis_index_cb()
617 /* Merge subgroup codec configuration with the BIS configuration in base_subgroup_bis_index_cb()
[all …]
Dbap_broadcast_source.c67 * 1 octet of number of BIS
74 * For each BIS in the subgroup there is
75 * 1 octet for the BIS index
79 * For a minimal BASE with 1 subgroup and 1 BIS without and other data the
383 /* Create BIS index bitfield */ in encode_base_subgroup()
389 LOG_DBG("No room for BIS[%d] index", i); in encode_base_subgroup()
397 LOG_DBG("No room for bis codec config length"); in encode_base_subgroup()
405 LOG_DBG("No room for BIS[%u] data: %zu", i, stream_data[i].data_len); in encode_base_subgroup()
596 /** Gets the "highest" state of all BIS in the broadcast source */
647 /* Merge subgroup codec configuration with the BIS configuration in update_codec_cfg_data()
[all …]
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c145 /* Create a mask for the maximum BIS we can sync to using the number of streams
146 * we have. Bit 0 is BIS index 1.
605 } bis[BT_ISO_BIS_INDEX_MAX]; member
611 * This is called for each BIS in a subgroup
613 * Gets BIS channel allocation (if exists).
614 * Always returns `true` to continue to next BIS
616 static bool bis_get_channel_allocation_cb(const struct bt_bap_base_subgroup_bis *bis, in bis_get_channel_allocation_cb() argument
624 data->bis[idx].index = bis->index; in bis_get_channel_allocation_cb()
625 data->bis[idx].chan_allocation_available = false; in bis_get_channel_allocation_cb()
627 err = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, &codec_cfg); in bis_get_channel_allocation_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/tests_scripts/
Dbroadcast_iso.sh7 # Basic ISO broadcast test: a broadcaster transmits a BIS and a receiver listens
8 # to the BIS.
Dbroadcast_iso_ll_interface.sh7 # Basic ISO broadcast test: a broadcaster transmits a BIS and a receiver listens
8 # to the BIS.
Dbroadcast_iso_scan_aux_use_chains.sh7 # Basic ISO broadcast test: a broadcaster transmits a BIS and a receiver listens
8 # to the BIS.
Dbroadcast_iso_ticker_expire_info.sh7 # Basic ISO broadcast test: a broadcaster transmits a BIS and a receiver listens
8 # to the BIS.
Dbroadcast_iso_vs_dp.sh7 # Basic ISO broadcast test: a broadcaster transmits a BIS and a receiver listens
8 # to the BIS, and recevied SDUs are emitted via vendor data path implementation.
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_iso.c206 /* Update BIS payload counter to next value */ in prepare_cb_common()
219 /* Calculate the Access Address for the BIS event */ in prepare_cb_common()
223 /* Calculate the CRC init value for the BIS event, in prepare_cb_common()
225 * significant 2 octets and the BIS_Number for the specific BIS in the in prepare_cb_common()
473 uint8_t bis; in isr_tx_common() local
484 /* FIXME: Sequential or Interleaved BIS subevents decision */ in isr_tx_common()
490 bis = lll->bis_curr; in isr_tx_common()
497 bis = lll->bis_curr; in isr_tx_common()
503 bis = lll->bis_curr; in isr_tx_common()
512 bis = lll->bis_curr; in isr_tx_common()
[all …]
Dlll_sync_iso.c227 /* Update BIS packet counter to next value */ in prepare_cb_common()
255 /* Calculate the Access Address for the BIS event */ in prepare_cb_common()
271 /* Skip subevents until first selected BIS */ in prepare_cb_common()
276 /* First selected BIS */ in prepare_cb_common()
279 /* Calculate the Access Address for the current BIS */ in prepare_cb_common()
284 /* Calculate the channel id for the next BIS subevent */ in prepare_cb_common()
293 /* Calculate the CRC init value for the BIS event, in prepare_cb_common()
295 * significant 2 octets and the BIS_Number for the specific BIS in the in prepare_cb_common()
555 uint8_t bis; in isr_rx() local
571 /* BIS index */ in isr_rx()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Diso.c1647 /* Only remove one data path for BIS as per the spec */ in bt_iso_remove_data_path()
2710 struct bt_iso_chan *bis, *tmp; in cleanup_big() local
2712 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&big->bis_channels, bis, tmp, node) { in cleanup_big()
2713 if (bis->iso != NULL) { in cleanup_big()
2714 bt_conn_unref(bis->iso); in cleanup_big()
2715 bis->iso = NULL; in cleanup_big()
2718 sys_slist_remove(&big->bis_channels, NULL, &bis->node); in cleanup_big()
2726 struct bt_iso_chan *bis; in big_disconnect() local
2728 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in big_disconnect()
2729 bis->iso->err = reason; in big_disconnect()
[all …]
/Zephyr-latest/tests/bluetooth/audio/bap_base/src/
Dmain.c29 0x01, /* Subgroup 1: bis count */ in bap_base_test_suite_fixture_init()
36 0x01, /* bis index */ in bap_base_test_suite_fixture_init()
37 0x03, /* bis cc length */ in bap_base_test_suite_fixture_init()
38 0x02, 0x03, 0x03, /* bis cc length */ in bap_base_test_suite_fixture_init()
39 0x01, /* Subgroup 1: bis count */ in bap_base_test_suite_fixture_init()
46 0x02, /* bis index */ in bap_base_test_suite_fixture_init()
47 0x03, /* bis cc length */ in bap_base_test_suite_fixture_init()
48 0x02, 0x03, 0x03 /* bis cc length */ in bap_base_test_suite_fixture_init()
225 "Unexpected BIS index value: 0x%08X", bis_indexes); in ZTEST_F()
648 "Unexpected BIS index value: 0x%08X", bis_indexes); in test_bt_bap_base_subgroup_get_bis_indexes_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/
Dtestcase.yaml2 bluetooth.host.iso.bis:
Dprj.conf9 CONFIG_BT_DEVICE_NAME="BIS test"
/Zephyr-latest/include/zephyr/bluetooth/
Diso.h59 * Convert BIS index to bit
61 * The BIS indexes start from 0x01, so the lowest allowed bit is
62 * BIT(0) that represents index 0x01. To synchronize to e.g. BIS
64 * As a general notation, to sync to BIS index N use BIT(N - 1).
133 /** Lowest BIS index */
135 /** Highest BIS index */
151 * @brief Check if ISO BIS bitfield is valid (BT_ISO_BIS_INDEX_BIT(1)|..|BT_ISO_BIS_INDEX_BIT(31))
153 * @param _bis_bitfield BIS index bitfield (uint32)
286 * Maximum number of subevents in each CIS or BIS event.
481 /** Array of pointers to BIS channels */
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap_broadcast_assistant.rst88 [0]: BIS sync 0, metadata_len 0
100 [0]: BIS sync 0x0000, metadata_len 0
103 [0]: BIS sync 0x0000, metadata_len 0
105 [0]: BIS sync 0x0000, metadata_len 4
117 [0]: BIS sync 0x0001, metadata_len 4
/Zephyr-latest/tests/bsim/bluetooth/
Dtests.nrf5340bsim_nrf5340_cpuapp.txt4 tests/bsim/bluetooth/ll/bis/tests_scripts/broadcast_iso.sh
/Zephyr-latest/drivers/crypto/
DKconfig.ataes132a23 Standard bis speed of up to 100KHz.
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dpdu_vendor.h14 /* No vendor BIS PDU struct octet3 */
/Zephyr-latest/subsys/bluetooth/controller/util/
Dutil.h19 void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst);

1234