Searched refs:L2CAP_CHANNELS (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/ |
D | main_l2cap_ecred.c | 26 #define L2CAP_CHANNELS 2 macro 35 NET_BUF_POOL_FIXED_DEFINE(rx_data_pool, L2CAP_CHANNELS, BT_L2CAP_BUF_SIZE(DATA_BUF_SIZE), 8, NULL); 55 static struct channel channels[L2CAP_CHANNELS]; 63 static K_THREAD_STACK_ARRAY_DEFINE(stack_area, L2CAP_CHANNELS, T_STACK_SIZE); 64 static K_SEM_DEFINE(chan_conn_sem, 0, L2CAP_CHANNELS); 67 static K_SEM_DEFINE(sent_sem, 0, L2CAP_CHANNELS); 71 for (int i = 0; i < L2CAP_CHANNELS; i++) { in init_workqs() 143 if (k_sem_count_get(&chan_conn_sem) == L2CAP_CHANNELS) { in chan_connected_cb() 206 for (int idx = 0; idx < L2CAP_CHANNELS; idx++) { in get_free_channel() 407 for (int k = 0; k < L2CAP_CHANNELS; k++) { in send_sdu_concurrently() [all …]
|