Home
last modified time | relevance | path

Searched refs:conn_handle (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_iso_types.h10 #define LL_BIS_ADV_IDX_FROM_HANDLE(conn_handle) \ argument
11 ((conn_handle) - (LL_BIS_ADV_HANDLE_BASE))
14 #define IS_ADV_ISO_HANDLE(conn_handle) \ argument
15 (((conn_handle) >= (LL_BIS_ADV_HANDLE_BASE)) && \
16 ((conn_handle) <= ((LL_BIS_ADV_HANDLE_BASE) + \
19 #define IS_ADV_ISO_HANDLE(conn_handle) \ argument
20 ((conn_handle) <= ((LL_BIS_ADV_HANDLE_BASE) + \
24 #define LL_BIS_ADV_IDX_FROM_HANDLE(conn_handle) 0U argument
25 #define IS_ADV_ISO_HANDLE(conn_handle) 0U argument
31 #define LL_BIS_SYNC_IDX_FROM_HANDLE(conn_handle) \ argument
[all …]
Dull_sync_internal.h15 void ull_sync_create_from_sync_transfer(uint16_t conn_handle, uint16_t service_data,
Dull_sync_types.h112 uint16_t conn_handle; member
Dull_sync.c317 se_past->conn_handle = ll_conn_handle_get(conn); in ull_sync_setup_from_sync_transfer()
669 uint8_t ll_sync_transfer(uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle) in ll_sync_transfer() argument
674 conn = ll_connected_get(conn_handle); in ll_sync_transfer()
708 uint8_t ll_past_param(uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t timeout, in ll_past_param() argument
713 conn = ll_connected_get(conn_handle); in ll_past_param()
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c97 uint16_t conn_handle; in ZTEST() local
99 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST()
109 err = ll_feature_req_send(conn_handle); in ZTEST()
130 uint16_t conn_handle; in ZTEST() local
135 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST()
137 err = ll_feature_req_send(conn_handle + 1); in ZTEST()
148 err = ll_feature_req_send(conn_handle); in ZTEST()
155 uint16_t conn_handle; in ZTEST() local
170 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST()
176 err = ll_version_ind_send(conn_handle); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_feature_exchange/src/
Dmain_hci.c102 uint16_t conn_handle; in ZTEST() local
105 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST()
115 err = ll_feature_req_send(conn_handle); in ZTEST()
149 uint16_t conn_handle; in ZTEST() local
154 conn_handle = ll_conn_handle_get(conn_from_pool); in ZTEST()
156 err = ll_feature_req_send(conn_handle + 1); in ZTEST()
169 err = ll_feature_req_send(conn_handle); in ZTEST()
/Zephyr-latest/tests/bluetooth/df/common/src/
Dbt_conn_common.c64 void ut_bt_set_peer_features(uint16_t conn_handle, uint64_t features) in ut_bt_set_peer_features() argument
68 conn = ll_conn_get(conn_handle); in ut_bt_set_peer_features()
75 void ut_bt_set_periph_latency(uint16_t conn_handle, uint16_t periph_latency) in ut_bt_set_periph_latency() argument
79 conn = ll_conn_get(conn_handle); in ut_bt_set_periph_latency()
/Zephyr-latest/tests/bluetooth/df/common/include/
Dbt_conn_common.h9 void ut_bt_set_peer_features(uint16_t conn_handle, uint64_t features);
10 void ut_bt_set_periph_latency(uint16_t conn_handle, uint16_t periph_latency);
/Zephyr-latest/subsys/bluetooth/host/
Dcs.c26 uint16_t conn_handle; member
48 static struct net_buf *alloc_reassembly_buf(uint16_t conn_handle) in alloc_reassembly_buf() argument
60 buf_meta_data->conn_handle = conn_handle; in alloc_reassembly_buf()
63 LOG_DBG("Allocated new reassembly buffer for conn handle %d", conn_handle); in alloc_reassembly_buf()
88 LOG_DBG("De-allocating reassembly buffer for conn handle %d", buf_meta_data->conn_handle); in free_reassembly_buf()
103 static struct net_buf *get_reassembly_buf(uint16_t conn_handle, bool allocate) in get_reassembly_buf() argument
112 if (buf_meta_data->conn_handle == conn_handle) { in get_reassembly_buf()
117 return allocate ? alloc_reassembly_buf(conn_handle) : NULL; in get_reassembly_buf()
149 static struct net_buf *start_reassembly(uint16_t conn_handle, const uint8_t *steps, in start_reassembly() argument
152 struct net_buf *reassembly_buf = get_reassembly_buf(conn_handle, true); in start_reassembly()
[all …]
Ddirection.c683 conn = bt_conn_lookup_handle(sys_le16_to_cpu(evt->conn_handle), BT_CONN_TYPE_LE); in hci_df_prepare_connection_iq_report()
686 sys_le16_to_cpu(evt->conn_handle)); in hci_df_prepare_connection_iq_report()
735 conn = bt_conn_lookup_handle(sys_le16_to_cpu(evt->conn_handle), BT_CONN_TYPE_LE); in hci_df_vs_prepare_connection_iq_report()
738 sys_le16_to_cpu(evt->conn_handle)); in hci_df_vs_prepare_connection_iq_report()
860 conn = bt_conn_lookup_handle(sys_le16_to_cpu(evt->conn_handle), BT_CONN_TYPE_LE); in hci_df_prepare_conn_cte_req_failed()
863 sys_le16_to_cpu(evt->conn_handle)); in hci_df_prepare_conn_cte_req_failed()
Dadv.c2199 cp->conn_handle = sys_cpu_to_le16(conn->handle); in bt_le_per_adv_set_info_transfer()
2215 uint16_t conn_handle; in bt_hci_le_adv_set_terminated() local
2222 conn_handle = sys_le16_to_cpu(evt->conn_handle); in bt_hci_le_adv_set_terminated()
2226 evt->adv_handle, conn_handle, evt->num_completed_ext_adv_evts); in bt_hci_le_adv_set_terminated()
2245 bt_dev.cached_conn_complete[i].evt.handle == evt->conn_handle) { in bt_hci_le_adv_set_terminated()
2270 struct bt_conn *conn = bt_conn_lookup_handle(conn_handle, BT_CONN_TYPE_LE); in bt_hci_le_adv_set_terminated()
/Zephyr-latest/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_set_rx_params.h26 int send_set_conn_cte_rx_params(uint16_t conn_handle,
Dtest_cte_req_enable.c60 int send_conn_cte_req_enable(uint16_t conn_handle, in send_conn_cte_req_enable() argument
73 cp->handle = sys_cpu_to_le16(conn_handle); in send_conn_cte_req_enable()
Dtest_cte_set_rx_params.c43 int send_set_conn_cte_rx_params(uint16_t conn_handle, in send_set_conn_cte_rx_params() argument
58 cp->handle = sys_cpu_to_le16(conn_handle); in send_set_conn_cte_rx_params()
/Zephyr-latest/tests/bluetooth/df/connection_cte_tx_params/src/
Dtest_set_conn_cte_tx_params.c55 static int send_set_conn_cte_tx_params(uint16_t conn_handle, in send_set_conn_cte_tx_params() argument
71 cp->handle = sys_cpu_to_le16(conn_handle); in send_set_conn_cte_tx_params()
/Zephyr-latest/include/zephyr/bluetooth/
Dhci.h114 int bt_hci_get_conn_handle(const struct bt_conn *conn, uint16_t *conn_handle);
Dhci_types.h2005 uint16_t conn_handle; member
2012 uint16_t conn_handle; member
2017 uint16_t conn_handle; member
2024 uint16_t conn_handle; member
2040 uint16_t conn_handle; member
2049 uint16_t conn_handle; member
2905 uint16_t conn_handle; member
3227 uint16_t conn_handle; member
3277 uint16_t conn_handle; member
3300 uint16_t conn_handle; member
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c54 static uint16_t conn_handle; variable
135 conn_handle = sys_get_le16(&buf->data[4]); in handle_meta_event()
136 LOG_DBG("connected: handle: %d", conn_handle); in handle_meta_event()
426 uint16_t handle = conn_handle; in disconnect()
466 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c53 static uint16_t conn_handle; variable
136 conn_handle = sys_get_le16(&buf->data[4]); in handle_meta_event()
137 LOG_DBG("connected: handle: %d", conn_handle); in handle_meta_event()
478 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c57 static uint16_t conn_handle; variable
140 conn_handle = sys_get_le16(&buf->data[4]); in handle_meta_event()
141 LOG_DBG("connected: handle: %d", conn_handle); in handle_meta_event()
500 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c61 static uint16_t conn_handle; variable
144 conn_handle = sys_get_le16(&buf->data[4]); in handle_meta_event()
145 LOG_DBG("connected: handle: %d", conn_handle); in handle_meta_event()
524 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c45 static uint16_t conn_handle; variable
129 conn_handle = sys_get_le16(&buf->data[4]); in handle_meta_event()
130 LOG_DBG("connected: handle: %d", conn_handle); in handle_meta_event()
496 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c47 static uint16_t conn_handle; variable
142 conn_handle = evt->handle; in handle_meta_event()
143 LOG_DBG("connected: handle: %d interval %d", conn_handle, evt->interval); in handle_meta_event()
524 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn_handle, flags)); in send_acl()
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h138 uint8_t ll_sync_transfer(uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle);
139 uint8_t ll_adv_sync_set_info_transfer(uint16_t conn_handle, uint16_t service_data,
141 uint8_t ll_past_param(uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t timeout,
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c3170 sep->conn_handle = sys_cpu_to_le16(iq_report->rx.hdr.handle); in le_df_connection_iq_report()
3239 sep->conn_handle = sys_cpu_to_le16(handle); in le_df_cte_req_failed()
4102 uint16_t conn_handle, conn_handle_le16; local
4107 conn_handle_le16 = cmd->conn_handle;
4109 conn_handle = sys_le16_to_cpu(cmd->conn_handle);
4113 status = ll_sync_transfer(conn_handle, service_data, sync_handle);
4116 rp->conn_handle = conn_handle_le16;
4124 uint16_t conn_handle, conn_handle_le16; local
4129 conn_handle_le16 = cmd->conn_handle;
4131 conn_handle = sys_le16_to_cpu(cmd->conn_handle);
[all …]

12