From b9ed5280beec88554ff813617bf06a3c1379c56c Mon Sep 17 00:00:00 2001 From: consti10 Date: Tue, 8 Aug 2023 17:10:59 +0200 Subject: [PATCH] exp rssi --- src/WBTxRx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WBTxRx.cpp b/src/WBTxRx.cpp index dc9859d9..9a9c5b2a 100644 --- a/src/WBTxRx.cpp +++ b/src/WBTxRx.cpp @@ -390,6 +390,7 @@ void WBTxRx::on_new_packet(const uint8_t wlan_idx, const pcap_pkthdr &hdr, m_console->debug("{}",all_rssi_to_string(parsedPacket->allAntennaValues)); } // assumes driver gives 1st and 2nd antenna as 2nd and 3rd value + // 1st value is ignored if(parsedPacket->allAntennaValues.size()>=2){ const auto rssi=parsedPacket->allAntennaValues[1].rssi; auto opt_minmaxavg=this_wifi_card_stats.rssi_for_wifi_card.m_rssi_antenna1.add_and_recalculate_if_needed(rssi);