From 8dd79199f8a09ee3af6853e01a2ab3bab7684d81 Mon Sep 17 00:00:00 2001 From: Markus Fritsche Date: Fri, 8 May 2026 00:03:50 +0200 Subject: [PATCH 26/29] =?UTF-8?q?bes2600:=20Patch=20G=20=E2=80=94=20restor?= =?UTF-8?q?e=20SPDX=20identifiers=20+=20ST-Ericsson=20attribution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bes2600 driver is a fork of the upstream cw1200 driver (drivers/net/wireless/st/cw1200/, ST-Ericsson, Dmitry Tarnyagin 2010-2011). The fork's file headers have three GPL-compliance issues: 1. NO SPDX-License-Identifier on any of 48 source files (cw1200 mainline has them on all 25). kernel.org-mandated since 2017. 2. Original "Copyright (c) 2010, ST-Ericsson" lines stripped from all files inherited from cw1200, replaced with "Copyright (c) 2010, Bestechnic" — factually impossible (Bestechnic did not author the 2010 work) and a GPL-2.0 §1 attribution-preservation violation. 3. The "GPL version 2 as published by the Free Software Foundation" boilerplate paragraph is redundant alongside SPDX and is the legacy form modern kernel sources have replaced. This patch corrects all three for the 48 .c/.h files in bes2600/: - Adds `// SPDX-License-Identifier: GPL-2.0-only` (or `/* ... */` for headers) as line 1 of every file. - Restores `Copyright (c) 2010, ST-Ericsson` + `Author: Dmitry Tarnyagin ` as the FIRST copyright chain entry on all 22 files derived from cw1200 (bh.{c,h}, debug.{c,h}, fwio.{c,h}, hwio.{c,h}, main.c, pm.{c,h}, queue.{c,h}, scan.{c,h}, sta.{c,h}, txrx.{c,h}, wsm.{c,h}). - Keeps `Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd.` as the SECOND chain entry where Bestechnic genuinely contributed. - Notes "Derived from cw1200_sdio.c" + ST-Ericsson copyright on bes2600_sdio.c (heavy derivation, not a literal rename). - Notes "Replaces hwbus.h from cw1200/" + ST-Ericsson copyright on sbus.h. - Preserves the prism54/islsm authorship chain on main.c and bes2600.h (Michael Wu 2006 + Jean-Baptiste Note 2004-2006). - Drops the GPL-2.0 boilerplate paragraph in favour of SPDX. No code changes — only file-header comment blocks. Module build is unaffected (verified by header-only diff scope). This is a prerequisite for any kernel.org submission attempt. The existing MODULE_LICENSE("GPL") + MODULE_AUTHOR(Tarnyagin@stericsson.com) declarations were already present and are unchanged here; the mismatch between MODULE_AUTHOR and the (since-corrected) per-file copyrights is now resolved. --- bes2600/ap.c | 9 +++------ bes2600/ap.h | 9 +++------ bes2600/bes2600.h | 11 ++++------- bes2600/bes2600_factory.c | 9 +++------ bes2600/bes2600_factory.h | 9 +++------ bes2600/bes2600_plat.h | 9 +++------ bes2600/bes2600_sdio.c | 13 +++++++------ bes2600/bes_chardev.c | 9 +++------ bes2600/bes_chardev.h | 9 +++------ bes2600/bes_fw.c | 9 +++------ bes2600/bes_fw_common.c | 9 +++------ bes2600/bes_fw_common.h | 9 +++------ bes2600/bes_log.h | 7 +++++++ bes2600/bes_nl80211_testmode_msg.h | 9 +++------ bes2600/bes_pwr.c | 9 +++------ bes2600/bes_pwr.h | 9 +++------ bes2600/bh.c | 12 ++++++------ bes2600/bh.h | 12 ++++++------ bes2600/debug.c | 12 ++++++------ bes2600/debug.h | 12 ++++++------ bes2600/epta_coex.c | 9 +++------ bes2600/epta_coex.h | 9 +++------ bes2600/epta_request.c | 9 +++------ bes2600/epta_request.h | 9 +++------ bes2600/fwio.c | 12 ++++++------ bes2600/fwio.h | 12 ++++++------ bes2600/ht.h | 9 +++------ bes2600/hwio.c | 12 ++++++------ bes2600/hwio.h | 15 +++++---------- bes2600/itp.c | 10 +++------- bes2600/itp.h | 9 +++------ bes2600/main.c | 18 ++++++++++++------ bes2600/pm.c | 12 ++++++------ bes2600/pm.h | 12 ++++++------ bes2600/queue.c | 12 ++++++------ bes2600/queue.h | 12 ++++++------ bes2600/sbus.h | 12 ++++++------ bes2600/scan.c | 12 ++++++------ bes2600/scan.h | 12 ++++++------ bes2600/sta.c | 12 ++++++------ bes2600/sta.h | 12 ++++++------ bes2600/tx_loop.c | 9 +++------ bes2600/tx_loop.h | 9 +++------ bes2600/txrx.c | 12 ++++++------ bes2600/txrx.h | 12 ++++++------ bes2600/wifi_testmode_cmd.c | 9 +++------ bes2600/wsm.c | 13 ++++++------- bes2600/wsm.h | 14 +++++--------- 48 files changed, 223 insertions(+), 292 deletions(-) diff --git a/drivers/staging/bes2600/ap.c b/drivers/staging/bes2600/ap.c index 71660d4..0a23790 100644 --- a/drivers/staging/bes2600/ap.c +++ b/drivers/staging/bes2600/ap.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * mac80211 STA and AP API for mac80211 BES2600 drivers + * AP mode for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "bes2600.h" diff --git a/drivers/staging/bes2600/ap.h b/drivers/staging/bes2600/ap.h index 6f27852..f6e88c6 100644 --- a/drivers/staging/bes2600/ap.h +++ b/drivers/staging/bes2600/ap.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * mac80211 STA and AP API for mac80211 BES2600 drivers + * AP mode interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #ifndef AP_H_INCLUDED diff --git a/drivers/staging/bes2600/bes2600.h b/drivers/staging/bes2600/bes2600.h index ec41141..84059c7 100644 --- a/drivers/staging/bes2600/bes2600.h +++ b/drivers/staging/bes2600/bes2600.h @@ -1,18 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Common private data for BES2600 drivers + * Common private data for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * * Based on the mac80211 Prism54 code, which is * Copyright (c) 2006, Michael Wu * - * Based on the islsm (softmac prism54) driver, which is: + * Based on the islsm (softmac prism54) driver, which is * Copyright 2004-2006 Jean-Baptiste Note , et al. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_H diff --git a/drivers/staging/bes2600/bes2600_factory.c b/drivers/staging/bes2600/bes2600_factory.c index 1b43b41..0d2bfa1 100644 --- a/drivers/staging/bes2600/bes2600_factory.c +++ b/drivers/staging/bes2600/bes2600_factory.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Factory calibration loader for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/bes2600_factory.h b/drivers/staging/bes2600/bes2600_factory.h index 7dbe9f8..0b1a321 100644 --- a/drivers/staging/bes2600/bes2600_factory.h +++ b/drivers/staging/bes2600/bes2600_factory.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Factory calibration loader interface * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef __FACTORY_H__ #define __FACTORY_H__ diff --git a/drivers/staging/bes2600/bes2600_plat.h b/drivers/staging/bes2600/bes2600_plat.h index 63c3275..ebec635 100644 --- a/drivers/staging/bes2600/bes2600_plat.h +++ b/drivers/staging/bes2600/bes2600_plat.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Platform data for BES2600 SDIO bus * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_PLAT_H_INCLUDED #define BES2600_PLAT_H_INCLUDED diff --git a/drivers/staging/bes2600/bes2600_sdio.c b/drivers/staging/bes2600/bes2600_sdio.c index b6b4e4e..3abda2a 100644 --- a/drivers/staging/bes2600/bes2600_sdio.c +++ b/drivers/staging/bes2600/bes2600_sdio.c @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 SDIO driver for BES2600 device + * SDIO bus glue for BES2600 mac80211 driver + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. + * Derived from drivers/net/wireless/st/cw1200/cw1200_sdio.c + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin * - * Copyright (c) 2010, Bestechnic - * Author: * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #define DEBUG 1 #include diff --git a/drivers/staging/bes2600/bes_chardev.c b/drivers/staging/bes2600/bes_chardev.c index 224c62d..02dcd43 100644 --- a/drivers/staging/bes2600/bes_chardev.c +++ b/drivers/staging/bes2600/bes_chardev.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Character device for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #include diff --git a/drivers/staging/bes2600/bes_chardev.h b/drivers/staging/bes2600/bes_chardev.h index 310ab81..3e4eee6 100644 --- a/drivers/staging/bes2600/bes_chardev.h +++ b/drivers/staging/bes2600/bes_chardev.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Character device interface for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef __BES_CHARDEV_H__ #define __BES_CHARDEV_H__ diff --git a/drivers/staging/bes2600/bes_fw.c b/drivers/staging/bes2600/bes_fw.c index d612c3c..6c5598b 100644 --- a/drivers/staging/bes2600/bes_fw.c +++ b/drivers/staging/bes2600/bes_fw.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Firmware download for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "bes_fw_common.h" #include "bes2600.h" diff --git a/drivers/staging/bes2600/bes_fw_common.c b/drivers/staging/bes2600/bes_fw_common.c index 2e47455..a0c1f93 100644 --- a/drivers/staging/bes2600/bes_fw_common.c +++ b/drivers/staging/bes2600/bes_fw_common.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Firmware download common code for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "bes_fw_common.h" #include "bes_log.h" diff --git a/drivers/staging/bes2600/bes_fw_common.h b/drivers/staging/bes2600/bes_fw_common.h index 5c6561a..dcd5200 100644 --- a/drivers/staging/bes2600/bes_fw_common.h +++ b/drivers/staging/bes2600/bes_fw_common.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Firmware download common interface * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef __BES_FW_COMMON_H__ #define __BES_FW_COMMON_H__ diff --git a/drivers/staging/bes2600/bes_log.h b/drivers/staging/bes2600/bes_log.h index 65cf703..7d3c4b8 100644 --- a/drivers/staging/bes2600/bes_log.h +++ b/drivers/staging/bes2600/bes_log.h @@ -1,3 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * printk wrappers for BES2600 + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. + * + */ extern struct device *global_dev; #ifdef CONFIG_BES2600_ENABLE_DEVEL_LOGS diff --git a/drivers/staging/bes2600/bes_nl80211_testmode_msg.h b/drivers/staging/bes2600/bes_nl80211_testmode_msg.h index b70a0dd..c97c1ad 100644 --- a/drivers/staging/bes2600/bes_nl80211_testmode_msg.h +++ b/drivers/staging/bes2600/bes_nl80211_testmode_msg.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Vendor testmode messages for BES2600 * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES_NL80211_TESTMODE_MSG_H diff --git a/drivers/staging/bes2600/bes_pwr.c b/drivers/staging/bes2600/bes_pwr.c index 620acef..a3f954b 100644 --- a/drivers/staging/bes2600/bes_pwr.c +++ b/drivers/staging/bes2600/bes_pwr.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Chip-side power state machine for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #include diff --git a/drivers/staging/bes2600/bes_pwr.h b/drivers/staging/bes2600/bes_pwr.h index 92de90b..49477b3 100644 --- a/drivers/staging/bes2600/bes_pwr.h +++ b/drivers/staging/bes2600/bes_pwr.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Chip-side power state machine interface * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef __BES_PWR_H__ #define __BES_PWR_H__ diff --git a/drivers/staging/bes2600/bh.c b/drivers/staging/bes2600/bh.c index d5a8c77..0e0888e 100644 --- a/drivers/staging/bes2600/bh.c +++ b/drivers/staging/bes2600/bh.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Bottom-half thread for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #include diff --git a/drivers/staging/bes2600/bh.h b/drivers/staging/bes2600/bh.h index 9ed08b1..700f2aa 100644 --- a/drivers/staging/bes2600/bh.h +++ b/drivers/staging/bes2600/bh.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Device handling thread interface for mac80211 BES2600 drivers + * Bottom-half thread interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_BH_H diff --git a/drivers/staging/bes2600/debug.c b/drivers/staging/bes2600/debug.c index 0d68392..47e27be 100644 --- a/drivers/staging/bes2600/debug.c +++ b/drivers/staging/bes2600/debug.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Debugging interface for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/debug.h b/drivers/staging/bes2600/debug.h index 3714577..5914ffc 100644 --- a/drivers/staging/bes2600/debug.h +++ b/drivers/staging/bes2600/debug.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * DebugFS code for BES2600 mac80211 driver + * Debugging interface for BES2600 mac80211 driver * - * Copyright (c) 2011, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_DEBUG_H_INCLUDED diff --git a/drivers/staging/bes2600/epta_coex.c b/drivers/staging/bes2600/epta_coex.c index dfdf8e7..3ed76f1 100644 --- a/drivers/staging/bes2600/epta_coex.c +++ b/drivers/staging/bes2600/epta_coex.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * BT/WiFi coexistence (ePTA) for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #include diff --git a/drivers/staging/bes2600/epta_coex.h b/drivers/staging/bes2600/epta_coex.h index bc9eed6..f8a5fea 100644 --- a/drivers/staging/bes2600/epta_coex.h +++ b/drivers/staging/bes2600/epta_coex.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * BT/WiFi coexistence interface for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef __EPTA_COEX_H__ #define __EPTA_COEX_H__ diff --git a/drivers/staging/bes2600/epta_request.c b/drivers/staging/bes2600/epta_request.c index 3b3e6af..486f02b 100644 --- a/drivers/staging/bes2600/epta_request.c +++ b/drivers/staging/bes2600/epta_request.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * BT/WiFi coexistence request handling * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #include diff --git a/drivers/staging/bes2600/epta_request.h b/drivers/staging/bes2600/epta_request.h index f0217c2..b3d9228 100644 --- a/drivers/staging/bes2600/epta_request.h +++ b/drivers/staging/bes2600/epta_request.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * BT/WiFi coexistence request interface * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef EPTA_REQUEST_H #define EPTA_REQUEST_H diff --git a/drivers/staging/bes2600/fwio.c b/drivers/staging/bes2600/fwio.c index 5fe6b50..29aa2b3 100644 --- a/drivers/staging/bes2600/fwio.c +++ b/drivers/staging/bes2600/fwio.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Firmware I/O for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/fwio.h b/drivers/staging/bes2600/fwio.h index a4afb7a..adbd708 100644 --- a/drivers/staging/bes2600/fwio.h +++ b/drivers/staging/bes2600/fwio.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Firmware I/O interface for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef FWIO_H_INCLUDED #define FWIO_H_INCLUDED diff --git a/drivers/staging/bes2600/ht.h b/drivers/staging/bes2600/ht.h index b5caa29..5ac077b 100644 --- a/drivers/staging/bes2600/ht.h +++ b/drivers/staging/bes2600/ht.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * HT-related code for BES2600 driver + * HT capability config for BES2600 * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_HT_H_INCLUDED diff --git a/drivers/staging/bes2600/hwio.c b/drivers/staging/bes2600/hwio.c index ea88210..0934a13 100644 --- a/drivers/staging/bes2600/hwio.c +++ b/drivers/staging/bes2600/hwio.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Low-level device IO routines for BES2600 drivers + * Low-level device I/O for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/hwio.h b/drivers/staging/bes2600/hwio.h index b9c1858..48e5215 100644 --- a/drivers/staging/bes2600/hwio.h +++ b/drivers/staging/bes2600/hwio.h @@ -1,17 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Low-level API for mac80211 BES2600 drivers + * Low-level device I/O interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin * - * Based on: - * UMAC BES2600 driver which is - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_HWIO_H_INCLUDED diff --git a/drivers/staging/bes2600/itp.c b/drivers/staging/bes2600/itp.c index c50b29c..7cc237c 100644 --- a/drivers/staging/bes2600/itp.c +++ b/drivers/staging/bes2600/itp.c @@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * mac80211 glue code for mac80211 BES2600 drivers - * ITP code + * ITP (in-band test mode) for BES2600 * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/itp.h b/drivers/staging/bes2600/itp.h index 5cfba46..bec3647 100644 --- a/drivers/staging/bes2600/itp.h +++ b/drivers/staging/bes2600/itp.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * ITP code for BES2600 mac80211 driver + * ITP interface for BES2600 * - * Copyright (c) 2011, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_ITP_H_INCLUDED diff --git a/drivers/staging/bes2600/main.c b/drivers/staging/bes2600/main.c index 90a8ff8..19f196f 100644 --- a/drivers/staging/bes2600/main.c +++ b/drivers/staging/bes2600/main.c @@ -1,12 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Main entry/init for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. + * + * Based on the mac80211 Prism54 code, which is + * Copyright (c) 2006, Michael Wu + * + * Based on the islsm (softmac prism54) driver, which is + * Copyright 2004-2006 Jean-Baptiste Note , et al. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/pm.c b/drivers/staging/bes2600/pm.c index c32c68e..0424aae 100644 --- a/drivers/staging/bes2600/pm.c +++ b/drivers/staging/bes2600/pm.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 power management API for BES2600 drivers + * Power management for BES2600 mac80211 driver * - * Copyright (c) 2011, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/pm.h b/drivers/staging/bes2600/pm.h index 0f6943e..ae70453 100644 --- a/drivers/staging/bes2600/pm.h +++ b/drivers/staging/bes2600/pm.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 power management interface for BES2600 mac80211 drivers + * Power management interface for BES2600 mac80211 driver * - * Copyright (c) 2011, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef PM_H_INCLUDED diff --git a/drivers/staging/bes2600/queue.c b/drivers/staging/bes2600/queue.c index f050df6..cc606c1 100644 --- a/drivers/staging/bes2600/queue.c +++ b/drivers/staging/bes2600/queue.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * O(1) TX queue with built-in allocator for BES2600 drivers + * O(1) TX queue for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/queue.h b/drivers/staging/bes2600/queue.h index a5395b6..94874dd 100644 --- a/drivers/staging/bes2600/queue.h +++ b/drivers/staging/bes2600/queue.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * O(1) TX queue with built-in allocator for BES2600 drivers + * O(1) TX queue interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_QUEUE_H_INCLUDED diff --git a/drivers/staging/bes2600/sbus.h b/drivers/staging/bes2600/sbus.h index 96b1d4c..43c2dae 100644 --- a/drivers/staging/bes2600/sbus.h +++ b/drivers/staging/bes2600/sbus.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Common sbus abstraction layer interface for bes2600 wireless driver + * Bus abstraction interface for BES2600 + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. + * Replaces hwbus.h from drivers/net/wireless/st/cw1200/ + * Copyright (c) 2010, ST-Ericsson * - * Copyright (c) 2010, Bestechnic - * Author: * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_SBUS_H diff --git a/drivers/staging/bes2600/scan.c b/drivers/staging/bes2600/scan.c index 16b5d0f..fb1d298 100644 --- a/drivers/staging/bes2600/scan.c +++ b/drivers/staging/bes2600/scan.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Scan implementation for BES2600 mac80211 drivers + * Scan implementation for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/scan.h b/drivers/staging/bes2600/scan.h index 1f3adea..295be18 100644 --- a/drivers/staging/bes2600/scan.h +++ b/drivers/staging/bes2600/scan.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Scan interface for BES2600 mac80211 drivers + * Scan interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef SCAN_H_INCLUDED diff --git a/drivers/staging/bes2600/sta.c b/drivers/staging/bes2600/sta.c index 81f88ed..bfd8ae9 100644 --- a/drivers/staging/bes2600/sta.c +++ b/drivers/staging/bes2600/sta.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 STA API for BES2600 drivers + * Mac80211 STA API for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/sta.h b/drivers/staging/bes2600/sta.h index e4e266c..6ea3b0f 100644 --- a/drivers/staging/bes2600/sta.h +++ b/drivers/staging/bes2600/sta.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 STA interface for BES2600 mac80211 drivers + * Mac80211 STA API interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #ifndef STA_H_INCLUDED diff --git a/drivers/staging/bes2600/tx_loop.c b/drivers/staging/bes2600/tx_loop.c index baab3f0..e6cf072 100644 --- a/drivers/staging/bes2600/tx_loop.c +++ b/drivers/staging/bes2600/tx_loop.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * Test-mode TX loopback for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include "bes2600.h" #include "wsm.h" diff --git a/drivers/staging/bes2600/tx_loop.h b/drivers/staging/bes2600/tx_loop.h index de82b30..7f42c04 100644 --- a/drivers/staging/bes2600/tx_loop.h +++ b/drivers/staging/bes2600/tx_loop.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Mac80211 driver for BES2600 device + * Test-mode TX loopback interface for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef __TX_LOOP_H__ #define __TX_LOOP_H__ diff --git a/drivers/staging/bes2600/txrx.c b/drivers/staging/bes2600/txrx.c index 346312c..7cdb7de 100644 --- a/drivers/staging/bes2600/txrx.c +++ b/drivers/staging/bes2600/txrx.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Datapath implementation for BES2600 mac80211 drivers + * Datapath implementation for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/txrx.h b/drivers/staging/bes2600/txrx.h index cb7c192..6466c33 100644 --- a/drivers/staging/bes2600/txrx.h +++ b/drivers/staging/bes2600/txrx.h @@ -1,12 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Datapath interface for BES2600 mac80211 drivers + * Datapath interface for BES2600 mac80211 driver * - * Copyright (c) 2010, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_TXRX_H diff --git a/drivers/staging/bes2600/wifi_testmode_cmd.c b/drivers/staging/bes2600/wifi_testmode_cmd.c index 2494cca..c010e8d 100644 --- a/drivers/staging/bes2600/wifi_testmode_cmd.c +++ b/drivers/staging/bes2600/wifi_testmode_cmd.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Mac80211 driver for BES2600 device + * WiFi testmode commands for BES2600 * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifdef CONFIG_BES2600_TESTMODE #include diff --git a/drivers/staging/bes2600/wsm.c b/drivers/staging/bes2600/wsm.c index 55a4e2b..908c965 100644 --- a/drivers/staging/bes2600/wsm.c +++ b/drivers/staging/bes2600/wsm.c @@ -1,13 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * WSM host interface (HI) implementation for - * BES2600 mac80211 drivers. + * WSM host interface for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin + * + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/staging/bes2600/wsm.h b/drivers/staging/bes2600/wsm.h index 22845ac..0d755a3 100644 --- a/drivers/staging/bes2600/wsm.h +++ b/drivers/staging/bes2600/wsm.h @@ -1,16 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * WSM host interface (HI) interface for BES2600 mac80211 drivers + * WSM host interface for BES2600 mac80211 driver * - * Copyright (c) 2022, Bestechnic - * Author: + * Copyright (c) 2010, ST-Ericsson + * Author: Dmitry Tarnyagin * - * Based on BES2600 UMAC WSM API, which is - * Copyright (C) SA 2010 - * Author: Stewart Mathers + * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef BES2600_WSM_H_INCLUDED -- 2.54.0