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 = <<a href=3D"mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp<= /a>> =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 <<a href=3D"mailto:Cy.Schubert@cschubert.com" target=3D"_bla= nk" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>> wrote:<br> <br> > In message <<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>>, <br> > Tomoaki<br> > AOKI writes:<br> > > On Sun, 20 Oct 2024 12:41:05 -0700<br> > > Cy Schubert <<a href=3D"mailto:Cy.Schubert@cschubert.com" targ= et=3D"_blank" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>> wrote:<b= r> > ><br> > > > In message <CA+AExUT4fM+p85Shzp1xFFOrabS_FDwWYSbUJjmka6+R= OOJnLw@mail.gmail.<br> > > c<br> > > > om><br> > > > , Artem Hevorhian writes:<br> > > > ><br> > > > > <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> > > > ><br> > > > > Here it is. It uses nl80211.h header. I think we should= do the same on<br> > > > > FreeBSD. Mentorship is required for me to work on it. P= lease help me with<br> > > > > this.<br> > > > <br> > > > Porting GPL code to FreeBSD is not a good idea. A rewrite un= der a BSD <br> > > > license would work though.<br> > ><br> > > Or requesting and acquiring for ALL authors of ALL needed files t= o be<br> > > BSD-compatiblly licensed (including dual or more licenced in conj= unction<br> > > with GPL)?<br> > <br> > Dual licensing is ok. but one of the licenses must be BSD as opposed t= o <br> > BSD-compatibility.<br> > BSD is compatible with GPL but many users of FreeBSD are afraid that G= PL in <br> > FreeBSD will make it GPL and therefore useless for their purposes.<br> > <br> > BSD-compatibility is not enough. It should also be BSD licensed.<br> <br> It depends on from which side of view.<br> Let's limit "can we borrow any code without violating its license?= "<br> here.<br> <br> >From the point of view from GPL'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'ed).<br> <br> And FreeBSD has, for example, CDDL'ed codes like OpenZFS in tree,<br> without any action to delete them, unlile GPL'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> > -- <br> > Cheers,<br> > Cy Schubert <<a href=3D"mailto:Cy.Schubert@cschubert.com" target=3D= "_blank" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>><br> > FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=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> > NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"mailto:cy@= nwtime.org" target=3D"_blank" rel=3D"noreferrer">cy@nwtime.org</a>>=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> > <br> >=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 <<a href=3D"mailto:junchoon@dec.sakura.ne.jp" = target=3D"_blank" rel=3D"noreferrer">junchoon@dec.sakura.ne.jp</a>><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>