Lines Matching refs:unacked
125 } unacked[2]; member
175 for (int i = 0; i < ARRAY_SIZE(link.tx.unacked); i++) { in send_unacked()
176 if (link.tx.unacked[i].adv != NULL) { in send_unacked()
180 link.tx.unacked[i].adv = adv; in send_unacked()
181 link.tx.unacked[i].cb = cb; in send_unacked()
182 link.tx.unacked[i].cb_data = cb_data; in send_unacked()
203 bool unacked = (bool)user_data; in delayed_adv_send_end() local
204 struct unacked_adv_ctx *unacked_adv = &link.tx.unacked[link.tx.last_unacked]; in delayed_adv_send_end()
206 if (unacked && unacked_adv->adv != NULL) { in delayed_adv_send_end()
236 for (i = 0; i < ARRAY_SIZE(link.tx.unacked); i++) { in tx_work_handler()
237 int idx = (i + link.tx.last_unacked) % ARRAY_SIZE(link.tx.unacked); in tx_work_handler()
238 struct unacked_adv_ctx *unacked = &link.tx.unacked[idx]; in tx_work_handler() local
240 if (!unacked->adv) { in tx_work_handler()
245 bt_mesh_adv_send(unacked->adv, &delayed_adv_send_cb, (void *)true); in tx_work_handler()