Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Dtransport.c80 uint8_t seg_o; /* Segment being sent */ member
300 (tx->seg_o <= tx->seg_n) ? in schedule_transmit_continue()
343 static void seg_tx_buf_build(struct seg_tx *tx, uint8_t seg_o, in seg_tx_buf_build() argument
347 uint8_t len = MIN(seg_len(tx->ctl), tx->len - (seg_len(tx->ctl) * seg_o)); in seg_tx_buf_build()
351 net_buf_simple_add_u8(buf, (((seq_zero & 0x3f) << 2) | (seg_o >> 3))); in seg_tx_buf_build()
352 net_buf_simple_add_u8(buf, ((seg_o & 0x07) << 5) | tx->seg_n); in seg_tx_buf_build()
353 net_buf_simple_add_mem(buf, tx->seg[seg_o], len); in seg_tx_buf_build()
405 while (tx->seg_o <= tx->seg_n) { in seg_tx_send_unacked()
409 if (!tx->seg[tx->seg_o]) { in seg_tx_send_unacked()
411 tx->seg_o++; in seg_tx_send_unacked()
[all …]