From e65188bb2a05cf83f50ecf2ef8042cf75abe94a0 Mon Sep 17 00:00:00 2001 From: Anjan Chanda <anjan.chanda@iopsys.eu> Date: Tue, 4 Feb 2025 08:50:29 +0100 Subject: [PATCH] add SPDX-License-Identifier: BSD-3-Clause --- src/1905_tlvs.h | 7 +++---- src/cmdu.c | 7 +++---- src/cmdu.h | 9 +++------ src/cmdu_ackq.c | 6 +++--- src/cmdu_ackq.h | 7 +++---- src/cmdu_input.c | 6 +++--- src/cmdu_output.c | 6 +++--- src/cmdufrag.c | 6 +++--- src/cmdufrag.h | 8 +++----- src/config.c | 6 +++--- src/config.h | 8 +++----- src/debug.c | 4 ++-- src/debug.h | 4 ++-- src/extensions/map/aes-siv.c | 1 + src/extensions/map/cmduchecker.c | 1 + src/extensions/map/cntlrsync.c | 1 + src/extensions/map/cntlrsync.h | 1 + src/extensions/map/easymesh.h | 9 +++++---- src/extensions/map/i1905_eapol.c | 1 + src/extensions/map/i1905_eapol.h | 7 +++---- src/extensions/map/i1905_security.c | 1 + src/extensions/map/map.c | 1 + src/extensions/map/map.h | 7 ++++--- src/extensions/map/map_module.c | 1 + src/extensions/map/map_module.h | 6 +++--- src/extensions/map/maputil.c | 1 + src/extensions/map/policy.c | 1 + src/extensions/map/r1.c | 1 + src/extensions/map/r2.c | 1 + src/extensions/map/r3.c | 1 + src/extensions/map/r4.c | 1 + src/extensions/map/r6.c | 1 + src/extensions/map/tlv_checker.c | 1 + src/extensions/map/tlv_checker.h | 4 ++-- src/extensions/snoop/snoop.c | 1 + src/extensions/topology/topology.c | 1 + src/i1905.c | 6 +++--- src/i1905.h | 8 +++----- src/i1905_al.c | 6 +++--- src/i1905_cmd.c | 6 +++--- src/i1905_cmdresp.c | 6 +++--- src/i1905_dm.c | 7 +++---- src/i1905_dm.h | 7 +++---- src/i1905_extension.c | 7 +++---- src/i1905_extension.h | 7 +++---- src/i1905_netlink.c | 8 +++----- src/i1905_security.h | 7 +++---- src/i1905_tlvs.c | 1 + src/i1905_ubus.c | 7 +++---- src/i1905_wifi.c | 7 +++---- src/i1905_wifi.h | 7 +++---- src/i1905_wsc.c | 8 +++----- src/i1905_wsc.h | 8 +++----- src/main.c | 7 +++---- src/midgen.c | 7 +++---- src/neigh.c | 7 +++---- src/neigh.h | 7 +++---- src/policy.c | 8 ++++---- src/tests/fuzz/recv/rxcmdu.c | 1 + src/tests/fuzz/send/sendcmdu.c | 1 + src/timer.c | 7 +++---- src/timer.h | 7 +++---- src/timer_impl.h | 1 + src/util.c | 7 +++---- src/util.h | 7 +++---- 65 files changed, 152 insertions(+), 163 deletions(-) diff --git a/src/1905_tlvs.h b/src/1905_tlvs.h index c0990979..65afe998 100644 --- a/src/1905_tlvs.h +++ b/src/1905_tlvs.h @@ -1,12 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * 1905_tlvs.h: 1905 tlvs definition in flat format. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef _1905_TLVS_H_ diff --git a/src/cmdu.c b/src/cmdu.c index 5fc9f848..07c501b0 100644 --- a/src/cmdu.c +++ b/src/cmdu.c @@ -1,15 +1,14 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * cmdu.c - IEEE1905 CMDU and TLV handling * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025-2024 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ - #include <stdio.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/cmdu.h b/src/cmdu.h index 35dd1d31..98cc1147 100644 --- a/src/cmdu.h +++ b/src/cmdu.h @@ -1,17 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * cmdu.h * defines structs and functions for TLVs and CMDU manipulation. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - - #ifndef CMDU_H #define CMDU_H diff --git a/src/cmdu_ackq.c b/src/cmdu_ackq.c index 66d5dc17..727d59fd 100644 --- a/src/cmdu_ackq.c +++ b/src/cmdu_ackq.c @@ -1,13 +1,13 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * cmdu_ackq.c * CMDU response and ack queue management * - * Copyright (C) 2020 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2020-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> #include <stdlib.h> diff --git a/src/cmdu_ackq.h b/src/cmdu_ackq.h index 1f5ecb4d..07e4c9e2 100644 --- a/src/cmdu_ackq.h +++ b/src/cmdu_ackq.h @@ -1,13 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * cmdu_ackq.h * CMDU pending response and ack queue management * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef CMDU_ACKQ_H diff --git a/src/cmdu_input.c b/src/cmdu_input.c index eb6da639..3673c5fd 100644 --- a/src/cmdu_input.c +++ b/src/cmdu_input.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * cmdu_input.c - received CMDU and TLV handling * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/cmdu_output.c b/src/cmdu_output.c index e25e5afe..be5109ab 100644 --- a/src/cmdu_output.c +++ b/src/cmdu_output.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * cmdu_output.c - handle CMDUs for transmit * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/cmdufrag.c b/src/cmdufrag.c index e6d5e59a..b20b91fb 100644 --- a/src/cmdufrag.c +++ b/src/cmdufrag.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * cmdufrag.c - IEEE1905 CMDU fragmentation and defragmentation handling * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ diff --git a/src/cmdufrag.h b/src/cmdufrag.h index 4341da99..98fd1694 100644 --- a/src/cmdufrag.h +++ b/src/cmdufrag.h @@ -1,16 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * cmdufrag.h * implments structs and functions for CMDU fragments. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - #ifndef CMDUFRAG_H #define CMDUFRAG_H diff --git a/src/config.c b/src/config.c index 59e0e1a8..1f63fc79 100644 --- a/src/config.c +++ b/src/config.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * config.c - IEEE-1905 config handling. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ diff --git a/src/config.h b/src/config.h index 43481f95..cafd00bc 100644 --- a/src/config.h +++ b/src/config.h @@ -1,16 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * config.h * IEEE-1905 configuration structs and functions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - #ifndef CONFIG_H #define CONFIG_H diff --git a/src/debug.c b/src/debug.c index a9fc4cf4..97f49090 100644 --- a/src/debug.c +++ b/src/debug.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * debug.c - for debug and logging * * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdlib.h> diff --git a/src/debug.h b/src/debug.h index e120f394..8f1d3b9e 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,11 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * debug.h - header file for debug and log messages. * * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. */ #ifndef DEBUG_H diff --git a/src/extensions/map/aes-siv.c b/src/extensions/map/aes-siv.c index d4eb9435..c721ab76 100644 --- a/src/extensions/map/aes-siv.c +++ b/src/extensions/map/aes-siv.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * AES SIV (RFC 5297) * Copyright (c) 2013 Cozybit, Inc. diff --git a/src/extensions/map/cmduchecker.c b/src/extensions/map/cmduchecker.c index 841095d2..d5ac1501 100644 --- a/src/extensions/map/cmduchecker.c +++ b/src/extensions/map/cmduchecker.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Functions for the syntactic validation of EasyMesh CMDU payloads. * diff --git a/src/extensions/map/cntlrsync.c b/src/extensions/map/cntlrsync.c index 3bb6c01b..dfcaa369 100644 --- a/src/extensions/map/cntlrsync.c +++ b/src/extensions/map/cntlrsync.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * cntlrsync.c - APIs to sync dynamic controller config * diff --git a/src/extensions/map/cntlrsync.h b/src/extensions/map/cntlrsync.h index 3abdbab8..06107bd1 100644 --- a/src/extensions/map/cntlrsync.h +++ b/src/extensions/map/cntlrsync.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause #ifndef DYN_CNTLR_SYNC_H #define DYN_CNTLR_SYNC_H diff --git a/src/extensions/map/easymesh.h b/src/extensions/map/easymesh.h index 3a23e277..78184f0a 100644 --- a/src/extensions/map/easymesh.h +++ b/src/extensions/map/easymesh.h @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * easymesh.h - WFA Easymesh CMDUs and TLVs definition in flat format. * - * Copyright (C) 2021-2022 IOPSYS Software Solutions AB. - * All rights reserved. - * - * See LICENSE file for license related information. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * + * Author: anjan.chanda@iopsys.eu */ + #ifndef EASYMESH_H #define EASYMESH_H diff --git a/src/extensions/map/i1905_eapol.c b/src/extensions/map/i1905_eapol.c index 7a8d1907..b14dc187 100644 --- a/src/extensions/map/i1905_eapol.c +++ b/src/extensions/map/i1905_eapol.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_eapol.c - implements EAPOL 4Way-HS as needed by 1905 security. * diff --git a/src/extensions/map/i1905_eapol.h b/src/extensions/map/i1905_eapol.h index 2db70ad2..2747e69d 100644 --- a/src/extensions/map/i1905_eapol.h +++ b/src/extensions/map/i1905_eapol.h @@ -1,12 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * i1905_eapol.h - EAPOL frame definitions for 4Way-HS. * - * Copyright (C) 2021-2022 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef I1905_EAPOL_H diff --git a/src/extensions/map/i1905_security.c b/src/extensions/map/i1905_security.c index 4ef5bdc8..cbd411e3 100644 --- a/src/extensions/map/i1905_security.c +++ b/src/extensions/map/i1905_security.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_security.c - implements 1905 security as needed by Easymesh. * diff --git a/src/extensions/map/map.c b/src/extensions/map/map.c index 45838b22..e3e1d198 100644 --- a/src/extensions/map/map.c +++ b/src/extensions/map/map.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * map.c - implements multi-ap plugin to ieee1905. * diff --git a/src/extensions/map/map.h b/src/extensions/map/map.h index a2622b46..b1507ec7 100644 --- a/src/extensions/map/map.h +++ b/src/extensions/map/map.h @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * map.h - header for internal use of multi-ap plugin. Not for export. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. - * - * See LICENSE file for license related information. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * + * Author: anjan.chanda@iopsys.eu */ #ifndef MAP2_I_H diff --git a/src/extensions/map/map_module.c b/src/extensions/map/map_module.c index 7a710af7..dafe5fb9 100644 --- a/src/extensions/map/map_module.c +++ b/src/extensions/map/map_module.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * map_module.c - implements westside interface to map client applications. * diff --git a/src/extensions/map/map_module.h b/src/extensions/map/map_module.h index ee7b9630..79724491 100644 --- a/src/extensions/map/map_module.h +++ b/src/extensions/map/map_module.h @@ -1,9 +1,9 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * map_module.h - header file for westside interface to map client applications. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. - * - * See LICENSE file for license related information. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * */ diff --git a/src/extensions/map/maputil.c b/src/extensions/map/maputil.c index 162fb9ec..89afaffb 100644 --- a/src/extensions/map/maputil.c +++ b/src/extensions/map/maputil.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * maputil.c - implements multi-ap helper functions for map applications. * diff --git a/src/extensions/map/policy.c b/src/extensions/map/policy.c index 8bfd7931..32466207 100644 --- a/src/extensions/map/policy.c +++ b/src/extensions/map/policy.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * policy.c - CMDU policy for Easymesh TLVs * diff --git a/src/extensions/map/r1.c b/src/extensions/map/r1.c index 29f89b79..642329fa 100644 --- a/src/extensions/map/r1.c +++ b/src/extensions/map/r1.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * r1.c - Easymesh-R1 TLV policy * diff --git a/src/extensions/map/r2.c b/src/extensions/map/r2.c index a0cc962f..3071530d 100644 --- a/src/extensions/map/r2.c +++ b/src/extensions/map/r2.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * r2.c - Easymesh-R2 TLV policy * diff --git a/src/extensions/map/r3.c b/src/extensions/map/r3.c index a5d52595..756fbf4b 100644 --- a/src/extensions/map/r3.c +++ b/src/extensions/map/r3.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * r3.c - Easymesh-R3 TLV policy * diff --git a/src/extensions/map/r4.c b/src/extensions/map/r4.c index 2c0cf8d6..a429316e 100644 --- a/src/extensions/map/r4.c +++ b/src/extensions/map/r4.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * r4.c - Easymesh-R4 TLV policy * diff --git a/src/extensions/map/r6.c b/src/extensions/map/r6.c index 41973409..d096cf91 100644 --- a/src/extensions/map/r6.c +++ b/src/extensions/map/r6.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * r6.c - Easymesh-R6 TLV policy (subject to change). * diff --git a/src/extensions/map/tlv_checker.c b/src/extensions/map/tlv_checker.c index 6dd20234..b3f50631 100644 --- a/src/extensions/map/tlv_checker.c +++ b/src/extensions/map/tlv_checker.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * tlv_checker.c - check if EasyMesh TLV data is valid. * diff --git a/src/extensions/map/tlv_checker.h b/src/extensions/map/tlv_checker.h index 4c6335bc..af47758b 100644 --- a/src/extensions/map/tlv_checker.h +++ b/src/extensions/map/tlv_checker.h @@ -1,11 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * tlv_checker.h - EasyMesh TLV data validation functions header file. * * Copyright (C) 2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. */ #ifndef TLV_CHECKER_H diff --git a/src/extensions/snoop/snoop.c b/src/extensions/snoop/snoop.c index 79c7c2d8..362eedc9 100644 --- a/src/extensions/snoop/snoop.c +++ b/src/extensions/snoop/snoop.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * snoop.c - snoop 1905 frames and dump them. * diff --git a/src/extensions/topology/topology.c b/src/extensions/topology/topology.c index 6aa27039..6a6845f7 100644 --- a/src/extensions/topology/topology.c +++ b/src/extensions/topology/topology.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * topology.c - build full network topology of the 1905 nodes. * diff --git a/src/i1905.c b/src/i1905.c index de5e68fd..bbce3c1a 100644 --- a/src/i1905.c +++ b/src/i1905.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905.c - IEEE-1905 core functions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905.h b/src/i1905.h index 8057c430..bc9b005f 100644 --- a/src/i1905.h +++ b/src/i1905.h @@ -1,15 +1,13 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * i1905.h - header file for ieee1905d daemon. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - #ifndef I1905_H #define I1905_H diff --git a/src/i1905_al.c b/src/i1905_al.c index b8f98912..23cc09fc 100644 --- a/src/i1905_al.c +++ b/src/i1905_al.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_al.c - IEEE-1905 AL functions * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905_cmd.c b/src/i1905_cmd.c index 73dfa457..8ac3d8d1 100644 --- a/src/i1905_cmd.c +++ b/src/i1905_cmd.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_cmd.c - contains CLI commands for status and mgmt of ieee1905d. * - * Copyright (C) 2023 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2023-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905_cmdresp.c b/src/i1905_cmdresp.c index c8d5dda7..a57680c1 100644 --- a/src/i1905_cmdresp.c +++ b/src/i1905_cmdresp.c @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_cmdresp.c - implements CLI commands. * - * Copyright (C) 2023 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2023-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905_dm.c b/src/i1905_dm.c index 1e810289..b39df7f7 100644 --- a/src/i1905_dm.c +++ b/src/i1905_dm.c @@ -1,15 +1,14 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_dm.c - IEEE-1905 datamodel related functions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu * - * See LICENSE file for license related information. - * */ - #include <stdio.h> #include <stdlib.h> #include <stdint.h> diff --git a/src/i1905_dm.h b/src/i1905_dm.h index d97fb4fb..4d7647c3 100644 --- a/src/i1905_dm.h +++ b/src/i1905_dm.h @@ -1,13 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * 1905_dm.h * IEEE-1905 data model definitions as per TR-181. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef I1905_DM_H diff --git a/src/i1905_extension.c b/src/i1905_extension.c index eb957c51..f9f6439f 100644 --- a/src/i1905_extension.c +++ b/src/i1905_extension.c @@ -1,12 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_extension.c - for extending core IEEE-1905 CMDUs. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905_extension.h b/src/i1905_extension.h index f24b84e9..a8e1ee52 100644 --- a/src/i1905_extension.h +++ b/src/i1905_extension.h @@ -1,13 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * i1905_extension.h * IEEE-1905 extension modules definitions and functions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef I1905_EXTENSION_H diff --git a/src/i1905_netlink.c b/src/i1905_netlink.c index 134758e4..c206ced7 100644 --- a/src/i1905_netlink.c +++ b/src/i1905_netlink.c @@ -1,15 +1,13 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_netlink.c - netlink interface to kernel. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/i1905_security.h b/src/i1905_security.h index 3f2c3200..70a1e3a7 100644 --- a/src/i1905_security.h +++ b/src/i1905_security.h @@ -1,12 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * i1905_security.h - 1905 security header file. * - * Copyright (C) 2021-2022 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef I1905_SECURITY_H diff --git a/src/i1905_tlvs.c b/src/i1905_tlvs.c index 8b137891..706f311b 100644 --- a/src/i1905_tlvs.c +++ b/src/i1905_tlvs.c @@ -1 +1,2 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ diff --git a/src/i1905_ubus.c b/src/i1905_ubus.c index f41c4cb9..910238a6 100644 --- a/src/i1905_ubus.c +++ b/src/i1905_ubus.c @@ -1,12 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_ubus.c - implements IEEE-1905 UBUS APIs. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905_wifi.c b/src/i1905_wifi.c index 5dcba811..c0340773 100644 --- a/src/i1905_wifi.c +++ b/src/i1905_wifi.c @@ -1,12 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_wifi.c - WiFi HAL API wrapper implementation for Easy-soc-libs libwifi.so * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/i1905_wifi.h b/src/i1905_wifi.h index a55aac76..e2de44c4 100644 --- a/src/i1905_wifi.h +++ b/src/i1905_wifi.h @@ -1,12 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * i1905_wifi.h - WiFi HAL API wrappers * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef I1905_PLATFORM_H diff --git a/src/i1905_wsc.c b/src/i1905_wsc.c index eba3d2bc..ba60749f 100644 --- a/src/i1905_wsc.c +++ b/src/i1905_wsc.c @@ -1,15 +1,13 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * i1905_wsc.c - implements IEEE-1905 WSC CMDUs * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - #include <stdio.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/i1905_wsc.h b/src/i1905_wsc.h index 4eeef9a5..234aeb74 100644 --- a/src/i1905_wsc.h +++ b/src/i1905_wsc.h @@ -1,16 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * i1905_wcs.h * IEEE-1905 AP-autoconfig WSC messages defintions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ - #ifndef I1905_WSC_H #define I1905_WSC_H diff --git a/src/main.c b/src/main.c index 8262d56c..8aa7a95d 100644 --- a/src/main.c +++ b/src/main.c @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * main.c - main entry point. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. - * - * See LICENSE file for license related information. - * + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. */ #include <stdio.h> diff --git a/src/midgen.c b/src/midgen.c index fcfb1f64..98025349 100644 --- a/src/midgen.c +++ b/src/midgen.c @@ -1,12 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * midgen.c - 1905 CMDU mid generator * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/neigh.c b/src/neigh.c index 472e6328..cf2e210f 100644 --- a/src/neigh.c +++ b/src/neigh.c @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> #include <stdlib.h> diff --git a/src/neigh.h b/src/neigh.h index 194ae937..046d1484 100644 --- a/src/neigh.h +++ b/src/neigh.h @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. All rights reserved. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef NEIGH_H diff --git a/src/policy.c b/src/policy.c index 31543660..a02744fb 100644 --- a/src/policy.c +++ b/src/policy.c @@ -1,13 +1,13 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * policy.c - 1905 tlvs policy * - * Copyright (C) 2022 IOPSYS Software Solutions AB. All rights reserved. - * - * See LICENSE file for license related information. + * Copyright (C) 2022-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * + * @author: anjan.chanda@iopsys.eu */ - #include <stdio.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/tests/fuzz/recv/rxcmdu.c b/src/tests/fuzz/recv/rxcmdu.c index 14cc32fb..0d7a450b 100644 --- a/src/tests/fuzz/recv/rxcmdu.c +++ b/src/tests/fuzz/recv/rxcmdu.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * rxcmdu.c - 1905 tlvs fuzzer to simulate received cmdus through 'rxcmdu'. * diff --git a/src/tests/fuzz/send/sendcmdu.c b/src/tests/fuzz/send/sendcmdu.c index 5ccc2932..bb2754d4 100644 --- a/src/tests/fuzz/send/sendcmdu.c +++ b/src/tests/fuzz/send/sendcmdu.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * sendcmdu.c - fuzz 1905 cmdus and send through 'cmdu' ubus command. * diff --git a/src/timer.c b/src/timer.c index 27ff0a23..def96671 100644 --- a/src/timer.c +++ b/src/timer.c @@ -1,12 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * timer.c - timer utility functions. * - * Copyright (C) 2021-2022 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/timer.h b/src/timer.h index 51a590df..2aac3acc 100644 --- a/src/timer.h +++ b/src/timer.h @@ -1,13 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * timer.h * Header file for timer utility functions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef ATIMER_H diff --git a/src/timer_impl.h b/src/timer_impl.h index 0f5aed8c..e2274dba 100644 --- a/src/timer_impl.h +++ b/src/timer_impl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause #ifndef TIMER_IMPL_H #define TIMER_IMPL_H diff --git a/src/util.c b/src/util.c index 6891b9e1..1b4dbdbf 100644 --- a/src/util.c +++ b/src/util.c @@ -1,12 +1,11 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * util.c - implements utility functions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Gnenexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #include <stdio.h> diff --git a/src/util.h b/src/util.h index 676582a2..651c9df9 100644 --- a/src/util.h +++ b/src/util.h @@ -1,13 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * util.h * implements utility functions and definitions. * - * Copyright (C) 2021 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2021-2024 IOPSYS Software Solutions AB. All rights reserved. + * Copyright (C) 2025 Genexis AB. * * Author: anjan.chanda@iopsys.eu - * - * See LICENSE file for license related information. - * */ #ifndef UTIL_H -- GitLab