Searched refs:per_adv_sync (Results 1 – 11 of 11) sorted by relevance
| /Zephyr-latest/subsys/bluetooth/host/ |
| D | scan.c | 949 static void per_adv_sync_delete(struct bt_le_per_adv_sync *per_adv_sync) in per_adv_sync_delete() argument 951 atomic_clear(per_adv_sync->flags); in per_adv_sync_delete() 956 struct bt_le_per_adv_sync *per_adv_sync = NULL; in per_adv_sync_new() local 961 per_adv_sync = &per_adv_sync_pool[i]; in per_adv_sync_new() 966 if (!per_adv_sync) { in per_adv_sync_new() 970 (void)memset(per_adv_sync, 0, sizeof(*per_adv_sync)); in per_adv_sync_new() 971 atomic_set_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CREATED); in per_adv_sync_new() 974 net_buf_simple_init_with_data(&per_adv_sync->reassembly, in per_adv_sync_new() 975 per_adv_sync->reassembly_data, in per_adv_sync_new() 977 net_buf_simple_reset(&per_adv_sync->reassembly); in per_adv_sync_new() [all …]
|
| D | direction.c | 377 struct bt_le_per_adv_sync *per_adv_sync; in hci_df_prepare_connectionless_iq_report() local 386 per_adv_sync = bt_hci_per_adv_sync_lookup_handle(sys_le16_to_cpu(evt->sync_handle)); in hci_df_prepare_connectionless_iq_report() 388 if (!per_adv_sync) { in hci_df_prepare_connectionless_iq_report() 394 if (!atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CTE_ENABLED)) { in hci_df_prepare_connectionless_iq_report() 399 if (!(per_adv_sync->cte_types & BIT(evt->cte_type))) { in hci_df_prepare_connectionless_iq_report() 415 *per_adv_sync_to_report = per_adv_sync; in hci_df_prepare_connectionless_iq_report() 425 struct bt_le_per_adv_sync *per_adv_sync; in hci_df_vs_prepare_connectionless_iq_report() local 434 per_adv_sync = bt_hci_per_adv_sync_lookup_handle(sys_le16_to_cpu(evt->sync_handle)); in hci_df_vs_prepare_connectionless_iq_report() 436 if (!per_adv_sync) { in hci_df_vs_prepare_connectionless_iq_report() 442 if (!atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CTE_ENABLED)) { in hci_df_vs_prepare_connectionless_iq_report() [all …]
|
| /Zephyr-latest/tests/bsim/bluetooth/host/adv/periodic/tests_scripts/ |
| D | per_adv.sh | 21 -testid=per_adv_sync -rs=6
|
| /Zephyr-latest/include/zephyr/bluetooth/ |
| D | bluetooth.h | 1944 uint8_t bt_le_per_adv_sync_get_index(struct bt_le_per_adv_sync *per_adv_sync); 1983 int bt_le_per_adv_sync_get_info(struct bt_le_per_adv_sync *per_adv_sync, 2032 int bt_le_per_adv_sync_delete(struct bt_le_per_adv_sync *per_adv_sync); 2059 int bt_le_per_adv_sync_recv_enable(struct bt_le_per_adv_sync *per_adv_sync); 2070 int bt_le_per_adv_sync_recv_disable(struct bt_le_per_adv_sync *per_adv_sync); 2153 int bt_le_per_adv_sync_transfer(const struct bt_le_per_adv_sync *per_adv_sync, 2815 int bt_le_per_adv_sync_subevent(struct bt_le_per_adv_sync *per_adv_sync, 2855 int bt_le_per_adv_set_response_data(struct bt_le_per_adv_sync *per_adv_sync,
|
| /Zephyr-latest/tests/bsim/bluetooth/host/adv/periodic/ |
| D | CMakeLists.txt | 15 src/per_adv_sync.c
|
| /Zephyr-latest/tests/bsim/bluetooth/host/adv/periodic/src/ |
| D | per_adv_sync.c | 367 static const struct bst_test_instance per_adv_sync[] = { variable 407 return bst_add_tests(tests, per_adv_sync); in test_per_adv_sync()
|
| /Zephyr-latest/subsys/bluetooth/audio/shell/ |
| D | bap_broadcast_assistant.c | 164 struct bt_le_per_adv_sync *per_adv_sync = NULL; in bap_broadcast_assistant_recv_state_cb() local 171 per_adv_sync = per_adv_syncs[i]; in bap_broadcast_assistant_recv_state_cb() 177 if (per_adv_sync && IS_ENABLED(CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER)) { in bap_broadcast_assistant_recv_state_cb() 180 err = bt_le_per_adv_sync_transfer(per_adv_sync, in bap_broadcast_assistant_recv_state_cb()
|
| D | bap.c | 3424 struct bt_le_per_adv_sync *per_adv_sync = per_adv_syncs[selected_per_adv_sync]; in cmd_create_broadcast_sink() local 3441 if (per_adv_sync == NULL) { in cmd_create_broadcast_sink() 3466 err = bt_bap_broadcast_sink_create(per_adv_sync, (uint32_t)broadcast_id, in cmd_create_broadcast_sink()
|
| /Zephyr-latest/samples/bluetooth/periodic_sync_rsp/src/ |
| D | main.c | 83 int bt_le_per_adv_set_response_data(struct bt_le_per_adv_sync *per_adv_sync,
|
| /Zephyr-latest/subsys/bluetooth/host/shell/ |
| D | bt.c | 2736 struct bt_le_per_adv_sync *per_adv_sync = per_adv_syncs[selected_per_adv_sync]; in cmd_per_adv_sync_create() local 2741 if (per_adv_sync != NULL) { in cmd_per_adv_sync_create() 2804 struct bt_le_per_adv_sync *per_adv_sync = per_adv_syncs[selected_per_adv_sync]; in cmd_per_adv_sync_delete() local 2807 if (!per_adv_sync) { in cmd_per_adv_sync_delete() 2812 err = bt_le_per_adv_sync_delete(per_adv_sync); in cmd_per_adv_sync_delete() 2963 struct bt_le_per_adv_sync *per_adv_sync; in cmd_per_adv_sync_transfer() local 2976 per_adv_sync = per_adv_syncs[index]; in cmd_per_adv_sync_transfer() 2977 if (!per_adv_sync) { in cmd_per_adv_sync_transfer() 2981 err = bt_le_per_adv_sync_transfer(per_adv_sync, default_conn, 0); in cmd_per_adv_sync_transfer()
|
| /Zephyr-latest/doc/releases/ |
| D | release-notes-2.6.rst | 1583 * :github:`33612` - Add support to get adv address of a per_adv_sync object and lookup per_adv_sync…
|