Libuwifi into uloop

I want to use libuwifi for monitoring RSSI of all devices on all channels.

I will initialize the configuration struct and call


Still I need to receive from the socket. The awsome tool horst ist using FD_SETin a while loop.

I want something different. Any recommendations how to hang libUwifi into the uloop of OpenWrt? Otherwise I will try adding

uloopsock->cb = somecallback;
uloop_fd_add(&uloopsock.fd, ULOOP_READ);

And hope everything will work. :slight_smile: