Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2024 21:36:06 +0300
From:      Artem Hevorhian <artemhevorhian@gmail.com>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Help wanted on porting a library from Linux to FreeBSD
Message-ID:  <CA%2BAExURe-ad%2BsBb-7sSwCmV%2BD1ZCmSxL82riJ5W=H3R2n46PsA@mail.gmail.com>
In-Reply-To: <CA%2BAExURkWpq-KxbhKDBy8iDKhq6jY5-N7rANTo9kuTMcSs6t7w@mail.gmail.com>
References:  <CA%2BAExURkdSmZnRn1L376w0u1acc1qATnwfYSW-zm=fBBCUsipg@mail.gmail.com> <s5pp91n7-5or7-0305-60n4-p843ss34409p@SerrOFQ.bet> <CA%2BAExUTrQY8sHp-G6VyBexMagjK=AWCPfGBLaS37-cnfFC4tiw@mail.gmail.com> <CA%2BAExUTLmt6aBTR9zdK3eynHwMbHd35Vd8FqxHw6uxJ-MEyUUg@mail.gmail.com> <5p07s859-nr38-p981-208o-279pq5509qs4@serrofq.bet> <CA%2BAExURkWpq-KxbhKDBy8iDKhq6jY5-N7rANTo9kuTMcSs6t7w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000a3e66d0624ecd04d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Also, can I ask, when you mention native code, you mean 'ioctl's, right?

On Sun, Oct 20, 2024 at 9:08=E2=80=AFPM Artem Hevorhian <artemhevorhian@gma=
il.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=E2=80=AFPM Bjoern A. Zeeb <bz@freebsd.org> w=
rote:
>
>> On Sun, 20 Oct 2024, Artem Hevorhian wrote:
>>
>> > The "library" is just a demonstration of how netlink events are used i=
n
>> > communicating the state of the wifi subsystem on Linux. I would like t=
o
>> > 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
>>
>

--000000000000a3e66d0624ecd04d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Also, can I ask, when you mention native code, you mean &#=
39;ioctl&#39;s, right?<br></div><br><div class=3D"gmail_quote"><div dir=3D"=
ltr" class=3D"gmail_attr">On Sun, Oct 20, 2024 at 9:08=E2=80=AFPM Artem Hev=
orhian &lt;<a href=3D"mailto:artemhevorhian@gmail.com">artemhevorhian@gmail=
.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr"><div>I will have available to me as much time as is re=
quired. A year or even more. I guess the project can be delivered in certai=
n 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.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Sun, Oct 20, 2024 at 9:00=E2=80=AFPM Bjoern A. Z=
eeb &lt;<a href=3D"mailto:bz@freebsd.org" target=3D"_blank">bz@freebsd.org<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">O=
n Sun, 20 Oct 2024, Artem Hevorhian wrote:<br>
<br>
&gt; The &quot;library&quot; is just a demonstration of how netlink events =
are used in<br>
&gt; communicating the state of the wifi subsystem on Linux. I would like t=
o<br>
&gt; implement the same kernel backend for FreeBSD. The &quot;library&quot;=
 uses libmnl,<br>
&gt; but I can use raw netlink sockets, it&#39;s not a problem. The problem=
 is the<br>
&gt; lack of support (which I would like to fix) for working with nl80211<b=
r>
&gt; netlink on FreeBSD.<br>
<br>
Okay.<br>
<br>
&gt; I understand that you say that most of the code is<br>
&gt; already there, I will have a look at that.<br>
<br>
native code; not nl80211.<br>
<br>
&gt; But I guess that the overall<br>
&gt; functionality of driving your wifi module (scan feature) from the user=
space<br>
&gt; with the help of asking the kernel to do it from the kernel space is a=
 good<br>
&gt; idea.<br>
<br>
I think scan is a demonstrator and probably a good start for such a project=
<br>
but by far not in any reality what needs to be implemented.<br>
<br>
I don&#39;t know how much time you&#39;ll have avail for your masters.<br>
<br>
I know we (Adrian, I, etc) had some discussions on the interface and<br>
versioning etc. and what Linux had done.=C2=A0 I&#39;d be curious what othe=
rs<br>
think about going down that road?<br>
<br>
/bz<br>
<br>
-- <br>
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7<br>
</blockquote></div>
</blockquote></div>

--000000000000a3e66d0624ecd04d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BAExURe-ad%2BsBb-7sSwCmV%2BD1ZCmSxL82riJ5W=H3R2n46PsA>