[LEGAL] Update of include/nuttx/wireless/ieee80211/ieee80211.h

2022-04-13 Thread Petro Karashchenko
Hello,

We are having a PR https://github.com/apache/incubator-nuttx/pull/5755 that
is intended to update "include/nuttx/wireless/ieee80211/ieee80211.h" header
in NuttX code tree.

the changes are the sync with
https://github.com/torvalds/linux/blob/master/include/linux/ieee80211.h
verison that is available under: "/* SPDX-License-Identifier: GPL-2.0-only
*/".
Basically the changes are a reformatted code from the original Linux header
file.

I have the question if we are allowed to do it from a legal perspective?

Best regards,
Petro


Re: [LEGAL] Update of include/nuttx/wireless/ieee80211/ieee80211.h

2022-04-13 Thread Gregory Nutt



We are having a PRhttps://github.com/apache/incubator-nuttx/pull/5755  that
is intended to update "include/nuttx/wireless/ieee80211/ieee80211.h" header
in NuttX code tree.

the changes are the sync with
https://github.com/torvalds/linux/blob/master/include/linux/ieee80211.h
verison that is available under: "/* SPDX-License-Identifier: GPL-2.0-only
*/".
Basically the changes are a reformatted code from the original Linux header
file.

I have the question if we are allowed to do it from a legal perspective?


Probably not.  Any code that derives from GPL is also GPL. Reformatting 
does not effect that; the code still derives from GPL.


But there are caveats for Linux header files.  I am not an attorney, so 
I don't want claim too much knowledge on this.  But use of header files 
that define operating system interfaces are considered "normal use" the 
SPDX referenced in the Linux COPYING file.  That is 
https://spdx.org/licenses/Linux-syscall-note.html :


   /NOTE! This copyright does *not* cover user programs that use kernel
   services by normal system calls - this is merely considered normal
   use of the kernel, and does *not* fall under the heading of "derived
   work". Also note that the GPL below is copyrighted by the Free
   Software Foundation, but the instance of code that it refers to (the
   Linux kernel) is copyrighted by me and others who actually wrote it./

   //

   /Linus Torvalds/


Re: [LEGAL] Update of include/nuttx/wireless/ieee80211/ieee80211.h

2022-04-13 Thread Alan Carvalho de Assis
Simple header files, for example only symbols definitions are not
considered derivative work, more info:

https://linux.slashdot.org/story/11/03/20/1529238/rms-on-header-files-and-derivative-works

On 4/13/22, Gregory Nutt  wrote:
>
>> We are having a PRhttps://github.com/apache/incubator-nuttx/pull/5755
>> that
>> is intended to update "include/nuttx/wireless/ieee80211/ieee80211.h"
>> header
>> in NuttX code tree.
>>
>> the changes are the sync with
>> https://github.com/torvalds/linux/blob/master/include/linux/ieee80211.h
>> verison that is available under: "/* SPDX-License-Identifier:
>> GPL-2.0-only
>> */".
>> Basically the changes are a reformatted code from the original Linux
>> header
>> file.
>>
>> I have the question if we are allowed to do it from a legal perspective?
>
> Probably not.  Any code that derives from GPL is also GPL. Reformatting
> does not effect that; the code still derives from GPL.
>
> But there are caveats for Linux header files.  I am not an attorney, so
> I don't want claim too much knowledge on this.  But use of header files
> that define operating system interfaces are considered "normal use" the
> SPDX referenced in the Linux COPYING file.  That is
> https://spdx.org/licenses/Linux-syscall-note.html :
>
> /NOTE! This copyright does *not* cover user programs that use kernel
> services by normal system calls - this is merely considered normal
> use of the kernel, and does *not* fall under the heading of "derived
> work". Also note that the GPL below is copyrighted by the Free
> Software Foundation, but the instance of code that it refers to (the
> Linux kernel) is copyrighted by me and others who actually wrote it./
>
> //
>
> /Linus Torvalds/
>


Re: Websockets with NuttX

2022-04-13 Thread Petro Karashchenko
Hi,

I spent some time and drafted libwebsockets support in
https://github.com/apache/incubator-nuttx-apps/pull/1135
But for now do not have much time to test if it works. If anybody is
interested in trying it please feel free to do it. I verified that build
pass only.

Probably will have some time later to do the testing.

Best regards,
Petro

чт, 7 квіт. 2022 р. о 02:44 alvin.pe...@gmail.com 
пише:

> Hi Petro,I use wslay library in my project,and works  fine.
> 
> 
> 
> 
> 
>  回复的原邮件 
> 
> 
> 
> 
> 发件人
> 
> 
>  style="text-decoration:none;color:#0886e8;" href="mailto:
> petro.karashche...@gmail.com">Petro
> Karashchenko
> 
> 
> 
> 
> 日期
> 
> 
> 2022年04月05日 17:45
> 
> 
> 
> 
> 收件人
> 
> 
>  style="text-decoration:none;color:#0886e8;" href="mailto:
> dev@nuttx.apache.org">dev@nuttx.apache.org
> 
> 
> 
> 
> 抄送至
> 
> 
>
> 
> 
> 
> 
> 主题
> 
> 
> Websockets with NuttX
> 
> 
> 
> 
> Hello team,Has anybody used websockets with NuttX? If
> yes, then which libraries haveyou used?Maybe there are some
> examples?Thank you in advance for repliesBest
> regards,Petro
> 
> 
>