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);