Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2024 08:28:35 +0300
From:      Artem Hevorhian <artemhevorhian@gmail.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, freebsd-hackers@freebsd.org
Subject:   Re: Help wanted on porting a wifi library from Linux to FreeBSD
Message-ID:  <CA%2BAExUTCBL%2BoN7uLYFOPPKorRipu%2BCDwtOB6GyHK54WPzkaPOA@mail.gmail.com>
In-Reply-To: <20241021202904.91d6af0106facdf70f8f8f36@dec.sakura.ne.jp>
References:  <CA%2BAExUT4fM%2Bp85Shzp1xFFOrabS_FDwWYSbUJjmka6%2BROOJnLw@mail.gmail.com> <20241020194105.87D67216@slippy.cwsent.com> <20241021072213.d372a39793a9564030a31085@dec.sakura.ne.jp> <20241021001725.132A1393@slippy.cwsent.com> <20241021202904.91d6af0106facdf70f8f8f36@dec.sakura.ne.jp>

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

Let me rephrase.

I would like to modernize the wifi stack so that ioctls are not used
anymore in ifconfig scan operation, for example. I would like to use
netlink instead.

=D0=BF=D0=BD, 21 =D0=B6=D0=BE=D0=B2=D1=82. 2024, 14:29 =D0=BA=D0=BE=D1=80=
=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 Tomoaki AOKI <junchoon@dec.sakur=
a.ne.jp>
=D0=BF=D0=B8=D1=88=D0=B5:

