forked from marfrit/kernel-agent
b04c8cd501
PR #33's per-series mirrors were generated against the bes2600-dkms cleanups branch (rooted at fe73571) without rebasing onto the v7.0-danctnix1 kernel baseline. Result: per-commit diffs carried stale baseline context (e.g. from_timer rather than the new timer_container_of API), so the cumulative no longer applied cleanly to ohm's actual base. pkgrel=6 build #1 failed with 'Hunk #3 FAILED' in Patch D's sta.c. Fix: in marfrit/bes2600-dkms, create danctnix-sync branch (fe73571 + drop-in replace bes2600/ with v7.0-danctnix1's drivers/staging/bes2600/), rebase cleanups onto it as cleanups-rebased-on-danctnix, manually resolve the resulting conflicts keeping each commit's intent + the new baseline context, rebase Patch H accordingly. Format-patch and re-route to the same series-dir names as PR #33. Conflict resolution notes: - 'remove userspace /dev/bes2600 character device interface' commit: the chardev wrapper was removed but two utility funcs that danctnix's bes2600_btuart.c depends on (bes2600_chrdev_is_bus_error, bes2600_chrdev_switch_subsys_glb) were re-added with EXPORT_SYMBOL_GPL. bes2600_switch_bt re-added as static (file-local, called only from bes2600_chrdev_switch_subsys_glb). - Patch D (atomicize ba_lock): re-resolved bes2600_ba_timer's timer_container_of() vs from_timer() to keep the new API. - SCS Makefile @@ hunk counts corrected from -9,6 +9,10 to -9,6 +9,11 (the original was actually wrong; build-via-fuzz was masking it). Cumulative b2sum: ka-promote ohm now emits eb179c03f35a4dbaec2e40036f0033ef04985bb6b14ab22419d68e5caaa5874f... (279 554 bytes, 32 patches resolved). pkgrel=6 built from this manifest + installed on ohm 2026-05-19 ~23:39. Functional verification: bes2600 + bes2600_btuart both load, Pattern A 0 over fresh boot, wlan0 associates to newton. srcversion 1A919EED0E6DC2478559B17 differs from pkgrel=5's BEB625FA... — the reconstruction is functionally equivalent (5 GHz working, no firmware/driver race conditions) but NOT byte-equivalent (the chardev utility re-add chose different formatting than the original danctnix code). Byte-equivalence is not a goal; per-series traceability and working hardware are. Closes (proper this time): #29. Refs: #28, #30, #33 (the half-working attempt), #31, #32.
1155 lines
40 KiB
Diff
1155 lines
40 KiB
Diff
From b9e340c78cf7111dd29c9b31dae5fe73d8b5ceec Mon Sep 17 00:00:00 2001
|
|
From: Markus Fritsche <fritsche.markus@gmail.com>
|
|
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 <dmitry.tarnyagin@lockless.no>` 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 7b1e3b4..8a17545 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 <linux/version.h>
|
|
#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 <flamingice@sourmilk.net>
|
|
*
|
|
- * Based on the islsm (softmac prism54) driver, which is:
|
|
+ * Based on the islsm (softmac prism54) driver, which is
|
|
* Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, 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 <linux/module.h>
|
|
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 3834032..e85c524 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 <dmitry.tarnyagin@lockless.no>
|
|
*
|
|
- * 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 <linux/version.h>
|
|
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<linux/module.h>
|
|
#include <linux/init.h>
|
|
diff --git a/drivers/staging/bes2600/bes_chardev.h b/drivers/staging/bes2600/bes_chardev.h
|
|
index 2a7cad7..9edb206 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 <linux/list.h>
|
|
#include <linux/pm.h>
|
|
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 febcaf4..61f6991 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <net/mac80211.h>
|
|
#include <linux/kthread.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/module.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/types.h>
|
|
#include <linux/version.h>
|
|
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 <linux/types.h>
|
|
#include <linux/kernel.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/init.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/types.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
*
|
|
- * 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 <linux/module.h>
|
|
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 89b5e2d..71dc4ae 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * Copyright (c) 2022, Bestechnic (Beijing) Co., Ltd.
|
|
+ *
|
|
+ * Based on the mac80211 Prism54 code, which is
|
|
+ * Copyright (c) 2006, Michael Wu <flamingice@sourmilk.net>
|
|
+ *
|
|
+ * Based on the islsm (softmac prism54) driver, which is
|
|
+ * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, 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 <linux/module.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/platform_device.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 d1b407b..b56ca43 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <net/mac80211.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 3cd7b64..1905471 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/sched.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 5868757..70b12f9 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/vmalloc.h>
|
|
diff --git a/drivers/staging/bes2600/sta.h b/drivers/staging/bes2600/sta.h
|
|
index 39b4b1a..a174e04 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/version.h>
|
|
#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 f6a66d6..3aef009 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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <net/mac80211.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <net/netlink.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
+ *
|
|
+ * 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 <linux/skbuff.h>
|
|
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 <dmitry.tarnyagin@lockless.no>
|
|
*
|
|
- * Based on BES2600 UMAC WSM API, which is
|
|
- * Copyright (C) SA 2010
|
|
- * Author: Stewart Mathers <stewart.mathers@stericsson.com>
|
|
+ * 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
|
|
|