1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-30 03:11:32 +02:00
ben-wpan/tools/atrf-path/sweep.h

38 lines
701 B
C
Raw Normal View History

/*
* atrf-path/sweep.h - Measure path characteristics
*
* 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 SWEEP_H
#define SWEEP_H
#include "atrf.h"
struct sweep {
struct atrf_dsc *tx;
struct atrf_dsc *rx;
int trim_tx;
int trim_rx;
int power;
int samples;
};
struct sample {
double avg;
double min, max;
};
void do_sweep(const struct sweep *sweep, struct sample *res);
#endif /* !SWEEP_H */