> On Sun, 20 Oct 2024 17:17:25 -0700
> Cy Schubert <Cy.Schubert@cschubert.com> wrote:
>
> > In message <20241021072213.d372a39793a9564030a31085@dec.sakura.ne.jp>,
> > Tomoaki
> > AOKI writes:
> > > On Sun, 20 Oct 2024 12:41:05 -0700
> > > Cy Schubert <Cy.Schubert@cschubert.com> wrote:
> > >
> > > > In message
> <CA+AExUT4fM+p85Shzp1xFFOrabS_FDwWYSbUJjmka6+ROOJnLw@mail.gmail.
> > > c
> > > > om>
> > > > , Artem Hevorhian writes:
> > > > >
> > > > > https://github.com/bmegli/wifi-scan
> > > > >
> > > > > Here it is. It uses nl80211.h header. I think we should do the
> same on
> > > > > FreeBSD. Mentorship is required for me to work on it. Please help
> me with
> > > > > this.
> > > >
> > > > Porting GPL code to FreeBSD is not a good idea. A rewrite under a
> BSD
> > > > license would work though.
> > >
> > > Or requesting and acquiring for ALL authors of ALL needed files to be
> > > BSD-compatiblly licensed (including dual or more licenced in
> conjunction
> > > with GPL)?
> >
> > Dual licensing is ok. but one of the licenses must be BSD as opposed to
> > BSD-compatibility.
> > BSD is compatible with GPL but many users of FreeBSD are afraid that GP=
L
> in
> > FreeBSD will make it GPL and therefore useless for their purposes.
> >
> > BSD-compatibility is not enough. It should also be BSD licensed.
>
> It depends on from which side of view.
> Let's limit "can we borrow any code without violating its license?"
> here.
>
> From the point of view from GPL'ed software, BSD license is
> 100% compatible.
>
> OTOH, from the point of view from BSD licensed software, GPL is
> incompatible (because BSD license does not force licensees to make
> their modified/added codes to be GPL'ed).
>
> And FreeBSD has, for example, CDDL'ed codes like OpenZFS in tree,
> without any action to delete them, unlile GPL'ed ones.
>
> This is, (my understanding is) because CDDL is considered as
> BSD-compatible license. There are more, for example, MIT license and so
> on.
>
> So any of BSD-compatible license is/are included in multiple licenses
> of the codes, FreeBSD can introduce it in tree.
>
> This is my guess.
>
> > --
> > Cheers,
> > Cy Schubert <Cy.Schubert@cschubert.com>
> > FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
> > NTP:           <cy@nwtime.org>    Web:  https://nwtime.org
> >
> >                       e^(i*pi)+1=3D0
>
>
> --
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>

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

<div dir=3D"auto">Let me rephrase.=C2=A0<div dir=3D"auto"><br></div><div di=
r=3D"auto">I would like to modernize the wifi stack so that ioctls are not =
used anymore in ifconfig scan operation, for example. I would like to use n=
etlink instead.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">=D0=BF=D0=BD, 21 =D0=B6=D0=BE=D0=B2=D1=82. 2024, 14:29=
 =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 Tomoaki AOKI =
&lt;<a href=3D"mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp<=
/a>&gt; =D0=BF=D0=B8=D1=88=D0=B5:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">O=
n Sun, 20 Oct 2024 17:17:25 -0700<br>
Cy Schubert &lt;<a href=3D"mailto:Cy.Schubert@cschubert.com" target=3D"_bla=
nk" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>&gt; wrote:<br>
<br>
&gt; In message &lt;<a href=3D"mailto:20241021072213.d372a39793a9564030a310=
85@dec.sakura.ne.jp" target=3D"_blank" rel=3D"noreferrer">20241021072213.d3=
72a39793a9564030a31085@dec.sakura.ne.jp</a>&gt;, <br>
&gt; Tomoaki<br>
&gt; AOKI writes:<br>
&gt; &gt; On Sun, 20 Oct 2024 12:41:05 -0700<br>
&gt; &gt; Cy Schubert &lt;<a href=3D"mailto:Cy.Schubert@cschubert.com" targ=
et=3D"_blank" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>&gt; wrote:<b=
r>
&gt; &gt;<br>
&gt; &gt; &gt; In message &lt;CA+AExUT4fM+p85Shzp1xFFOrabS_FDwWYSbUJjmka6+R=
OOJnLw@mail.gmail.<br>
&gt; &gt; c<br>
&gt; &gt; &gt; om&gt;<br>
&gt; &gt; &gt; , Artem Hevorhian writes:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; <a href=3D"https://github.com/bmegli/wifi-scan" rel=3D"=
noreferrer noreferrer" target=3D"_blank">https://github.com/bmegli/wifi-sca=
n</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Here it is. It uses nl80211.h header. I think we should=
 do the same on<br>
&gt; &gt; &gt; &gt; FreeBSD. Mentorship is required for me to work on it. P=
lease help me with<br>
&gt; &gt; &gt; &gt; this.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Porting GPL code to FreeBSD is not a good idea. A rewrite un=
der a BSD <br>
&gt; &gt; &gt; license would work though.<br>
&gt; &gt;<br>
&gt; &gt; Or requesting and acquiring for ALL authors of ALL needed files t=
o be<br>
&gt; &gt; BSD-compatiblly licensed (including dual or more licenced in conj=
unction<br>
&gt; &gt; with GPL)?<br>
&gt; <br>
&gt; Dual licensing is ok. but one of the licenses must be BSD as opposed t=
o <br>
&gt; BSD-compatibility.<br>
&gt; BSD is compatible with GPL but many users of FreeBSD are afraid that G=
PL in <br>
&gt; FreeBSD will make it GPL and therefore useless for their purposes.<br>
&gt; <br>
&gt; BSD-compatibility is not enough. It should also be BSD licensed.<br>
<br>
It depends on from which side of view.<br>
Let&#39;s limit &quot;can we borrow any code without violating its license?=
&quot;<br>
here.<br>
<br>
>From the point of view from GPL&#39;ed software, BSD license is<br>
100% compatible.<br>
<br>
OTOH, from the point of view from BSD licensed software, GPL is<br>
incompatible (because BSD license does not force licensees to make<br>
their modified/added codes to be GPL&#39;ed).<br>
<br>
And FreeBSD has, for example, CDDL&#39;ed codes like OpenZFS in tree,<br>
without any action to delete them, unlile GPL&#39;ed ones.<br>
<br>
This is, (my understanding is) because CDDL is considered as<br>
BSD-compatible license. There are more, for example, MIT license and so<br>
on.<br>
<br>
So any of BSD-compatible license is/are included in multiple licenses<br>
of the codes, FreeBSD can introduce it in tree.<br>
<br>
This is my guess.<br>
<br>
&gt; -- <br>
&gt; Cheers,<br>
&gt; Cy Schubert &lt;<a href=3D"mailto:Cy.Schubert@cschubert.com" target=3D=
"_blank" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>&gt;<br>
&gt; FreeBSD UNIX:=C2=A0 &lt;cy@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer noreferrer" target=3D"_blank"=
>https://FreeBSD.org</a><br>;
&gt; NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:cy@=
nwtime.org" target=3D"_blank" rel=3D"noreferrer">cy@nwtime.org</a>&gt;=C2=
=A0 =C2=A0 Web:=C2=A0 <a href=3D"https://nwtime.org" rel=3D"noreferrer nore=
ferrer" target=3D"_blank">https://nwtime.org</a><br>;
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0e^(i*pi)+1=3D0<br>
<br>
<br>
-- <br>
Tomoaki AOKI=C2=A0 =C2=A0 &lt;<a href=3D"mailto:junchoon@dec.sakura.ne.jp" =
target=3D"_blank" rel=3D"noreferrer">junchoon@dec.sakura.ne.jp</a>&gt;<br>
</blockquote></div>

--0000000000002c66db06251e297e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BAExUTCBL%2BoN7uLYFOPPKorRipu%2BCDwtOB6GyHK54WPzkaPOA>