Date: Sun, 20 Oct 2024 21:50:22 +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%2BAExUQcWZc4Ht=8iaSESnmTeOACN__rOVG53OOZGTYgRnd1rA@mail.gmail.com> In-Reply-To: <CA%2BAExURe-ad%2BsBb-7sSwCmV%2BD1ZCmSxL82riJ5W=H3R2n46PsA@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> <CA%2BAExURe-ad%2BsBb-7sSwCmV%2BD1ZCmSxL82riJ5W=H3R2n46PsA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b3f52f0624ed0385 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Artem Hevorhian <artemhevorhian@gma= il.com> wrote: > 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@g= mail.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 othe= r >> 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> = 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 >>> >> --000000000000b3f52f0624ed0385 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Also, may I ask you why there is software 'wpa' in= contrib packages that uses nl80211 if that's not currently supported?<= br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_att= r">On Sun, Oct 20, 2024 at 9:36=E2=80=AFPM Artem Hevorhian <<a href=3D"m= ailto:artemhevorhian@gmail.com">artemhevorhian@gmail.com</a>> wrote:<br>= </div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b= order-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Al= so, can I ask, when you mention native code, you mean 'ioctl's, rig= ht?<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 Hevorhian <<a href= =3D"mailto:artemhevorhian@gmail.com" target=3D"_blank">artemhevorhian@gmail= .com</a>> 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 <<a href=3D"mailto:bz@freebsd.org" target=3D"_blank">bz@freebsd.org<= /a>> 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> > The "library" is just a demonstration of how netlink events = are used in<br> > communicating the state of the wifi subsystem on Linux. I would like t= o<br> > implement the same kernel backend for FreeBSD. The "library"= uses libmnl,<br> > but I can use raw netlink sockets, it's not a problem. The problem= is the<br> > lack of support (which I would like to fix) for working with nl80211<b= r> > netlink on FreeBSD.<br> <br> Okay.<br> <br> > I understand that you say that most of the code is<br> > already there, I will have a look at that.<br> <br> native code; not nl80211.<br> <br> > But I guess that the overall<br> > functionality of driving your wifi module (scan feature) from the user= space<br> > with the help of asking the kernel to do it from the kernel space is a= good<br> > 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't know how much time you'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'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> </blockquote></div> --000000000000b3f52f0624ed0385--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BAExUQcWZc4Ht=8iaSESnmTeOACN__rOVG53OOZGTYgRnd1rA>