1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

tools/atrf-txrx/perdump: new utility to analyze a PER dump

- Makefile: added perdump
- perdump.h, perdump.c: read and analyze a PER dump in pcap format
- per-text.c: report PER test results as text on the console
This commit is contained in:
Werner Almesberger
2011-01-19 17:52:10 -03:00
parent 1fb05c221d
commit 6002759464
4 changed files with 283 additions and 2 deletions

28
tools/atrf-txrx/perdump.h Normal file
View File

@@ -0,0 +1,28 @@
/*
* atrf-txrx/perdump.h - Analyze and dump a recorded PER test
*
* Written 2011 by Werner Almesberger
* Copyright 2011 Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef PERDUMP_H
#define PERDUMP_H
struct result_ops {
void (*begin)(void);
void (*undecided)(int symbols);
void (*packet)(int symbols, int skip);
void (*error)(int symbol);
void (*finish)(void);
};
extern struct result_ops text_ops;
#endif /* !PERDUMP_H */