Track bytes from baseband and dropped when entering capture FIFO.

This commit is contained in:
Jared Boone 2016-04-27 10:40:50 -07:00
parent d63136c52e
commit 1789868b8a
2 changed files with 6 additions and 0 deletions

View file

@ -52,6 +52,8 @@ public:
if( (bytes_written & event_bytes_mask) < (last_bytes_written & event_bytes_mask) ) {
creg::m4txevent::assert();
}
config->baseband_bytes_received += length;
config->baseband_bytes_dropped = config->baseband_bytes_received - bytes_written;
return written;
}