43 <<
"Some message here...") );
46 prefix_ void Analyzer::v_80211FrameReceived(std::uint64_t tsft,
unsigned frequency,
signed rssi,
unsigned rate,
unsigned length, senf::RadiotapPacket & rt)
52 if (data && (data.size() >= senf::WLANPacket_DataFrameParser::init_bytes)) {
53 srcAddress = data->sourceAddress();
56 if (mgt && (mgt.size() >= senf::WLANPacket_MgtFrameParser::init_bytes)) {
57 srcAddress = mgt->sourceAddress();
60 if (ctrl && ctrl->is_rts() && (ctrl.size() >= senf::WLANPacket_CtrlFrameParser::init_bytes)) {
61 srcAddress = ctrl->sourceAddress();
76 <<
", rssi " <<
rssi <<
", rate " << rate <<
", length " <<
length 80 prefix_ void Analyzer::v_SpectralDataReceived(std::uint64_t tsft,
unsigned frequency,
unsigned bins,
fft_sample_ht20 const & sample)
82 SENF_LOG((
senf::log::MESSAGE) (
"tsft " << std::hex << tsft << std::dec <<
" Spectral samples (HT20) received on frequency " << frequency) );
85 prefix_ void Analyzer::v_SpectralDataReceived(std::uint64_t tsft,
unsigned frequency,
unsigned bins,
fft_sample_ht20_40 const & sample)
87 SENF_LOG((
senf::log::MESSAGE) (
"tsft " << std::hex << tsft << std::dec <<
" Spectral samples (HT20_40) received on frequency " << frequency) );
90 prefix_ void Analyzer::v_SpectralDataReceived(std::uint64_t tsft,
unsigned frequency,
unsigned bins,
fft_sample_ath10k const & sample)
92 SENF_LOG((
senf::log::MESSAGE) (
"tsft " << std::hex << tsft << std::dec <<
" Spectral samples (ATH10K) received on frequency " << frequency <<
", bins " << bins) );
config::time_type clock_type
static MACAddress const None
Analyzer(senf::MACAddress const &mac, Configuration const &config)
static SENF_CLOCKSERVICE_CONSTEXPR int64_type in_milliseconds(clock_type const &v)
u8 data[SPECTRAL_HT20_NUM_BINS]
Annotations public header.
WLANPacket_DataFrameType::packet WLANPacket_DataFrame
WLANPacket_MgtFrameType::packet WLANPacket_MgtFrame
static SENF_CLOCKSERVICE_CONSTEXPR int64_type in_microseconds(clock_type const &v)
static SENF_CLOCKSERVICE_CONSTEXPR clock_type microseconds(int64_type const &v)
WLANPacket_CtrlFrameType::packet WLANPacket_CtrlFrame
static SENF_CLOCKSERVICE_CONSTEXPR int64_type in_seconds(clock_type const &v)