SENF Extensible Network Framework
Home
Overview
Examples
HowTos
Glossary
Ext
NetEmu
PPI
Packets
Scheduler
Socket
Utils
Console
Daemon
Logger
Termlib
examples
AthSpectralTool
Analyzer.hh
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3
// Network Research Group (NET)
4
// Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5
// Contact: support@wiback.org
6
//
7
// This file is part of the SENF code tree.
8
// It is licensed under the 3-clause BSD License (aka New BSD License).
9
// See LICENSE.txt in the top level directory for details or visit
10
// https://opensource.org/licenses/BSD-3-Clause
11
//
12
13
14
#ifndef __ANALYZER_HH__
15
#define __ANALYZER_HH__
16
17
// Custom includes
18
#include "
AnalyzerBase.hh
"
19
21
22
class
Analyzer
23
:
public
AnalyzerBase
24
{
25
public
:
26
Analyzer
(
Configuration
const
& configuration);
27
~Analyzer
();
28
29
private
:
30
void
v_timerInterval(
senf::ClockService::clock_type
const
& timestamp,
senf::ClockService::clock_type
const
& actualDuration);
31
void
v_terminate(
senf::ClockService::clock_type
const
& sessionDuration);
32
void
v_80211FrameReceived(std::uint64_t tsft,
unsigned
frequency,
signed
rssi
,
unsigned
rate,
unsigned
length
, senf::RadiotapPacket & rt);
33
void
v_SpectralDataReceived(std::uint64_t tsft,
unsigned
frequency,
unsigned
bins,
fft_sample_ht20
const
&);
34
void
v_SpectralDataReceived(std::uint64_t tsft,
unsigned
frequency,
unsigned
bins,
fft_sample_ht20_40
const
&);
35
void
v_SpectralDataReceived(std::uint64_t tsft,
unsigned
frequency,
unsigned
bins,
fft_sample_ath10k
const
&);
36
};
37
39
#endif
40
senf::ClockService::clock_type
config::time_type clock_type
Analyzer::Analyzer
Analyzer(senf::MACAddress const &mac, Configuration const &config)
Definition:
Analyzer.cc:125
fft_sample_ht20_40
Definition:
spectral_common.h:87
AnalyzerBase
Definition:
AnalyzerBase.hh:27
Analyzer::~Analyzer
~Analyzer()
Definition:
Analyzer.cc:30
Analyzer
Definition:
Analyzer.cc:112
Configuration
Definition:
Configuration.hh:23
rssi
s8 rssi
Definition:
spectral_common.h:66
AnalyzerBase.hh
fft_sample_ht20
Definition:
spectral_common.h:69
length
__be16 length
Definition:
spectral_common.h:62
fft_sample_ath10k
Definition:
spectral_common.h:115