Lines Matching refs:conn_handle

42 	uint16_t conn_handle;  member
64 static struct net_buf *alloc_reassembly_buf(uint16_t conn_handle) in alloc_reassembly_buf() argument
76 buf_meta_data->conn_handle = conn_handle; in alloc_reassembly_buf()
79 LOG_DBG("Allocated new reassembly buffer for conn handle %d", conn_handle); in alloc_reassembly_buf()
104 LOG_DBG("De-allocating reassembly buffer for conn handle %d", buf_meta_data->conn_handle); in free_reassembly_buf()
119 static struct net_buf *get_reassembly_buf(uint16_t conn_handle, bool allocate) in get_reassembly_buf() argument
128 if (buf_meta_data->conn_handle == conn_handle) { in get_reassembly_buf()
133 return allocate ? alloc_reassembly_buf(conn_handle) : NULL; in get_reassembly_buf()
165 static struct net_buf *start_reassembly(uint16_t conn_handle, const uint8_t *steps, in start_reassembly() argument
168 struct net_buf *reassembly_buf = get_reassembly_buf(conn_handle, true); in start_reassembly()
193 static struct net_buf *continue_reassembly(uint16_t conn_handle, const uint8_t *steps, in continue_reassembly() argument
196 struct net_buf *reassembly_buf = get_reassembly_buf(conn_handle, false); in continue_reassembly()
326 conn = bt_conn_lookup_handle(sys_le16_to_cpu(evt->conn_handle), BT_CONN_TYPE_LE); in bt_hci_le_cs_read_remote_supported_capabilities_complete()
496 conn = bt_conn_lookup_handle(sys_le16_to_cpu(evt->conn_handle), BT_CONN_TYPE_LE); in bt_hci_le_cs_read_remote_fae_table_complete()
647 uint16_t conn_handle = sys_le16_to_cpu(evt->conn_handle); in bt_hci_le_cs_subevent_result() local
650 if (conn_handle == BT_HCI_LE_CS_TEST_CONN_HANDLE) { in bt_hci_le_cs_subevent_result()
658 conn = bt_conn_lookup_handle(conn_handle, BT_CONN_TYPE_LE); in bt_hci_le_cs_subevent_result()
683 reassembly_buf = start_reassembly(conn_handle, evt->steps, buf->len); in bt_hci_le_cs_subevent_result()
736 reassembly_buf = get_reassembly_buf(conn_handle, false); in bt_hci_le_cs_subevent_result()
747 uint16_t conn_handle; in bt_hci_le_cs_subevent_result_continue() local
755 conn_handle = sys_le16_to_cpu(evt->conn_handle); in bt_hci_le_cs_subevent_result_continue()
758 if (conn_handle == BT_HCI_LE_CS_TEST_CONN_HANDLE) { in bt_hci_le_cs_subevent_result_continue()
766 conn = bt_conn_lookup_handle(conn_handle, BT_CONN_TYPE_LE); in bt_hci_le_cs_subevent_result_continue()
775 reassembly_buf = continue_reassembly(conn_handle, evt->steps, step_data_len); in bt_hci_le_cs_subevent_result_continue()