Re: Help wanted on porting a library from Linux to FreeBSD

From: Artem Hevorhian <artemhevorhian_at_gmail.com>
Date: Sun, 20 Oct 2024 18:50:22 UTC
Also, may I ask you why there is software 'wpa' in contrib packages that
uses nl80211 if that's not currently supported?

On Sun, Oct 20, 2024 at 9:36 PM Artem Hevorhian <artemhevorhian@gmail.com>
wrote:

> Also, can I ask, when you mention native code, you mean 'ioctl's, right?
>
> On Sun, Oct 20, 2024 at 9:08 PM Artem Hevorhian <artemhevorhian@gmail.com>
> wrote:
>
>> I will have available to me as much time as is required. A year or even
>> more. I guess the project can be delivered in certain portions. So the
>> initial milestone could be something to show off in the thesis. The other
>> parts of the work could be done afterwards. Time is not a problem here.
>>
>> On Sun, Oct 20, 2024 at 9:00 PM Bjoern A. Zeeb <bz@freebsd.org> wrote:
>>
>>> On Sun, 20 Oct 2024, Artem Hevorhian wrote:
>>>
>>> > 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.
>>>
>>> Okay.
>>>
>>> > I understand that you say that most of the code is
>>> > already there, I will have a look at that.
>>>
>>> native code; not nl80211.
>>>
>>> > 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.
>>>
>>> I think scan is a demonstrator and probably a good start for such a
>>> project
>>> but by far not in any reality what needs to be implemented.
>>>
>>> I don't know how much time you'll have avail for your masters.
>>>
>>> I know we (Adrian, I, etc) had some discussions on the interface and
>>> versioning etc. and what Linux had done.  I'd be curious what others
>>> think about going down that road?
>>>
>>> /bz
>>>
>>> --
>>> Bjoern A. Zeeb                                                     r15:7
>>>
>>