Re: Help wanted on porting a library from Linux to FreeBSD
Date: Sun, 20 Oct 2024 17:43:59 UTC
The "library" is just a demonstration of how netlink events are used in communicating the state of the wifi subsystem on Linux. I would like to implement the same kernel backend for FreeBSD. The "library" uses libmnl, but I can use raw netlink sockets, it's not a problem. The problem is the lack of support (which I would like to fix) for working with nl80211 netlink on FreeBSD. I understand that you say that most of the code is already there, I will have a look at that. But I guess that the overall functionality of driving your wifi module (scan feature) from the userspace with the help of asking the kernel to do it from the kernel space is a good idea. On Sun, Oct 20, 2024 at 8:37 PM Artem Hevorhian <artemhevorhian@gmail.com> wrote: > Great question! I am trying to implement something that I could present as > a Master's thesis in the university. > > On Sun, Oct 20, 2024 at 8:36 PM Bjoern A. Zeeb <bz@freebsd.org> wrote: > >> On Sun, 20 Oct 2024, Artem Hevorhian wrote: >> >> Hi, >> >> > Hello everyone, I would like to port this library >> > https://github.com/bmegli/wifi-scan over to FreeBSD. Could maybe bz@ >> help >> > me by mentoring me in this direction? I've spoken with melifaro@, he >> has an >> > estimate of 3 months for this job. I would like to do that. >> >> By what software is that "library" used? >> >> I would assume most of the code for it is in lib80211/ifconfig and it's >> a day job to replace the nl80211 with nativ code. >> >> Given you mentioned melifaro and 3 months I assume you want to implement >> an nl80211 interface for FreeBSD instead? >> >> So let me ask, what's the real purpose for the project? >> >> /bz >> >> -- >> Bjoern A. Zeeb r15:7 >> >