From nobody Wed Oct 23 22:13:19 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XYjxB6jYTz5Zk2V for ; Wed, 23 Oct 2024 22:13:34 +0000 (UTC) (envelope-from yaroslaw.mashko@gmail.com) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYjxB3j19z4dWt for ; Wed, 23 Oct 2024 22:13:34 +0000 (UTC) (envelope-from yaroslaw.mashko@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-71e93d551a3so222692b3a.1 for ; Wed, 23 Oct 2024 15:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729721613; x=1730326413; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Idl6uhibHRWLxtCXNyueJPIlHF9zAIykOrHKM6hWUus=; b=M3oqoqcQJDLxTNfNaHGkVANGZwpiu2REM+zvRGfEBfcZdsk4ss0ej/DWnJ9Ay6Ei6P kiwbFI27+ZneY2OQOL9wi8UzNloN4HhSCNZIWl8tOzoS0tDd+KShoIu5Tcez9TwQKgoX 5mUkyknhmmxJAAKNgHxngP/SuOtI047QQ8A5F2J8kPzah2vbEFuBoi/FUcscoTj9B6Oo PpYOTX0QliWl7jXbeM1EYL7FA44/ACcO+g4BgAU2ru/dPwzf8YhdPK9eQ+yZJ60vhMI3 A4T/bbJLul1jH/oXEiBhrKftCK79VSVGnaow9EHDdMu8/gmmibHxbhsyZpPrEARPVI/Y fZAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729721613; x=1730326413; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Idl6uhibHRWLxtCXNyueJPIlHF9zAIykOrHKM6hWUus=; b=J7IMeVa+qRJDZACF9iFjqSugoWOY+cOKeex86PALlQLHJldMMFtdbvfsfbpkuCEqVO Yr9CF4xeYY8N3/GHm9rLOpzSzscl0YewKsa3sN2cxI4pFGQozFRuIW+mTce1BGDRLtMe T1FVZ7O5dpWNGXVagfbhkKF56VbsveU3/9F8AI2XoCbkrACuohef57c8L8VYHyOFGavA it+lZTHjGEHdYZUwXPdXfB6OGYCqK/qXCPNUl1gyxmZCP5bsxdHa/5F/7rhi5jwnDWyC jJ6aRK9mZnwIZG+MOvinjmIdnz5chTO00AiAHNzFCL4xQb2NPLXFUHbsStmhsNxif+hr e66g== X-Forwarded-Encrypted: i=1; AJvYcCVExAH6IhnGepLxwIETGjvPt71FJO+B+SX7H37isYOMRb5gdjYnF3KRS1CBLJIUzRroWaEwN8KzEbkveP9mXEg=@freebsd.org X-Gm-Message-State: AOJu0YwibfkY08Mz/1vpofbhYqmWuU6EDHD7cmONOMDxhkC7+lpxM2Xz ft+lHZv3b5ZZ2hTCya1ywL8Sqd2LVozv5WLxmOTARWo0+jXcX/Y9XVenlMHqrSLqoFuLhxCY1OL scEK2/eyXNxNkN1iqBAyG8DHYfYVFsw== X-Google-Smtp-Source: AGHT+IFNVovcVMyjzFXANbsMM3QynlRhydGUuge2NELU9eUzv+WihMinfYEqm4pTz1zejxJQgHjcdST3PX4Qs7/UVX4= X-Received: by 2002:a05:6a00:890:b0:71e:19a:c48b with SMTP id d2e1a72fcca58-72030c9e440mr5654400b3a.22.1729721612588; Wed, 23 Oct 2024 15:13:32 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <20241020194105.87D67216@slippy.cwsent.com> <20241021072213.d372a39793a9564030a31085@dec.sakura.ne.jp> <20241021001725.132A1393@slippy.cwsent.com> <20241021202904.91d6af0106facdf70f8f8f36@dec.sakura.ne.jp> In-Reply-To: From: =?UTF-8?B?0K/RgNC+0YHQu9Cw0LIg0JzQsNGI0LrQvg==?= Date: Thu, 24 Oct 2024 01:13:19 +0300 Message-ID: Subject: Re: Help wanted on porting a wifi library from Linux to FreeBSD To: Artem Hevorhian Cc: Tomoaki AOKI , Cy Schubert , freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000475fae06252c325b" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XYjxB3j19z4dWt X-Spamd-Bar: ---- --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 : > 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 wrote: >> >> > In message <20241021072213.d372a39793a9564030a31085@dec.sakura.ne.jp>, >> > Tomoaki >> > AOKI writes: >> > > On Sun, 20 Oct 2024 12:41:05 -0700 >> > > Cy Schubert wrote: >> > > >> > > > In message >> > > > 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 >> > FreeBSD UNIX: Web: https://FreeBSD.org >> > NTP: Web: https://nwtime.org >> > >> > e^(i*pi)+1=3D0 >> >> >> -- >> Tomoaki AOKI >> > --000000000000475fae06252c325b Content-Type: text/html; 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.<= /p>

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.


=D1=81= =D1=80, 23 =D0=BE=D0=BA=D1=82. 2024 =D0=B3., 08:29 Artem Hevorhian <artemhevorhian@gmail.com>:
Let me rephrase.= =C2=A0

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.

=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:
Cy.Schubert@cschubert.com> wrote:<= br>
> In message <202410= 21072213.d372a39793a9564030a31085@dec.sakura.ne.jp>,
> Tomoaki
> AOKI writes:
> > On Sun, 20 Oct 2024 12:41:05 -0700
> > Cy Schubert <Cy.Schubert@cschubert.com&= gt; wrote:
> >
> > > In message <CA+AExUT4fM+p85Shzp1xFFOrabS_FDwWYSbUJjmka6+R= OOJnLw@mail.gmail.
> > c
> > > om>
> > > , Artem Hevorhian writes:
> > > >
> > > > https://github.com/bmeg= li/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. P= lease help me with
> > > > this.
> > >
> > > Porting GPL code to FreeBSD is not a good idea. A rewrite un= der a BSD
> > > license would work though.
> >
> > Or requesting and acquiring for ALL authors of ALL needed files t= o be
> > BSD-compatiblly licensed (including dual or more licenced in conj= unction
> > 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 G= PL 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:=C2=A0 <cy@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://FreeBSD.org
> NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<cy@nwtime.org>=C2=A0 =C2=A0 Web:=C2=A0 https://nwtime.org
>
>=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


--
Tomoaki AOKI=C2=A0 =C2=A0 <junchoon@dec.sakura.ne.jp>
--000000000000475fae06252c325b--