Home
last modified time | relevance | path

Searched refs:conn_infos (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c94 static struct conn_info conn_infos[CONFIG_BT_MAX_CONN] = {0}; variable
129 for (size_t i = 0; i < ARRAY_SIZE(conn_infos); i++) { in get_new_conn_info_ref()
130 if (bt_addr_le_eq(&conn_infos[i].addr, addr)) { in get_new_conn_info_ref()
131 return &conn_infos[i]; in get_new_conn_info_ref()
136 for (size_t i = 0; i < ARRAY_SIZE(conn_infos); i++) { in get_new_conn_info_ref()
137 if (conn_infos[i].conn_ref == NULL) { in get_new_conn_info_ref()
138 bt_addr_le_copy(&conn_infos[i].addr, addr); in get_new_conn_info_ref()
140 return &conn_infos[i]; in get_new_conn_info_ref()
149 for (size_t i = 0; i < ARRAY_SIZE(conn_infos); i++) { in get_conn_info_ref()
150 if (conn_ref == conn_infos[i].conn_ref) { in get_conn_info_ref()
[all …]