Searched refs:per_adv_sync (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/ |
D | scan.c | 920 static void per_adv_sync_delete(struct bt_le_per_adv_sync *per_adv_sync) in per_adv_sync_delete() argument 922 atomic_clear(per_adv_sync->flags); in per_adv_sync_delete() 927 struct bt_le_per_adv_sync *per_adv_sync = NULL; in per_adv_sync_new() local 932 per_adv_sync = &per_adv_sync_pool[i]; in per_adv_sync_new() 937 if (!per_adv_sync) { in per_adv_sync_new() 941 (void)memset(per_adv_sync, 0, sizeof(*per_adv_sync)); in per_adv_sync_new() 942 atomic_set_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CREATED); in per_adv_sync_new() 945 net_buf_simple_init_with_data(&per_adv_sync->reassembly, in per_adv_sync_new() 946 per_adv_sync->reassembly_data, in per_adv_sync_new() 948 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/tests/bsim/bluetooth/host/adv/periodic/ |
D | CMakeLists.txt | 12 src/per_adv_sync.c
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | bluetooth.h | 1817 uint8_t bt_le_per_adv_sync_get_index(struct bt_le_per_adv_sync *per_adv_sync); 1856 int bt_le_per_adv_sync_get_info(struct bt_le_per_adv_sync *per_adv_sync, 1905 int bt_le_per_adv_sync_delete(struct bt_le_per_adv_sync *per_adv_sync); 1932 int bt_le_per_adv_sync_recv_enable(struct bt_le_per_adv_sync *per_adv_sync); 1943 int bt_le_per_adv_sync_recv_disable(struct bt_le_per_adv_sync *per_adv_sync); 2026 int bt_le_per_adv_sync_transfer(const struct bt_le_per_adv_sync *per_adv_sync, 2690 int bt_le_per_adv_sync_subevent(struct bt_le_per_adv_sync *per_adv_sync, 2730 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/src/ |
D | per_adv_sync.c | 365 static const struct bst_test_instance per_adv_sync[] = { variable 415 return bst_add_tests(tests, per_adv_sync); in test_per_adv_sync()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 167 struct bt_le_per_adv_sync *per_adv_sync = NULL; in bap_broadcast_assistant_recv_state_cb() local 174 per_adv_sync = per_adv_syncs[i]; in bap_broadcast_assistant_recv_state_cb() 180 if (per_adv_sync && IS_ENABLED(CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER)) { in bap_broadcast_assistant_recv_state_cb() 183 err = bt_le_per_adv_sync_transfer(per_adv_sync, in bap_broadcast_assistant_recv_state_cb()
|
D | bap.c | 3434 struct bt_le_per_adv_sync *per_adv_sync = per_adv_syncs[selected_per_adv_sync]; in cmd_create_broadcast_sink() local 3451 if (per_adv_sync == NULL) { in cmd_create_broadcast_sink() 3476 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 | 2741 struct bt_le_per_adv_sync *per_adv_sync = per_adv_syncs[selected_per_adv_sync]; in cmd_per_adv_sync_create() local 2746 if (per_adv_sync != NULL) { in cmd_per_adv_sync_create() 2809 struct bt_le_per_adv_sync *per_adv_sync = per_adv_syncs[selected_per_adv_sync]; in cmd_per_adv_sync_delete() local 2812 if (!per_adv_sync) { in cmd_per_adv_sync_delete() 2817 err = bt_le_per_adv_sync_delete(per_adv_sync); in cmd_per_adv_sync_delete() 2968 struct bt_le_per_adv_sync *per_adv_sync; in cmd_per_adv_sync_transfer() local 2981 per_adv_sync = per_adv_syncs[index]; in cmd_per_adv_sync_transfer() 2982 if (!per_adv_sync) { in cmd_per_adv_sync_transfer() 2986 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…
|