From 3fbcafa81430ff4bc26e3084b515a5f6dcd02432 Mon Sep 17 00:00:00 2001 From: consti10 Date: Tue, 25 Jul 2023 22:48:30 +0200 Subject: [PATCH] injection rate test --- executables/injection_rate_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/executables/injection_rate_test.cpp b/executables/injection_rate_test.cpp index 15374b7c..2c0d83e8 100644 --- a/executables/injection_rate_test.cpp +++ b/executables/injection_rate_test.cpp @@ -113,12 +113,12 @@ static std::string validate_specific_rate(std::shared_ptr txrx,const int std::stringstream ss; if(txstats.count_tx_injections_error_hint>0 || stream_generator->n_times_cannot_keep_up_wanted_pps>10){ ss< txrx,const int static void validate_rtl8812au_rates(std::shared_ptr txrx,const bool is_40mhz){ txrx->tx_update_channel_width(is_40mhz ? 40 : 20); std::stringstream log; - for(int mcs=0;mcs<4;mcs++){ + for(int mcs=0;mcs<12;mcs++){ const auto rate=wifibroadcast::get_practical_rate_5G(mcs); const auto rate_kbits=(is_40mhz ? rate.rate_40mhz_kbits : rate.rate_20mhz_kbits); const auto res=validate_specific_rate(txrx,mcs,rate_kbits); log<debug("{}",log.str()); + wifibroadcast::log::get_default()->debug("\n{}",log.str()); }