Home
last modified time | relevance | path

Searched refs:bis (Results 1 – 25 of 34) sorted by relevance

12

/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()
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/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/subsys/bluetooth/audio/
Dbap_base.c547 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
567 CHECKIF(bis == NULL) { in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
579 if (bis->data_len > ARRAY_SIZE(codec_cfg->data)) { in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
580 LOG_DBG("Cannot fit %u octets of codec data (max %zu)", bis->data_len, in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
586 codec_cfg->data_len = bis->data_len; in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
587 memcpy(codec_cfg->data, bis->data, bis->data_len); in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
[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()
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()
627 err = bt_audio_data_parse(bis->data, bis->data_len, in base_subgroup_bis_index_cb()
640 if (sink_bis->codec_cfg.data_len + bis->data_len > in base_subgroup_bis_index_cb()
[all …]
Dbap_endpoint.h183 struct bt_bap_broadcast_sink_bis bis[CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT]; member
/Zephyr-latest/subsys/bluetooth/host/
Diso.c2710 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()
2731 bt_iso_chan_disconnected(bis, reason); in big_disconnect()
[all …]
/Zephyr-latest/tests/bluetooth/audio/mocks/include/
Diso.h15 struct bt_iso_chan *bis[CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT]; member
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_iso.c473 uint8_t bis; in isr_tx_common() local
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()
534 bis = 0U; in isr_tx_common()
557 bis = 0U; in isr_tx_common()
612 util_bis_aa_le32(bis, lll->seed_access_addr, access_addr); in isr_tx_common()
620 crc_init[0] = bis; in isr_tx_common()
694 if (!bis) { in isr_tx_common()
[all …]
Dlll_sync_iso.c555 uint8_t bis; in isr_rx() local
753 bis = lll->bis_curr; in isr_rx()
798 bis = lll->bis_curr; in isr_rx()
836 bis = lll->bis_curr; in isr_rx()
894 bis = lll->bis_curr; in isr_rx()
931 bis = 0U; in isr_rx()
963 util_bis_aa_le32(bis, lll->seed_access_addr, access_addr); in isr_rx()
971 crc_init[0] = bis; in isr_rx()
978 if (!bis) { in isr_rx()
1031 if (bis) { in isr_rx()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/util/
Dutil.h19 void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst);
Dutil.c281 void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst) in util_bis_aa_le32() argument
292 d = ((35 * bis) + 42) & 0x7f; in util_bis_aa_le32()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c605 } bis[BT_ISO_BIS_INDEX_MAX]; member
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()
634 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &data->bis[idx].chan_allocation, in bis_get_channel_allocation_cb()
643 data->bis[idx].chan_allocation_available = true; in bis_get_channel_allocation_cb()
710 if (!data.bis[i].chan_allocation_available) { in subgroup_get_valid_bis_indexes_cb()
711 data.bis[i].chan_allocation = subgroup_chan_allocation_available in subgroup_get_valid_bis_indexes_cb()
719 if ((data.bis[i].chan_allocation == CONFIG_TARGET_BROADCAST_CHANNEL) || in subgroup_get_valid_bis_indexes_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/
Dtests.nrf5340bsim_nrf5340_cpuapp.txt4 tests/bsim/bluetooth/ll/bis/tests_scripts/broadcast_iso.sh
Dcompile.nrf5340bsim_nrf5340_cpuapp.sh16 app=tests/bsim/bluetooth/ll/bis sysbuild=1 compile
/Zephyr-latest/drivers/crypto/
DKconfig.ataes132a23 Standard bis speed of up to 100KHz.
/Zephyr-latest/samples/bluetooth/iso_broadcast/src/
Dmain.c74 static struct bt_iso_chan *bis[] = { variable
81 .bis_channels = bis,
/Zephyr-latest/tests/bluetooth/audio/bap_base/src/
Dmain.c713 test_base_subgroup_foreach_bis_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in test_base_subgroup_foreach_bis_subgroup_bis_cb() argument
804 test_base_subgroup_bis_codec_to_codec_cfg_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in test_base_subgroup_bis_codec_to_codec_cfg_bis_cb() argument
811 ret = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, &codec_cfg); in test_base_subgroup_bis_codec_to_codec_cfg_bis_cb()
845 const struct bt_bap_base_subgroup_bis *bis, void *user_data) in test_base_subgroup_bis_codec_to_codec_cfg_inval_param_null_bis_bis_cb() argument
882 const struct bt_bap_base_subgroup_bis *bis, void *user_data) in test_base_subgroup_bis_codec_to_codec_cfg_inval_param_null_codec_cfg_bis_cb() argument
886 ret = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, NULL); in test_base_subgroup_bis_codec_to_codec_cfg_inval_param_null_codec_cfg_bis_cb()
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c347 struct bt_iso_chan *bis[CONFIG_BT_ISO_MAX_CHAN]; in create_big_sync() local
349 .bis_channels = bis, in create_big_sync()
359 bis[i] = &bis_iso_chan[i]; in create_big_sync()
Dbroadcaster.c51 static struct bt_iso_chan *bis[CONFIG_BT_ISO_MAX_CHAN]; variable
56 .bis_channels = bis,
716 bis[i] = &bis_iso_chans[i]; in create_big()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Daudio.h810 static inline bool print_base_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in print_base_subgroup_bis_cb() argument
816 shell_print(ctx_shell, "%*sBIS index: 0x%02X", indent, "", bis->index); in print_base_subgroup_bis_cb()
829 err = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, &codec_cfg); in print_base_subgroup_bis_cb()
834 print_ltv_array(ctx_shell, indent, bis->data, bis->data_len); in print_base_subgroup_bis_cb()
842 for (uint8_t i = 0U; i < bis->data_len; i++) { in print_base_subgroup_bis_cb()
843 shell_fprintf(ctx_shell, SHELL_NORMAL, "%02X", bis->data[i]); in print_base_subgroup_bis_cb()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sync_iso.c93 uint8_t *bis) in ll_big_sync_create() argument
129 if (!IN_RANGE(bis[i], 0x01, 0x1F) || (bis[i] <= last_index)) { in ll_big_sync_create()
132 } else if (bis[i] > sync->num_bis) { in ll_big_sync_create()
135 last_index = bis[i]; in ll_big_sync_create()
222 stream->bis_index = bis[i]; in ll_big_sync_create()
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_bis.c832 uint8_t bis[1] = { 0x01, }; in test_iso_recv_main() local
839 mse, sync_timeout, ARRAY_SIZE(bis), bis); in test_iso_recv_main()
866 mse, sync_timeout, ARRAY_SIZE(bis), bis); in test_iso_recv_main()
/Zephyr-latest/drivers/dma/
DKconfig.stm3244 With the versions V2 bis of DMA, the peripheral request (slot) is not
/Zephyr-latest/samples/bluetooth/iso_receive/src/
Dmain.c270 static struct bt_iso_chan *bis[] = { variable
276 .bis_channels = bis,
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c191 static bool add_pa_sync_base_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in add_pa_sync_base_subgroup_bis_cb() argument
196 subgroup_param->bis_sync |= BT_ISO_BIS_INDEX_BIT(bis->index); in add_pa_sync_base_subgroup_bis_cb()

12