diff --git a/executables/example_pollute.cpp b/executables/example_pollute.cpp index 1f940017..1d050834 100644 --- a/executables/example_pollute.cpp +++ b/executables/example_pollute.cpp @@ -42,6 +42,7 @@ int main(int argc, char *const *argv) { options_txrx.enable_non_openhd_mode= true; options_txrx.tx_without_pcap= false; options_txrx.debug_tx_injection_time= true; + options_txrx.tx_without_pcap=true; std::shared_ptr txrx=std::make_shared(cards,options_txrx); // We do not need receive in this mode diff --git a/executables/injection_rate_test.cpp b/executables/injection_rate_test.cpp index 3309ad94..7e73a836 100644 --- a/executables/injection_rate_test.cpp +++ b/executables/injection_rate_test.cpp @@ -252,6 +252,7 @@ int main(int argc, char *const *argv) { WBTxRx::Options options_txrx{}; //options_txrx.pcap_rx_set_direction= false; options_txrx.log_all_received_validated_packets= false; + options_txrx.tx_without_pcap= true; std::shared_ptr txrx=std::make_shared(cards,options_txrx); // No idea if and what effect stbc and ldpc have on the rate, but openhd enables them if possible by default diff --git a/src/raw_socket_helper.hpp b/src/raw_socket_helper.hpp index 08e0b0f5..4c59485e 100644 --- a/src/raw_socket_helper.hpp +++ b/src/raw_socket_helper.hpp @@ -54,6 +54,7 @@ static int open_wifi_interface_as_raw_socket(const std::string &wifi) { // debug the timeout after setting //SocketHelper::debug_send_rcv_timeout(sock,console); // buff size + SocketHelper::set_socket_send_rcv_buffsize(sock,1510*1, true); SocketHelper::debug_send_rcv_buffsize(sock,console); //const int wanted_sendbuff_bytes=128*1024*1024; //SocketHelper::set_socket_send_rcv_buffsize(sock,wanted_sendbuff_bytes, true);