Skip to content

Commit

Permalink
the dummy link also needs a priority bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Feb 19, 2024
1 parent ed738ff commit 3cf6f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wifibroadcast/dummy_link/DummyLink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <vector>

#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/

Expand Down Expand Up @@ -117,6 +118,7 @@ std::shared_ptr<std::vector<uint8_t>> DummyLink::rx_radiotap() {
}

void DummyLink::loop_rx() {
SchedulingHelper::set_thread_params_max_realtime("DummyLink::loop_rx");
auto read_buffer=std::make_shared<std::vector<uint8_t>>(MAX_MTU_INCLUDING_HEADER);
while (m_keep_receiving){
//auto packet= read_data(m_fd_rx);
Expand Down

0 comments on commit 3cf6f1d

Please sign in to comment.