/Zephyr-latest/tests/bluetooth/host/id/bt_id_del/src/ |
D | main.c | 60 bt_dev.le.rl_size = 0; in ZTEST() 61 bt_dev.le.rl_entries = 1; in ZTEST() 62 expected_rl_entries = bt_dev.le.rl_entries - 1; in ZTEST() 69 zassert_equal(expected_rl_entries, bt_dev.le.rl_entries, "Incorrect entries count"); in ZTEST() 89 bt_dev.le.rl_size = 1; in ZTEST() 90 bt_dev.le.rl_entries = 3; in ZTEST() 91 expected_rl_entries = bt_dev.le.rl_entries - 1; in ZTEST() 98 zassert_equal(expected_rl_entries, bt_dev.le.rl_entries, "Incorrect entries count"); in ZTEST() 121 bt_dev.le.rl_size = 1; in ZTEST() 122 bt_dev.le.rl_entries = 1; in ZTEST() [all …]
|
D | test_suite_invalid_inputs.c | 48 bt_dev.le.rl_size = 0; in ZTEST() 49 bt_dev.le.rl_entries = 0; in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_add/src/ |
D | main.c | 57 bt_dev.le.rl_size = 0; in ZTEST() 58 bt_dev.le.rl_entries = 0; in ZTEST() 59 expected_rl_entries = bt_dev.le.rl_entries + 1; in ZTEST() 65 zassert_equal(expected_rl_entries, bt_dev.le.rl_entries, "Incorrect entries count"); in ZTEST() 84 bt_dev.le.rl_size = 1; in ZTEST() 85 bt_dev.le.rl_entries = 2; in ZTEST() 86 expected_rl_entries = bt_dev.le.rl_entries + 1; in ZTEST() 92 zassert_equal(expected_rl_entries, bt_dev.le.rl_entries, "Incorrect entries count"); in ZTEST() 115 bt_dev.le.rl_size = 1; in ZTEST() 116 bt_dev.le.rl_entries = 1; in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_l2cap.c | 37 struct bt_l2cap_le_chan le; member 58 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in seg_recv_cb() 91 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in recv_cb() 117 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in connected_cb() 125 ev.mtu_remote = sys_cpu_to_le16(chan->le.tx.mtu); in connected_cb() 126 ev.mps_remote = sys_cpu_to_le16(chan->le.tx.mps); in connected_cb() 127 ev.mtu_local = sys_cpu_to_le16(chan->le.rx.mtu); in connected_cb() 128 ev.mps_local = sys_cpu_to_le16(chan->le.rx.mps); in connected_cb() 129 bt_addr_le_copy(&ev.address, info.le.dst); in connected_cb() 146 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in disconnected_cb() [all …]
|
D | btp_gap.c | 95 if (bt_addr_le_eq(info.le.dst, &cars[i].addr)) { in read_car_cb() 120 bt_addr_le_copy(&ev.address, info.le.dst); in le_connected() 121 ev.interval = sys_cpu_to_le16(info.le.interval); in le_connected() 122 ev.latency = sys_cpu_to_le16(info.le.latency); in le_connected() 123 ev.timeout = sys_cpu_to_le16(info.le.timeout); in le_connected() 371 bt_addr_le_to_str(info.le.dst, addr, sizeof(addr)); in oob_data_request() 395 bt_addr_le_copy(&oob_sc_remote.addr, info.le.remote); in oob_data_request() 399 !bt_addr_le_eq(info.le.local, &oob_sc_local.addr)) { in oob_data_request() 400 bt_addr_le_to_str(info.le.local, addr, sizeof(addr)); in oob_data_request()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_core.c | 677 phy->conn_interval_min = sys_cpu_to_le16(conn->le.interval_min); in set_phy_conn_param() 678 phy->conn_interval_max = sys_cpu_to_le16(conn->le.interval_max); in set_phy_conn_param() 679 phy->conn_latency = sys_cpu_to_le16(conn->le.latency); in set_phy_conn_param() 680 phy->supervision_timeout = sys_cpu_to_le16(conn->le.timeout); in set_phy_conn_param() 725 const bt_addr_le_t *peer_addr = &conn->le.dst; in bt_le_create_conn_ext() 728 if (bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_le_create_conn_ext() 730 peer_addr = &conn->le.resp_addr; in bt_le_create_conn_ext() 792 bt_addr_le_copy(&cp->peer_addr, &conn->le.dst); in bt_le_create_conn_synced() 846 const bt_addr_le_t *peer_addr = &conn->le.dst; in bt_le_create_conn_legacy() 849 if (bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_le_create_conn_legacy() [all …]
|
D | conn.c | 200 if (conn->type == BT_CONN_TYPE_BR || !bt_dev.le.acl_mtu) { in bt_conn_get_pkts() 210 if (bt_dev.le.iso_mtu && bt_dev.le.iso_limit != 0) { in bt_conn_get_pkts() 211 return &bt_dev.le.iso_pkts; in bt_conn_get_pkts() 219 if (bt_dev.le.acl_mtu) { in bt_conn_get_pkts() 220 return &bt_dev.le.acl_pkts; in bt_conn_get_pkts() 610 (conn->type != BT_CONN_TYPE_ISO && !bt_dev.le.acl_mtu)) { in conn_mtu() 616 return bt_dev.le.iso_mtu; in conn_mtu() 620 return bt_dev.le.acl_mtu; in conn_mtu() 859 sys_slist_append(&bt_dev.le.conn_ready, in bt_conn_data_ready() 906 sys_snode_t *node = sys_slist_peek_head(&bt_dev.le.conn_ready); in get_conn_ready() [all …]
|
D | smp.c | 381 if (!conn->le.keys) { in smp_keys_check() 382 conn->le.keys = bt_keys_find(BT_KEYS_LTK_P256, in smp_keys_check() 383 conn->id, &conn->le.dst); in smp_keys_check() 384 if (!conn->le.keys) { in smp_keys_check() 385 conn->le.keys = bt_keys_find(BT_KEYS_LTK, in smp_keys_check() 387 &conn->le.dst); in smp_keys_check() 391 if (!conn->le.keys || in smp_keys_check() 392 !(conn->le.keys->keys & (BT_KEYS_LTK | BT_KEYS_LTK_P256))) { in smp_keys_check() 397 !(conn->le.keys->flags & BT_KEYS_AUTHENTICATED)) { in smp_keys_check() 402 !((conn->le.keys->flags & BT_KEYS_AUTHENTICATED) && in smp_keys_check() [all …]
|
D | id.c | 176 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features))) { in bt_id_set_adv_random_addr() 426 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features))) { in bt_id_set_adv_private_addr() 565 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in le_adv_rpa_timeout() 621 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features))) { in le_update_private_addr() 645 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in le_update_private_addr() 712 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features))) { in bt_id_scan_random_addr_check() 761 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features))) { in bt_id_adv_random_addr_check() 1011 if (!bt_dev.le.rl_size || bt_dev.le.rl_entries > bt_dev.le.rl_size) { in bt_id_add() 1012 bt_dev.le.rl_entries++; in bt_id_add() 1056 if (bt_dev.le.rl_entries) { in bt_id_add() [all …]
|
D | adv.c | 384 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in bt_le_adv_set_enable() 394 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in valid_adv_ext_param() 666 if (total_len_bytes > bt_dev.le.max_adv_data_len) { in hci_set_ad_ext() 668 bt_dev.le.max_adv_data_len); in hci_set_ad_ext() 688 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in set_ad() 700 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in set_sd() 1379 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in bt_le_adv_start() 1430 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in bt_le_adv_stop() 1446 BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) && in bt_le_adv_stop() 1766 if (!BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in bt_le_ext_adv_delete() [all …]
|
D | scan.c | 178 if (IS_ENABLED(CONFIG_BT_EXT_ADV) && BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in cmd_le_set_scan_enable() 373 if (BT_FEAT_LE_PHY_CODED(bt_dev.le.features)) { in select_scan_params() 387 if (IS_ENABLED(CONFIG_BT_EXT_ADV) && BT_DEV_FEAT_LE_EXT_ADV(bt_dev.le.features)) { in start_scan() 486 if (flag == BT_LE_SCAN_USER_EXPLICIT_SCAN && !BT_LE_STATES_SCAN_INIT(bt_dev.le.states) && in scan_check_if_state_allowed() 543 if (!BT_LE_STATES_SCAN_INIT(bt_dev.le.states) && in check_pending_conn() 568 bt_addr_le_copy(&conn->le.resp_addr, addr); in check_pending_conn() 1870 if (!BT_FEAT_LE_EXT_PER_ADV(bt_dev.le.features)) { in bt_le_per_adv_sync_create() 2032 if (!BT_FEAT_LE_EXT_PER_ADV(bt_dev.le.features)) { in bt_le_per_adv_sync_delete() 2078 if (!BT_FEAT_LE_EXT_PER_ADV(bt_dev.le.features)) { in bt_le_set_per_adv_recv_enable() 2146 if (!BT_FEAT_LE_EXT_PER_ADV(bt_dev.le.features)) { in bt_le_per_adv_sync_transfer() [all …]
|
D | direction.c | 99 if (!BT_FEAT_LE_ANT_SWITCH_TX_AOD(bt_dev.le.features)) { in hci_df_set_cl_cte_tx_params() 242 !BT_FEAT_LE_ANT_SWITCH_RX_AOA(bt_dev.le.features)) { in valid_cte_rx_common_params() 483 !BT_FEAT_LE_ANT_SWITCH_TX_AOD(bt_dev.le.features))) { in valid_conn_cte_tx_params() 968 if (!BT_FEAT_LE_CONNECTIONLESS_CTE_TX(bt_dev.le.features)) { in bt_df_set_adv_cte_tx_param() 1027 if (!BT_FEAT_LE_CONNECTIONLESS_CTE_RX(bt_dev.le.features)) { in bt_df_set_per_adv_sync_cte_rx_enable() 1070 if (!BT_FEAT_LE_RX_CTE(bt_dev.le.features)) { in bt_df_set_conn_cte_rx_enable() 1136 if (!BT_FEAT_LE_CONNECTION_CTE_REQ(bt_dev.le.features)) { in bt_df_set_conn_cte_req_enable() 1184 if (!BT_FEAT_LE_CONNECTION_CTE_RESP(bt_dev.le.features)) { in bt_df_set_conn_cte_rsp_enable()
|
D | gatt.c | 382 if (bt_addr_le_is_bonded(conn->id, &conn->le.dst)) { in sc_clear() 385 err = bt_gatt_clear_sc(conn->id, &conn->le.dst); in sc_clear() 392 cfg = find_sc_cfg(conn->id, &conn->le.dst); in sc_clear() 477 sc_save(conn->id, &conn->le.dst, 0, 0); in sc_ccc_cfg_write() 690 bt_addr_le_copy(&cfg->peer, &conn->le.dst); in cf_write() 1023 if (!bt_addr_le_is_bonded(conn->id, &conn->le.dst)) { in remove_cf_cfg() 1027 bt_addr_le_copy(&cfg->peer, &conn->le.dst); in remove_cf_cfg() 1141 bool is_bonded = bt_addr_le_is_bonded(conn->id, &conn->le.dst); in bt_gatt_identity_resolved() 1147 bt_gatt_store_ccc(conn->id, &conn->le.dst); in bt_gatt_identity_resolved() 1156 bt_gatt_store_cf(conn->id, &conn->le.dst); in bt_gatt_identity_resolved() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/ |
D | main_l2cap_ecred.c | 45 struct bt_l2cap_le_chan le; member 88 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_recv_cb() 121 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_sent_cb() 133 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_connected_cb() 137 LOG_DBG("tx.mtu %d, tx.mps: %d, rx.mtu: %d, rx.mps %d", sys_cpu_to_le16(chan->le.tx.mtu), in chan_connected_cb() 138 sys_cpu_to_le16(chan->le.tx.mps), sys_cpu_to_le16(chan->le.rx.mtu), in chan_connected_cb() 139 sys_cpu_to_le16(chan->le.rx.mps)); in chan_connected_cb() 153 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_disconnected_cb() 170 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_status_cb() 179 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_released_cb() [all …]
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/ |
D | test_suite_full_list_overwrite_oldest.c | 62 bt_addr_le_copy(&conn.le.dst, (const bt_addr_le_t *)BT_ADDR_LE_ANY); in bt_conn_foreach_key_slot_0_in_use_custom_fake() 63 bt_conn_get_dst_fake.return_val = &conn.le.dst; in bt_conn_foreach_key_slot_0_in_use_custom_fake() 69 bt_addr_le_copy(&conn.le.dst, testing_id_addr_pair_lut[0].addr); in bt_conn_foreach_key_slot_0_in_use_custom_fake() 70 bt_conn_get_dst_fake.return_val = &conn.le.dst; in bt_conn_foreach_key_slot_0_in_use_custom_fake() 83 bt_addr_le_copy(&conn.le.dst, testing_id_addr_pair_lut[i].addr); in bt_conn_foreach_all_keys_in_use_custom_fake() 84 bt_conn_get_dst_fake.return_val = &conn.le.dst; in bt_conn_foreach_all_keys_in_use_custom_fake() 98 bt_addr_le_copy(&conn.le.dst, testing_id_addr_pair_lut[i].addr); in bt_conn_foreach_no_keys_in_use_custom_fake() 99 bt_conn_get_dst_fake.return_val = &conn.le.dst; in bt_conn_foreach_no_keys_in_use_custom_fake()
|
/Zephyr-latest/doc/connectivity/bluetooth/ |
D | index.rst | 19 bluetooth-le-host.rst 20 api/audio/bluetooth-le-audio-arch.rst
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/src/ |
D | peripheral.c | 32 ASSERT(bt_addr_le_eq(info_a.le.dst, info_b.le.dst), in verify_equal_address()
|
/Zephyr-latest/arch/xtensa/ |
D | CMakeLists.txt | 4 set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-xtensa-le)
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_adv_own_addr/src/ |
D | main.c | 72 bt_dev.le.features[(BT_LE_FEAT_BIT_PRIVACY) >> 3] |= BIT((BT_LE_FEAT_BIT_PRIVACY)&7); in ZTEST() 124 bt_dev.le.features[(BT_LE_FEAT_BIT_PRIVACY) >> 3] |= BIT((BT_LE_FEAT_BIT_PRIVACY)&7); in ZTEST()
|
D | test_suite_invalid_inputs.c | 77 bt_dev.le.features[(BT_LE_FEAT_BIT_PRIVACY) >> 3] &= ~BIT((BT_LE_FEAT_BIT_PRIVACY)&7); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 697 bt_addr_le_to_str(info.le.dst, str, sizeof(str) - 2); 719 bt_addr_le_to_str(info.le.dst, addr, len); in conn_addr_str() 803 bt_addr_le_to_str(info.le.dst, addr_str, sizeof(addr_str)); in disconnected_set_new_default_conn_cb() 917 sys_memcpy_swap(features, remote_info->le.features, in remote_info_available() 3508 print_le_addr("Remote", info.le.dst); in cmd_info() 3509 print_le_addr("Local", info.le.src); in cmd_info() 3510 print_le_addr("Remote on-air", info.le.remote); in cmd_info() 3511 print_le_addr("Local on-air", info.le.local); in cmd_info() 3514 info.le.interval, in cmd_info() 3515 BT_CONN_INTERVAL_TO_US(info.le.interval)); in cmd_info() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_create_conn_own_addr/src/ |
D | main.c | 152 bt_dev.le.features[(BT_LE_FEAT_BIT_PRIVACY) >> 3] |= BIT((BT_LE_FEAT_BIT_PRIVACY)&7); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_scan_own_addr/src/ |
D | main.c | 171 bt_dev.le.features[(BT_LE_FEAT_BIT_PRIVACY) >> 3] |= BIT((BT_LE_FEAT_BIT_PRIVACY)&7); in ZTEST()
|
/Zephyr-latest/boards/infineon/cyw920829m2evk_02/doc/ |
D | index.rst | 140 …/cms/en/product/wireless-connectivity/airoc-bluetooth-le-bluetooth-multiprotocol/airoc-bluetooth-l… 146 …/cms/en/product/wireless-connectivity/airoc-bluetooth-le-bluetooth-multiprotocol/airoc-bluetooth-l…
|
/Zephyr-latest/arch/arm64/core/ |
D | isr_wrapper.S | 73 b.le oob
|