From 3cf6f1dd6fa409e2aa8554ad862f285a18804332 Mon Sep 17 00:00:00 2001 From: consti10 Date: Mon, 19 Feb 2024 16:01:12 +0100 Subject: [PATCH] the dummy link also needs a priority bump --- wifibroadcast/dummy_link/DummyLink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wifibroadcast/dummy_link/DummyLink.cpp b/wifibroadcast/dummy_link/DummyLink.cpp index 366e43c9..e8047b93 100644 --- a/wifibroadcast/dummy_link/DummyLink.cpp +++ b/wifibroadcast/dummy_link/DummyLink.cpp @@ -21,6 +21,7 @@ #include #include "../HelperSources/SocketHelper.hpp" +#include "../HelperSources/SchedulingHelper.hpp" // From http://www.atakansarioglu.com/linux-ipc-inter-process-messaging-linux-domain-socket-fifo-pipe-shared-memory-shm-example/ @@ -117,6 +118,7 @@ std::shared_ptr> DummyLink::rx_radiotap() { } void DummyLink::loop_rx() { + SchedulingHelper::set_thread_params_max_realtime("DummyLink::loop_rx"); auto read_buffer=std::make_shared>(MAX_MTU_INCLUDING_HEADER); while (m_keep_receiving){ //auto packet= read_data(m_fd_rx);