AMPS: Show round trip delay of Filler frames in loopback mode

This commit is contained in:
Andreas Eversberg
2016-06-20 17:15:42 +02:00
parent d851c37eac
commit 76f6285846
3 changed files with 22 additions and 6 deletions

View File

@@ -136,6 +136,11 @@ typedef struct amps {
int sig_detect_count; /* current number of consecutive detections/losses */
transaction_t *trans_list; /* list of transactions */
/* delay measurement in loopback mode */
double when_received; /* time stamp of received frame start (start of dotting) */
double when_transmitted[16]; /* time stamps of filler frames with different count */
int when_count; /* counter of the filler frame */
} amps_t;
void amps_channel_list(void);