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 
config::time_type clock_type
Analyzer(senf::MACAddress const &mac, Configuration const &config)
Definition: Analyzer.cc:125
~Analyzer()
Definition: Analyzer.cc:30
s8 rssi
__be16 length