Lines Matching full:tx
18 const struct bt_mesh_sar_tx *tx) in bt_mesh_sar_tx_encode() argument
20 net_buf_simple_add_u8(buf, (tx->seg_int_step & 0xf) | in bt_mesh_sar_tx_encode()
21 (tx->unicast_retrans_count << 4)); in bt_mesh_sar_tx_encode()
22 net_buf_simple_add_u8(buf, (tx->unicast_retrans_without_prog_count & in bt_mesh_sar_tx_encode()
23 0xf) | (tx->unicast_retrans_int_step << 4)); in bt_mesh_sar_tx_encode()
24 net_buf_simple_add_u8(buf, (tx->unicast_retrans_int_inc & 0xf) | in bt_mesh_sar_tx_encode()
25 (tx->multicast_retrans_count << 4)); in bt_mesh_sar_tx_encode()
26 net_buf_simple_add_u8(buf, tx->multicast_retrans_int & 0xf); in bt_mesh_sar_tx_encode()
40 struct bt_mesh_sar_tx *tx) in bt_mesh_sar_tx_decode() argument
45 tx->seg_int_step = (val & 0xf); in bt_mesh_sar_tx_decode()
46 tx->unicast_retrans_count = (val >> 4); in bt_mesh_sar_tx_decode()
48 tx->unicast_retrans_without_prog_count = (val & 0xf); in bt_mesh_sar_tx_decode()
49 tx->unicast_retrans_int_step = (val >> 4); in bt_mesh_sar_tx_decode()
51 tx->unicast_retrans_int_inc = (val & 0xf); in bt_mesh_sar_tx_decode()
52 tx->multicast_retrans_count = (val >> 4); in bt_mesh_sar_tx_decode()
54 tx->multicast_retrans_int = (val & 0xf); in bt_mesh_sar_tx_decode()