#include <senf/Ext/NetEmu/WLAN/AthSpectralScan.hh>
Public Types | |
typedef std::function< void(std::uint64_t tsft, std::uint16_t frequency, unsigned numBins, void *spectralSample)> | AthSpectralScanCallback |
Public Member Functions | |
AthSpectralScan (std::string phyName) | |
~AthSpectralScan () | |
bool | spectralSetting (std::string option, std::string value) |
bool | spectralSetting (std::string option, unsigned value) |
unsigned | spectralSetting (std::string option) const |
bool | callback (AthSpectralScanCallback const &cb) |
void | disable () |
void | frequency (std::uint32_t freq, std::uint32_t bandwidth, std::int32_t offset=0) |
bool | detected () const |
bool | is_ath9k () const |
bool | is_ath10k () const |
void | stats (std::ostream &os) |
unsigned | spectralPeriod () const |
unsigned | spectralFFTPeriod () const |
unsigned | spectralShortRepeat () const |
unsigned | spectralCount () const |
unsigned | spectralBins () const |
bool | spectralPeriod (unsigned v) |
bool | spectralFFTPeriod (unsigned v) |
bool | spectralShortRepeat (unsigned v) |
bool | spectralCount (unsigned v) |
bool | spectralBins (unsigned v) |
Definition at line 38 of file AthSpectralScan.hh.
typedef std::function<void (std::uint64_t tsft, std::uint16_t frequency, unsigned numBins, void * spectralSample)> senf::emu::AthSpectralScan::AthSpectralScanCallback |
Definition at line 41 of file AthSpectralScan.hh.
senf::emu::AthSpectralScan::AthSpectralScan | ( | std::string | phyName | ) |
Definition at line 31 of file AthSpectralScan.cc.
senf::emu::AthSpectralScan::~AthSpectralScan | ( | ) |
Definition at line 59 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::callback | ( | AthSpectralScanCallback const & | cb | ) |
Definition at line 253 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::detected | ( | ) | const |
Definition at line 64 of file AthSpectralScan.cc.
void senf::emu::AthSpectralScan::disable | ( | ) |
Definition at line 83 of file AthSpectralScan.cc.
void senf::emu::AthSpectralScan::frequency | ( | std::uint32_t | freq, |
std::uint32_t | bandwidth, | ||
std::int32_t | offset = 0 |
||
) |
Definition at line 99 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::is_ath10k | ( | ) | const |
Definition at line 76 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::is_ath9k | ( | ) | const |
Definition at line 70 of file AthSpectralScan.cc.
unsigned senf::emu::AthSpectralScan::spectralBins | ( | ) | const |
Definition at line 311 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralBins | ( | unsigned | v | ) |
Definition at line 337 of file AthSpectralScan.cc.
unsigned senf::emu::AthSpectralScan::spectralCount | ( | ) | const |
Definition at line 305 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralCount | ( | unsigned | v | ) |
Definition at line 332 of file AthSpectralScan.cc.
unsigned senf::emu::AthSpectralScan::spectralFFTPeriod | ( | ) | const |
Definition at line 293 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralFFTPeriod | ( | unsigned | v | ) |
Definition at line 322 of file AthSpectralScan.cc.
unsigned senf::emu::AthSpectralScan::spectralPeriod | ( | ) | const |
Definition at line 287 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralPeriod | ( | unsigned | v | ) |
Definition at line 317 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralSetting | ( | std::string | option, |
std::string | value | ||
) |
Definition at line 236 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralSetting | ( | std::string | option, |
unsigned | value | ||
) |
Definition at line 248 of file AthSpectralScan.cc.
unsigned senf::emu::AthSpectralScan::spectralSetting | ( | std::string | option | ) | const |
Definition at line 221 of file AthSpectralScan.cc.
unsigned senf::emu::AthSpectralScan::spectralShortRepeat | ( | ) | const |
Definition at line 299 of file AthSpectralScan.cc.
bool senf::emu::AthSpectralScan::spectralShortRepeat | ( | unsigned | v | ) |
Definition at line 327 of file AthSpectralScan.cc.
void senf::emu::AthSpectralScan::stats | ( | std::ostream & | os | ) |
Definition at line 279 of file AthSpectralScan.cc.