Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2024 01:13:19 +0300
From:      =?UTF-8?B?0K/RgNC+0YHQu9Cw0LIg0JzQsNGI0LrQvg==?= <yaroslaw.mashko@gmail.com>
To:        Artem Hevorhian <artemhevorhian@gmail.com>
Cc:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, 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:  <CAMVwyxKu6ngEuuGM3pzdrGd=o2cnzxxBfaVRpyv5-GamJ0C%2BAQ@mail.gmail.com>
In-Reply-To: <CA%2BAExUTCBL%2BoN7uLYFOPPKorRipu%2BCDwtOB6GyHK54WPzkaPOA@mail.gmail.com>
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> <CA%2BAExUTCBL%2BoN7uLYFOPPKorRipu%2BCDwtOB6GyHK54WPzkaPOA@mail.gmail.com>

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

hello, Artem,

if u no get it, the discusion hare is more about ethical and legal point of
view. this is the very first thing that shall be settled.

other than that... if you Artem is russian, i would not help you. in
today's ukraine there is much interest in all this wi-fi topic. drones is a
one area where it will be used. and drones carry explosives.

so use your =D0=B8=D0=BC=D0=BF=D0=BE=D1=80=D1=82=D0=BE=D0=B7=D0=B0=D0=BC=D0=
=B5=D1=89=D0=B5=D0=BD=D0=B8=D0=B5 rather. russia proudly declaring that it =
will
have their very own analogues of a software. so do your own.

=D1=81=D1=80, 23 =D0=BE=D0=BA=D1=82. 2024 =D0=B3., 08:29 Artem Hevorhian <a=
rtemhevorhian@gmail.com>:

> 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.sakura.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 hel=
p
>> 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 b=
e
>> > > 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 t=
o
>> > BSD-compatibility.
>> > BSD is compatible with GPL but many users of FreeBSD are afraid that
>> GPL 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>
>>
>

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

<p dir=3D"ltr">hello, Artem,</p>
<p dir=3D"ltr">if u no get it, the discusion hare is more about ethical and=
 legal point of view. this is the very first thing that shall be settled.</=
p>
<p dir=3D"ltr">other than that... if you Artem is russian, i would not help=
 you. in today&#39;s ukraine there is much interest in all this wi-fi topic=
. drones is a one area where it will be used. and drones carry explosives.<=
/p>
<p dir=3D"ltr">so use your =D0=B8=D0=BC=D0=BF=D0=BE=D1=80=D1=82=D0=BE=D0=B7=
=D0=B0=D0=BC=D0=B5=D1=89=D0=B5=D0=BD=D0=B8=D0=B5 rather. russia proudly dec=
laring that it will have their very own analogues of a software. so do your=
 own. </p>
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">=D1=81=
=D1=80, 23 =D0=BE=D0=BA=D1=82. 2024 =D0=B3., 08:29 Artem Hevorhian &lt;<a h=
ref=3D"mailto:artemhevorhian@gmail.com">artemhevorhian@gmail.com</a>&gt;:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto">Let me rephrase.=
=C2=A0<div dir=3D"auto"><br></div><div dir=3D"auto">I would like to moderni=
ze the wifi stack so that ioctls are not used anymore in ifconfig scan oper=
ation, for example. I would like to use netlink instead.</div></div><br><di=
v 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" target=3D"_blank" rel=3D"noreferrer">junchoon@dec.sakura.ne.=
jp</a>&gt; =D0=BF=D0=B8=D1=88=D0=B5:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">On Sun, 20 Oct 2024 17:17:25 -0700<br>
Cy Schubert &lt;<a href=3D"mailto:Cy.Schubert@cschubert.com" rel=3D"norefer=
rer noreferrer" target=3D"_blank">Cy.Schubert@cschubert.com</a>&gt; wrote:<=
br>
<br>
&gt; In message &lt;<a href=3D"mailto:20241021072213.d372a39793a9564030a310=
85@dec.sakura.ne.jp" rel=3D"noreferrer noreferrer" target=3D"_blank">202410=
21072213.d372a39793a9564030a31085@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" rel=
=3D"noreferrer noreferrer" target=3D"_blank">Cy.Schubert@cschubert.com</a>&=
gt; wrote:<br>
&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 noreferrer" target=3D"_blank">https://github.com/bmeg=
li/wifi-scan</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" rel=3D"no=
referrer noreferrer" target=3D"_blank">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 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" rel=3D"noreferrer noreferrer" target=3D"_blank">cy@nwtime.org</=
a>&gt;=C2=A0 =C2=A0 Web:=C2=A0 <a href=3D"https://nwtime.org" rel=3D"norefe=
rrer noreferrer noreferrer" 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" =
rel=3D"noreferrer noreferrer" target=3D"_blank">junchoon@dec.sakura.ne.jp</=
a>&gt;<br>
</blockquote></div>
</blockquote></div>

--000000000000475fae06252c325b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMVwyxKu6ngEuuGM3pzdrGd=o2cnzxxBfaVRpyv5-GamJ0C%2BAQ>