All of lore.kernel.org
 help / color / mirror / Atom feed
* [BlueZ v2 03/17] btio: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 06/17] gdbus: " tedd.an
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :      2

License: GPL-2.0-or-later
   btio/btio.h
   btio/btio.c
---
 btio/btio.c | 1 +
 btio/btio.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/btio/btio.c b/btio/btio.c
index 844d6007f..42874e13c 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/btio/btio.h b/btio/btio.h
index 23e0ef72b..f1f8c99a9 100644
--- a/btio/btio.h
+++ b/btio/btio.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 06/17] gdbus: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
  2020-09-13  3:33 ` [BlueZ v2 03/17] btio: Add SPDX License Identifier tedd.an
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 11/17] obexd: " tedd.an
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :      6

License: GPL-2.0-or-later
   gdbus/mainloop.c
   gdbus/object.c
   gdbus/polkit.c
   gdbus/client.c
   gdbus/watch.c
   gdbus/gdbus.h
---
 gdbus/client.c   | 1 +
 gdbus/gdbus.h    | 1 +
 gdbus/mainloop.c | 1 +
 gdbus/object.c   | 1 +
 gdbus/polkit.c   | 1 +
 gdbus/watch.c    | 1 +
 6 files changed, 6 insertions(+)

diff --git a/gdbus/client.c b/gdbus/client.c
index 86e1c7693..6caa2143d 100644
--- a/gdbus/client.c
+++ b/gdbus/client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  D-Bus helper library
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 1a601c591..60e3e8bb5 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  D-Bus helper library
diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c
index b90a8447c..e39eeb117 100644
--- a/gdbus/mainloop.c
+++ b/gdbus/mainloop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  D-Bus helper library
diff --git a/gdbus/object.c b/gdbus/object.c
index 49b578087..80ac8d7a7 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  D-Bus helper library
diff --git a/gdbus/polkit.c b/gdbus/polkit.c
index 9e95fa384..e66a50c2f 100644
--- a/gdbus/polkit.c
+++ b/gdbus/polkit.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  D-Bus helper library
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 447e48671..83e8bd8be 100644
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  D-Bus helper library
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 11/17] obexd: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
  2020-09-13  3:33 ` [BlueZ v2 03/17] btio: Add SPDX License Identifier tedd.an
  2020-09-13  3:33 ` [BlueZ v2 06/17] gdbus: " tedd.an
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 13/17] plugins: " tedd.an
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :     65

License: GPL-2.0-or-later
   obexd/src/mimetype.c
   obexd/src/transport.h
   obexd/src/server.c
   obexd/src/obex.c
   obexd/src/log.h
   obexd/src/service.h
   obexd/src/plugin.h
   obexd/src/plugin.c
   obexd/src/main.c
   obexd/src/mimetype.h
   obexd/src/transport.c
   obexd/src/obexd.h
   obexd/src/obex.h
   obexd/src/obex-priv.h
   obexd/src/log.c
   obexd/src/map_ap.h
   obexd/src/manager.c
   obexd/src/service.c
   obexd/src/server.h
   obexd/src/manager.h
   obexd/plugins/opp.c
   obexd/plugins/vcard.h
   obexd/plugins/pbap.c
   obexd/plugins/vcard.c
   obexd/plugins/messages.h
   obexd/plugins/phonebook.h
   obexd/plugins/pcsuite.c
   obexd/plugins/messages-tracker.c
   obexd/plugins/phonebook-tracker.c
   obexd/plugins/irmc.c
   obexd/plugins/ftp.c
   obexd/plugins/ftp.h
   obexd/plugins/filesystem.c
   obexd/plugins/messages-dummy.c
   obexd/plugins/phonebook-ebook.c
   obexd/plugins/syncevolution.c
   obexd/plugins/bluetooth.c
   obexd/plugins/phonebook-dummy.c
   obexd/plugins/filesystem.h
   obexd/plugins/mas.c
   obexd/client/transport.h
   obexd/client/opp.c
   obexd/client/pbap.c
   obexd/client/transfer.h
   obexd/client/opp.h
   obexd/client/driver.c
   obexd/client/map-event.h
   obexd/client/bluetooth.h
   obexd/client/sync.h
   obexd/client/transport.c
   obexd/client/pbap.h
   obexd/client/driver.h
   obexd/client/transfer.c
   obexd/client/ftp.c
   obexd/client/map.h
   obexd/client/ftp.h
   obexd/client/bluetooth.c
   obexd/client/manager.c
   obexd/client/session.h
   obexd/client/session.c
   obexd/client/map.c
   obexd/client/sync.c
   obexd/client/map-event.c
   obexd/client/mns.c
   obexd/client/manager.h
---
 obexd/client/bluetooth.c          | 1 +
 obexd/client/bluetooth.h          | 1 +
 obexd/client/driver.c             | 1 +
 obexd/client/driver.h             | 1 +
 obexd/client/ftp.c                | 1 +
 obexd/client/ftp.h                | 1 +
 obexd/client/manager.c            | 1 +
 obexd/client/manager.h            | 1 +
 obexd/client/map-event.c          | 1 +
 obexd/client/map-event.h          | 1 +
 obexd/client/map.c                | 1 +
 obexd/client/map.h                | 1 +
 obexd/client/mns.c                | 1 +
 obexd/client/opp.c                | 1 +
 obexd/client/opp.h                | 1 +
 obexd/client/pbap.c               | 1 +
 obexd/client/pbap.h               | 1 +
 obexd/client/session.c            | 1 +
 obexd/client/session.h            | 1 +
 obexd/client/sync.c               | 1 +
 obexd/client/sync.h               | 1 +
 obexd/client/transfer.c           | 1 +
 obexd/client/transfer.h           | 1 +
 obexd/client/transport.c          | 1 +
 obexd/client/transport.h          | 1 +
 obexd/plugins/bluetooth.c         | 1 +
 obexd/plugins/filesystem.c        | 1 +
 obexd/plugins/filesystem.h        | 1 +
 obexd/plugins/ftp.c               | 1 +
 obexd/plugins/ftp.h               | 1 +
 obexd/plugins/irmc.c              | 1 +
 obexd/plugins/mas.c               | 1 +
 obexd/plugins/messages-dummy.c    | 1 +
 obexd/plugins/messages-tracker.c  | 1 +
 obexd/plugins/messages.h          | 1 +
 obexd/plugins/opp.c               | 1 +
 obexd/plugins/pbap.c              | 1 +
 obexd/plugins/pcsuite.c           | 1 +
 obexd/plugins/phonebook-dummy.c   | 1 +
 obexd/plugins/phonebook-ebook.c   | 1 +
 obexd/plugins/phonebook-tracker.c | 1 +
 obexd/plugins/phonebook.h         | 1 +
 obexd/plugins/syncevolution.c     | 1 +
 obexd/plugins/vcard.c             | 1 +
 obexd/plugins/vcard.h             | 1 +
 obexd/src/log.c                   | 1 +
 obexd/src/log.h                   | 1 +
 obexd/src/main.c                  | 1 +
 obexd/src/manager.c               | 1 +
 obexd/src/manager.h               | 1 +
 obexd/src/map_ap.h                | 1 +
 obexd/src/mimetype.c              | 1 +
 obexd/src/mimetype.h              | 1 +
 obexd/src/obex-priv.h             | 1 +
 obexd/src/obex.c                  | 1 +
 obexd/src/obex.h                  | 1 +
 obexd/src/obexd.h                 | 1 +
 obexd/src/plugin.c                | 1 +
 obexd/src/plugin.h                | 1 +
 obexd/src/server.c                | 1 +
 obexd/src/server.h                | 1 +
 obexd/src/service.c               | 1 +
 obexd/src/service.h               | 1 +
 obexd/src/transport.c             | 1 +
 obexd/src/transport.h             | 1 +
 65 files changed, 65 insertions(+)

diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c
index 0c043e0ac..d7100a36c 100644
--- a/obexd/client/bluetooth.c
+++ b/obexd/client/bluetooth.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/bluetooth.h b/obexd/client/bluetooth.h
index 968e131e0..0db50299e 100644
--- a/obexd/client/bluetooth.h
+++ b/obexd/client/bluetooth.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/driver.c b/obexd/client/driver.c
index 0dae35601..773a6efe4 100644
--- a/obexd/client/driver.c
+++ b/obexd/client/driver.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/client/driver.h b/obexd/client/driver.h
index 0112219d5..e84281cef 100644
--- a/obexd/client/driver.h
+++ b/obexd/client/driver.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/client/ftp.c b/obexd/client/ftp.c
index 5e30654af..b260dc298 100644
--- a/obexd/client/ftp.c
+++ b/obexd/client/ftp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/ftp.h b/obexd/client/ftp.h
index 3d9096863..797f34aec 100644
--- a/obexd/client/ftp.h
+++ b/obexd/client/ftp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/manager.c b/obexd/client/manager.c
index fbcad6da4..4782203e0 100644
--- a/obexd/client/manager.c
+++ b/obexd/client/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/manager.h b/obexd/client/manager.h
index e4068de44..83d58f588 100644
--- a/obexd/client/manager.h
+++ b/obexd/client/manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/client/map-event.c b/obexd/client/map-event.c
index e164e863c..7b7e227e5 100644
--- a/obexd/client/map-event.c
+++ b/obexd/client/map-event.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX
diff --git a/obexd/client/map-event.h b/obexd/client/map-event.h
index 5414b2621..fdfdb11f0 100644
--- a/obexd/client/map-event.h
+++ b/obexd/client/map-event.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX
diff --git a/obexd/client/map.c b/obexd/client/map.c
index 23be2d6b2..e352499a3 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/map.h b/obexd/client/map.h
index 86f6b9512..79b1856ca 100644
--- a/obexd/client/map.h
+++ b/obexd/client/map.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/mns.c b/obexd/client/mns.c
index 4912cb90f..47c75c8e1 100644
--- a/obexd/client/mns.c
+++ b/obexd/client/mns.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/client/opp.c b/obexd/client/opp.c
index 92785f66e..4a08540f7 100644
--- a/obexd/client/opp.c
+++ b/obexd/client/opp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/opp.h b/obexd/client/opp.h
index a23e94e00..095a8ff7c 100644
--- a/obexd/client/opp.h
+++ b/obexd/client/opp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 3f5665fcd..1b1edb1ea 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/pbap.h b/obexd/client/pbap.h
index ce56258b5..070ecad8b 100644
--- a/obexd/client/pbap.h
+++ b/obexd/client/pbap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/session.c b/obexd/client/session.c
index 5bd2d2670..43e86551e 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/session.h b/obexd/client/session.h
index b561b7e58..e0fb0056a 100644
--- a/obexd/client/session.h
+++ b/obexd/client/session.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/sync.c b/obexd/client/sync.c
index 548c318c3..90a2bcb0e 100644
--- a/obexd/client/sync.c
+++ b/obexd/client/sync.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/sync.h b/obexd/client/sync.h
index 8adc5f8d6..52f12132d 100644
--- a/obexd/client/sync.h
+++ b/obexd/client/sync.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c
index b53dffa21..489c03743 100644
--- a/obexd/client/transfer.c
+++ b/obexd/client/transfer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/transfer.h b/obexd/client/transfer.h
index b6b835d18..f49ec44ee 100644
--- a/obexd/client/transfer.h
+++ b/obexd/client/transfer.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Client
diff --git a/obexd/client/transport.c b/obexd/client/transport.c
index 4cd770672..3467f7001 100644
--- a/obexd/client/transport.c
+++ b/obexd/client/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/client/transport.h b/obexd/client/transport.h
index b035cfc45..4927383a0 100644
--- a/obexd/client/transport.h
+++ b/obexd/client/transport.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/bluetooth.c b/obexd/plugins/bluetooth.c
index ba1e0a99a..955616010 100644
--- a/obexd/plugins/bluetooth.c
+++ b/obexd/plugins/bluetooth.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/filesystem.c b/obexd/plugins/filesystem.c
index 48239a8bc..e50338fb3 100644
--- a/obexd/plugins/filesystem.c
+++ b/obexd/plugins/filesystem.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/filesystem.h b/obexd/plugins/filesystem.h
index f95773beb..726ac592a 100644
--- a/obexd/plugins/filesystem.h
+++ b/obexd/plugins/filesystem.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c
index 3ee18a619..cf58cd3a8 100644
--- a/obexd/plugins/ftp.c
+++ b/obexd/plugins/ftp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/ftp.h b/obexd/plugins/ftp.h
index f06de8490..ca6cca469 100644
--- a/obexd/plugins/ftp.h
+++ b/obexd/plugins/ftp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/irmc.c b/obexd/plugins/irmc.c
index fcf5340e7..782afb485 100644
--- a/obexd/plugins/irmc.c
+++ b/obexd/plugins/irmc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX IrMC Sync Server
diff --git a/obexd/plugins/mas.c b/obexd/plugins/mas.c
index f73c3e9d8..ac379d622 100644
--- a/obexd/plugins/mas.c
+++ b/obexd/plugins/mas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/messages-dummy.c b/obexd/plugins/messages-dummy.c
index 3eca9ef4c..63632c9c3 100644
--- a/obexd/plugins/messages-dummy.c
+++ b/obexd/plugins/messages-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/messages-tracker.c b/obexd/plugins/messages-tracker.c
index 60f3a807e..3d0a20069 100644
--- a/obexd/plugins/messages-tracker.c
+++ b/obexd/plugins/messages-tracker.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/messages.h b/obexd/plugins/messages.h
index 00a16b1ae..0f8ac6d83 100644
--- a/obexd/plugins/messages.h
+++ b/obexd/plugins/messages.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c
index 5bb766770..c0747856f 100644
--- a/obexd/plugins/opp.c
+++ b/obexd/plugins/opp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c
index d5a3046ae..0dc5e4cfc 100644
--- a/obexd/plugins/pbap.c
+++ b/obexd/plugins/pbap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/pcsuite.c b/obexd/plugins/pcsuite.c
index 43ab409e9..1b37f3e81 100644
--- a/obexd/plugins/pcsuite.c
+++ b/obexd/plugins/pcsuite.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c
index 9279ef29a..edcacf420 100644
--- a/obexd/plugins/phonebook-dummy.c
+++ b/obexd/plugins/phonebook-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/phonebook-ebook.c b/obexd/plugins/phonebook-ebook.c
index c422585df..2230148d6 100644
--- a/obexd/plugins/phonebook-ebook.c
+++ b/obexd/plugins/phonebook-ebook.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index c1d14078b..ea1811786 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Phonebook access through D-Bus vCard and call history service
  *
diff --git a/obexd/plugins/phonebook.h b/obexd/plugins/phonebook.h
index 70a9cb797..7e306b48b 100644
--- a/obexd/plugins/phonebook.h
+++ b/obexd/plugins/phonebook.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/syncevolution.c b/obexd/plugins/syncevolution.c
index 854505a58..32e772a1e 100644
--- a/obexd/plugins/syncevolution.c
+++ b/obexd/plugins/syncevolution.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/plugins/vcard.c b/obexd/plugins/vcard.c
index dc7c3b3e6..40269f4e2 100644
--- a/obexd/plugins/vcard.c
+++ b/obexd/plugins/vcard.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * OBEX Server
  *
diff --git a/obexd/plugins/vcard.h b/obexd/plugins/vcard.h
index 22c3f6899..3d330f5fd 100644
--- a/obexd/plugins/vcard.h
+++ b/obexd/plugins/vcard.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * OBEX Server
  *
diff --git a/obexd/src/log.c b/obexd/src/log.c
index 8e2ebaab2..769c7183c 100644
--- a/obexd/src/log.c
+++ b/obexd/src/log.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/log.h b/obexd/src/log.h
index d9fb8678f..2777eb4a3 100644
--- a/obexd/src/log.h
+++ b/obexd/src/log.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/main.c b/obexd/src/main.c
index 139f1412c..462fd796c 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index a4af627cb..a3cbd3fa9 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/manager.h b/obexd/src/manager.h
index d709af5a8..5b78537e2 100644
--- a/obexd/src/manager.h
+++ b/obexd/src/manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/map_ap.h b/obexd/src/map_ap.h
index da108fe6e..32e272796 100644
--- a/obexd/src/map_ap.h
+++ b/obexd/src/map_ap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/mimetype.c b/obexd/src/mimetype.c
index c8b040a43..7dac1ee98 100644
--- a/obexd/src/mimetype.c
+++ b/obexd/src/mimetype.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/mimetype.h b/obexd/src/mimetype.h
index 79529b890..c9a55152f 100644
--- a/obexd/src/mimetype.h
+++ b/obexd/src/mimetype.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/obex-priv.h b/obexd/src/obex-priv.h
index 355a7f87b..627925710 100644
--- a/obexd/src/obex-priv.h
+++ b/obexd/src/obex-priv.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 2850d3a37..d9b6b93d4 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/obex.h b/obexd/src/obex.h
index 67593f11b..3e3236b66 100644
--- a/obexd/src/obex.h
+++ b/obexd/src/obex.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/obexd.h b/obexd/src/obexd.h
index 42c3c4d97..3e8291dd9 100644
--- a/obexd/src/obexd.h
+++ b/obexd/src/obexd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/plugin.c b/obexd/src/plugin.c
index a1962b91d..fcfd0b182 100644
--- a/obexd/src/plugin.c
+++ b/obexd/src/plugin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/plugin.h b/obexd/src/plugin.h
index 13d77695f..3e5af163c 100644
--- a/obexd/src/plugin.h
+++ b/obexd/src/plugin.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/server.c b/obexd/src/server.c
index db854233b..5e3ed7283 100644
--- a/obexd/src/server.c
+++ b/obexd/src/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/server.h b/obexd/src/server.h
index 278c35fce..6c6e8429a 100644
--- a/obexd/src/server.h
+++ b/obexd/src/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/service.c b/obexd/src/service.c
index c088535e9..faa39329f 100644
--- a/obexd/src/service.c
+++ b/obexd/src/service.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/service.h b/obexd/src/service.h
index 5d9d325fb..cb3b6f33a 100644
--- a/obexd/src/service.h
+++ b/obexd/src/service.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/transport.c b/obexd/src/transport.c
index 4984643e2..b6b7f7a61 100644
--- a/obexd/src/transport.c
+++ b/obexd/src/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX Server
diff --git a/obexd/src/transport.h b/obexd/src/transport.h
index 97e10d05f..bea398c85 100644
--- a/obexd/src/transport.h
+++ b/obexd/src/transport.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  OBEX Server
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 13/17] plugins: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
                   ` (2 preceding siblings ...)
  2020-09-13  3:33 ` [BlueZ v2 11/17] obexd: " tedd.an
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 14/17] profiles: " tedd.an
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :      7

License: GPL-2.0-or-later
   plugins/autopair.c
   plugins/hostname.c
   plugins/neard.c
   plugins/policy.c
   plugins/sixaxis.c
   plugins/wiimote.c
   plugins/external-dummy.c
---
 plugins/autopair.c       | 1 +
 plugins/external-dummy.c | 1 +
 plugins/hostname.c       | 1 +
 plugins/neard.c          | 1 +
 plugins/policy.c         | 1 +
 plugins/sixaxis.c        | 1 +
 plugins/wiimote.c        | 1 +
 7 files changed, 7 insertions(+)

diff --git a/plugins/autopair.c b/plugins/autopair.c
index 3089430a8..381d91c8f 100644
--- a/plugins/autopair.c
+++ b/plugins/autopair.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/plugins/external-dummy.c b/plugins/external-dummy.c
index 536ad0663..78377b021 100644
--- a/plugins/external-dummy.c
+++ b/plugins/external-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/plugins/hostname.c b/plugins/hostname.c
index 4f9dfe6d8..32f15b3a5 100644
--- a/plugins/hostname.c
+++ b/plugins/hostname.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/plugins/neard.c b/plugins/neard.c
index 6ffcd6e10..1fefc5015 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/plugins/policy.c b/plugins/policy.c
index de51e58b9..86eb25ee9 100644
--- a/plugins/policy.c
+++ b/plugins/policy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
index 939fed759..8350d63f8 100644
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/plugins/wiimote.c b/plugins/wiimote.c
index 0ced27514..9441a7681 100644
--- a/plugins/wiimote.c
+++ b/plugins/wiimote.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 14/17] profiles: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
                   ` (3 preceding siblings ...)
  2020-09-13  3:33 ` [BlueZ v2 13/17] plugins: " tedd.an
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 15/17] unit: " tedd.an
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :     72
 LGPL-2.1-or-later    :      6

License: GPL-2.0-or-later
   profiles/deviceinfo/dis.c
   profiles/deviceinfo/deviceinfo.c
   profiles/health/hdp_types.h
   profiles/health/mcap.c
   profiles/health/hdp_manager.c
   profiles/health/hdp_main.c
   profiles/health/mcap.h
   profiles/health/hdp_util.h
   profiles/health/hdp_manager.h
   profiles/health/hdp_util.c
   profiles/health/hdp.c
   profiles/health/hdp.h
   profiles/network/server.c
   profiles/network/connection.h
   profiles/network/connection.c
   profiles/network/manager.c
   profiles/network/bnep.c
   profiles/network/server.h
   profiles/network/bnep.h
   profiles/battery/battery.c
   profiles/cups/cups.h
   profiles/cups/sdp.c
   profiles/cups/main.c
   profiles/cups/spp.c
   profiles/cups/hcrp.c
   profiles/scanparam/scpp.c
   profiles/scanparam/scan.c
   profiles/audio/transport.h
   profiles/audio/avdtp.h
   profiles/audio/source.c
   profiles/audio/player.c
   profiles/audio/avctp.c
   profiles/audio/control.h
   profiles/audio/a2dp.c
   profiles/audio/source.h
   profiles/audio/transport.c
   profiles/audio/sink.c
   profiles/audio/avrcp.h
   profiles/audio/avdtp.c
   profiles/audio/a2dp.h
   profiles/audio/avrcp.c
   profiles/audio/media.h
   profiles/audio/avctp.h
   profiles/audio/control.c
   profiles/audio/sink.h
   profiles/audio/player.h
   profiles/audio/media.c
   profiles/sap/server.c
   profiles/sap/sap-dummy.c
   profiles/sap/main.c
   profiles/sap/sap.h
   profiles/sap/manager.c
   profiles/sap/server.h
   profiles/sap/manager.h
   profiles/iap/main.c
   profiles/gap/gas.c
   profiles/midi/midi.c
   profiles/midi/libmidi.c
   profiles/midi/libmidi.h
   profiles/input/server.c
   profiles/input/suspend.h
   profiles/input/uhid_copy.h
   profiles/input/device.c
   profiles/input/hog.c
   profiles/input/device.h
   profiles/input/hidp_defs.h
   profiles/input/manager.c
   profiles/input/suspend-none.c
   profiles/input/sixaxis.h
   profiles/input/hog-lib.c
   profiles/input/suspend-dummy.c
   profiles/input/server.h

License: LGPL-2.1-or-later
   profiles/deviceinfo/dis.h
   profiles/battery/bas.h
   profiles/battery/bas.c
   profiles/scanparam/scpp.h
   profiles/audio/a2dp-codecs.h
   profiles/input/hog-lib.h
---
 profiles/audio/a2dp-codecs.h     | 1 +
 profiles/audio/a2dp.c            | 1 +
 profiles/audio/a2dp.h            | 1 +
 profiles/audio/avctp.c           | 1 +
 profiles/audio/avctp.h           | 1 +
 profiles/audio/avdtp.c           | 1 +
 profiles/audio/avdtp.h           | 1 +
 profiles/audio/avrcp.c           | 1 +
 profiles/audio/avrcp.h           | 1 +
 profiles/audio/control.c         | 1 +
 profiles/audio/control.h         | 1 +
 profiles/audio/media.c           | 1 +
 profiles/audio/media.h           | 1 +
 profiles/audio/player.c          | 1 +
 profiles/audio/player.h          | 1 +
 profiles/audio/sink.c            | 1 +
 profiles/audio/sink.h            | 1 +
 profiles/audio/source.c          | 1 +
 profiles/audio/source.h          | 1 +
 profiles/audio/transport.c       | 1 +
 profiles/audio/transport.h       | 1 +
 profiles/battery/bas.c           | 1 +
 profiles/battery/bas.h           | 1 +
 profiles/battery/battery.c       | 1 +
 profiles/cups/cups.h             | 1 +
 profiles/cups/hcrp.c             | 1 +
 profiles/cups/main.c             | 1 +
 profiles/cups/sdp.c              | 1 +
 profiles/cups/spp.c              | 1 +
 profiles/deviceinfo/deviceinfo.c | 1 +
 profiles/deviceinfo/dis.c        | 1 +
 profiles/deviceinfo/dis.h        | 1 +
 profiles/gap/gas.c               | 1 +
 profiles/health/hdp.c            | 1 +
 profiles/health/hdp.h            | 1 +
 profiles/health/hdp_main.c       | 1 +
 profiles/health/hdp_manager.c    | 1 +
 profiles/health/hdp_manager.h    | 1 +
 profiles/health/hdp_types.h      | 1 +
 profiles/health/hdp_util.c       | 1 +
 profiles/health/hdp_util.h       | 1 +
 profiles/health/mcap.c           | 1 +
 profiles/health/mcap.h           | 1 +
 profiles/iap/main.c              | 1 +
 profiles/input/device.c          | 1 +
 profiles/input/device.h          | 1 +
 profiles/input/hidp_defs.h       | 1 +
 profiles/input/hog-lib.c         | 1 +
 profiles/input/hog-lib.h         | 1 +
 profiles/input/hog.c             | 1 +
 profiles/input/manager.c         | 1 +
 profiles/input/server.c          | 1 +
 profiles/input/server.h          | 1 +
 profiles/input/sixaxis.h         | 1 +
 profiles/input/suspend-dummy.c   | 1 +
 profiles/input/suspend-none.c    | 1 +
 profiles/input/suspend.h         | 1 +
 profiles/input/uhid_copy.h       | 1 +
 profiles/midi/libmidi.c          | 1 +
 profiles/midi/libmidi.h          | 1 +
 profiles/midi/midi.c             | 1 +
 profiles/network/bnep.c          | 1 +
 profiles/network/bnep.h          | 1 +
 profiles/network/connection.c    | 1 +
 profiles/network/connection.h    | 1 +
 profiles/network/manager.c       | 1 +
 profiles/network/server.c        | 1 +
 profiles/network/server.h        | 1 +
 profiles/sap/main.c              | 1 +
 profiles/sap/manager.c           | 1 +
 profiles/sap/manager.h           | 1 +
 profiles/sap/sap-dummy.c         | 1 +
 profiles/sap/sap.h               | 1 +
 profiles/sap/server.c            | 1 +
 profiles/sap/server.h            | 1 +
 profiles/scanparam/scan.c        | 1 +
 profiles/scanparam/scpp.c        | 1 +
 profiles/scanparam/scpp.h        | 1 +
 78 files changed, 78 insertions(+)

diff --git a/profiles/audio/a2dp-codecs.h b/profiles/audio/a2dp-codecs.h
index 93e9d3523..f94a25112 100644
--- a/profiles/audio/a2dp-codecs.h
+++ b/profiles/audio/a2dp-codecs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 2feea66c0..e8c60a3b2 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/a2dp.h b/profiles/audio/a2dp.h
index 19466a428..a1bceafaf 100644
--- a/profiles/audio/a2dp.h
+++ b/profiles/audio/a2dp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index f096d22b0..a7621b412 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/avctp.h b/profiles/audio/avctp.h
index 95d95bbbe..69a07736b 100644
--- a/profiles/audio/avctp.h
+++ b/profiles/audio/avctp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 782268c08..08fc0c62f 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/avdtp.h b/profiles/audio/avdtp.h
index 011fea89e..171c1a2d1 100644
--- a/profiles/audio/avdtp.h
+++ b/profiles/audio/avdtp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 5ef98acd1..0bce23c0e 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/avrcp.h b/profiles/audio/avrcp.h
index 159ccf846..f3938c192 100644
--- a/profiles/audio/avrcp.h
+++ b/profiles/audio/avrcp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/control.c b/profiles/audio/control.c
index 14744ea94..57a673995 100644
--- a/profiles/audio/control.c
+++ b/profiles/audio/control.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/control.h b/profiles/audio/control.h
index aab2631b6..d7d192bdd 100644
--- a/profiles/audio/control.h
+++ b/profiles/audio/control.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 02bf82a49..d07b3a165 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/media.h b/profiles/audio/media.h
index 53694f4c6..540b2826b 100644
--- a/profiles/audio/media.h
+++ b/profiles/audio/media.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index 27a7efb7e..530c06364 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/player.h b/profiles/audio/player.h
index e98550064..536dc2293 100644
--- a/profiles/audio/player.h
+++ b/profiles/audio/player.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/sink.c b/profiles/audio/sink.c
index 7c5e77577..d190e9753 100644
--- a/profiles/audio/sink.c
+++ b/profiles/audio/sink.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/sink.h b/profiles/audio/sink.h
index 93c62a206..fb1301b11 100644
--- a/profiles/audio/sink.h
+++ b/profiles/audio/sink.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/source.c b/profiles/audio/source.c
index 0ac20fe40..2d840a7c4 100644
--- a/profiles/audio/source.c
+++ b/profiles/audio/source.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/source.h b/profiles/audio/source.h
index a014c68d6..7c332528e 100644
--- a/profiles/audio/source.h
+++ b/profiles/audio/source.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index dd1c553a2..fe20c988c 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/audio/transport.h b/profiles/audio/transport.h
index 78024372f..c226f74f3 100644
--- a/profiles/audio/transport.h
+++ b/profiles/audio/transport.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/battery/bas.c b/profiles/battery/bas.c
index de369fd3c..51c28fa3b 100644
--- a/profiles/battery/bas.c
+++ b/profiles/battery/bas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/battery/bas.h b/profiles/battery/bas.h
index 3e175b5b5..4d85e1e6c 100644
--- a/profiles/battery/bas.h
+++ b/profiles/battery/bas.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/battery/battery.c b/profiles/battery/battery.c
index c9a1af4b9..da46858f6 100644
--- a/profiles/battery/battery.c
+++ b/profiles/battery/battery.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/cups/cups.h b/profiles/cups/cups.h
index f4e0c01cd..98bf7a596 100644
--- a/profiles/cups/cups.h
+++ b/profiles/cups/cups.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/cups/hcrp.c b/profiles/cups/hcrp.c
index edaa2cdfd..a3be5dbe9 100644
--- a/profiles/cups/hcrp.c
+++ b/profiles/cups/hcrp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/cups/main.c b/profiles/cups/main.c
index 1fac7267f..c91e4a4b4 100644
--- a/profiles/cups/main.c
+++ b/profiles/cups/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/cups/sdp.c b/profiles/cups/sdp.c
index de9cd4eeb..d79bd9540 100644
--- a/profiles/cups/sdp.c
+++ b/profiles/cups/sdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/cups/spp.c b/profiles/cups/spp.c
index 2f1e270f4..b19a322ee 100644
--- a/profiles/cups/spp.c
+++ b/profiles/cups/spp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c
index fa94efe7f..cd68b469a 100644
--- a/profiles/deviceinfo/deviceinfo.c
+++ b/profiles/deviceinfo/deviceinfo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/deviceinfo/dis.c b/profiles/deviceinfo/dis.c
index 6126a776c..ca4a96206 100644
--- a/profiles/deviceinfo/dis.c
+++ b/profiles/deviceinfo/dis.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/deviceinfo/dis.h b/profiles/deviceinfo/dis.h
index 305ba1ad0..914f9497d 100644
--- a/profiles/deviceinfo/dis.h
+++ b/profiles/deviceinfo/dis.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/gap/gas.c b/profiles/gap/gas.c
index dffa31314..a0a3d9da6 100644
--- a/profiles/gap/gas.c
+++ b/profiles/gap/gas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index a8354936b..8a8698769 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp.h b/profiles/health/hdp.h
index 6e78b0947..9f1c25908 100644
--- a/profiles/health/hdp.h
+++ b/profiles/health/hdp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp_main.c b/profiles/health/hdp_main.c
index 2c4bbe298..23f6eac0d 100644
--- a/profiles/health/hdp_main.c
+++ b/profiles/health/hdp_main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp_manager.c b/profiles/health/hdp_manager.c
index 401adf6e9..01a1e1c22 100644
--- a/profiles/health/hdp_manager.c
+++ b/profiles/health/hdp_manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp_manager.h b/profiles/health/hdp_manager.h
index 1cab4d008..99f151a56 100644
--- a/profiles/health/hdp_manager.h
+++ b/profiles/health/hdp_manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp_types.h b/profiles/health/hdp_types.h
index b34b5e031..44f3b286f 100644
--- a/profiles/health/hdp_types.h
+++ b/profiles/health/hdp_types.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp_util.c b/profiles/health/hdp_util.c
index 64debfc6b..736ec6efa 100644
--- a/profiles/health/hdp_util.c
+++ b/profiles/health/hdp_util.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/hdp_util.h b/profiles/health/hdp_util.h
index 35e1196b2..5048e708a 100644
--- a/profiles/health/hdp_util.h
+++ b/profiles/health/hdp_util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/mcap.c b/profiles/health/mcap.c
index ba43e6e96..ecd1491a2 100644
--- a/profiles/health/mcap.c
+++ b/profiles/health/mcap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/health/mcap.h b/profiles/health/mcap.h
index 69873ca82..c52c07cd9 100644
--- a/profiles/health/mcap.h
+++ b/profiles/health/mcap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/iap/main.c b/profiles/iap/main.c
index 2fd34c067..3ce6a4eac 100644
--- a/profiles/iap/main.c
+++ b/profiles/iap/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 375314e7d..d3f49c4a0 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/device.h b/profiles/input/device.h
index f61e8a558..a1394f92b 100644
--- a/profiles/input/device.h
+++ b/profiles/input/device.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/hidp_defs.h b/profiles/input/hidp_defs.h
index bb9231dbb..533750efb 100644
--- a/profiles/input/hidp_defs.h
+++ b/profiles/input/hidp_defs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c
index e96c969b7..9b0770cf1 100644
--- a/profiles/input/hog-lib.c
+++ b/profiles/input/hog-lib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/hog-lib.h b/profiles/input/hog-lib.h
index 415dc63d2..f90017069 100644
--- a/profiles/input/hog-lib.h
+++ b/profiles/input/hog-lib.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 130f696a9..7a3ecd0f5 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/manager.c b/profiles/input/manager.c
index bf4acb4ed..7ef9a90db 100644
--- a/profiles/input/manager.c
+++ b/profiles/input/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/server.c b/profiles/input/server.c
index 2bd5e92e4..f5cac6860 100644
--- a/profiles/input/server.c
+++ b/profiles/input/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/server.h b/profiles/input/server.h
index 74159bbd7..f4b15a462 100644
--- a/profiles/input/server.h
+++ b/profiles/input/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/sixaxis.h b/profiles/input/sixaxis.h
index 8e6f3cc18..871cb1c8f 100644
--- a/profiles/input/sixaxis.h
+++ b/profiles/input/sixaxis.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c
index 542ae2592..84c5b6762 100644
--- a/profiles/input/suspend-dummy.c
+++ b/profiles/input/suspend-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/suspend-none.c b/profiles/input/suspend-none.c
index c619bb11e..51cf20912 100644
--- a/profiles/input/suspend-none.c
+++ b/profiles/input/suspend-none.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/suspend.h b/profiles/input/suspend.h
index bfee3cfef..0e8131d5a 100644
--- a/profiles/input/suspend.h
+++ b/profiles/input/suspend.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/input/uhid_copy.h b/profiles/input/uhid_copy.h
index 0ef73d4cc..f8d817e49 100644
--- a/profiles/input/uhid_copy.h
+++ b/profiles/input/uhid_copy.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef __UHID_H_
 #define __UHID_H_
 
diff --git a/profiles/midi/libmidi.c b/profiles/midi/libmidi.c
index cb2787db1..40d4b017a 100644
--- a/profiles/midi/libmidi.c
+++ b/profiles/midi/libmidi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/midi/libmidi.h b/profiles/midi/libmidi.h
index 9d94065b6..e112f2aad 100644
--- a/profiles/midi/libmidi.h
+++ b/profiles/midi/libmidi.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/midi/midi.c b/profiles/midi/midi.c
index 1ee5cb16f..fc902996a 100644
--- a/profiles/midi/midi.c
+++ b/profiles/midi/midi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index d0ad9e483..4e017435f 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/bnep.h b/profiles/network/bnep.h
index e9f4c1cf2..ad1d50543 100644
--- a/profiles/network/bnep.h
+++ b/profiles/network/bnep.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 170841de6..050bfd5a7 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/connection.h b/profiles/network/connection.h
index 4a8b43bc8..2e9a3459b 100644
--- a/profiles/network/connection.h
+++ b/profiles/network/connection.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/manager.c b/profiles/network/manager.c
index 41377fb83..aa0c06111 100644
--- a/profiles/network/manager.c
+++ b/profiles/network/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/server.c b/profiles/network/server.c
index c462677ed..d8f202818 100644
--- a/profiles/network/server.c
+++ b/profiles/network/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/network/server.h b/profiles/network/server.h
index a76e6f7b2..a431e7e50 100644
--- a/profiles/network/server.h
+++ b/profiles/network/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/sap/main.c b/profiles/sap/main.c
index cd707ff3e..967ec85d4 100644
--- a/profiles/sap/main.c
+++ b/profiles/sap/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/sap/manager.c b/profiles/sap/manager.c
index b62239780..4e59fc6c2 100644
--- a/profiles/sap/manager.c
+++ b/profiles/sap/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/sap/manager.h b/profiles/sap/manager.h
index 6601a034e..3373aa3a3 100644
--- a/profiles/sap/manager.h
+++ b/profiles/sap/manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/sap/sap-dummy.c b/profiles/sap/sap-dummy.c
index 53463ca7c..eca630961 100644
--- a/profiles/sap/sap-dummy.c
+++ b/profiles/sap/sap-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/sap/sap.h b/profiles/sap/sap.h
index 6e78d6c2d..8e5738821 100644
--- a/profiles/sap/sap.h
+++ b/profiles/sap/sap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index 5de682a33..8f4ba4725 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/sap/server.h b/profiles/sap/server.h
index 4bf9296ad..97ba34741 100644
--- a/profiles/sap/server.h
+++ b/profiles/sap/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/profiles/scanparam/scan.c b/profiles/scanparam/scan.c
index d72be3dff..4471ef119 100644
--- a/profiles/scanparam/scan.c
+++ b/profiles/scanparam/scan.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/scanparam/scpp.c b/profiles/scanparam/scpp.c
index df65d2c1e..b92ff1aae 100644
--- a/profiles/scanparam/scpp.c
+++ b/profiles/scanparam/scpp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/profiles/scanparam/scpp.h b/profiles/scanparam/scpp.h
index 048fb9f23..260fc8a96 100644
--- a/profiles/scanparam/scpp.h
+++ b/profiles/scanparam/scpp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 15/17] unit: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
                   ` (4 preceding siblings ...)
  2020-09-13  3:33 ` [BlueZ v2 14/17] profiles: " tedd.an
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 16/17] src: " tedd.an
  2020-09-13  3:33 ` [BlueZ v2 17/17] tools: " tedd.an
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :     25
 LGPL-2.1-or-later    :      1
 GPL-2.0-only         :      2
 BSD-2-Clause         :      1

License: GPL-2.0-or-later
   unit/test-hog.c
   unit/test-eir.c
   unit/test-gobex-header.c
   unit/test-crc.c
   unit/test-avrcp.c
   unit/test-ringbuf.c
   unit/test-gobex-apparam.c
   unit/test-gobex.c
   unit/test-hfp.c
   unit/test-textfile.c
   unit/test-avdtp.c
   unit/test-sdp.c
   unit/test-gatt.c
   unit/test-avctp.c
   unit/test-gattrib.c
   unit/test-queue.c
   unit/test-gobex-packet.c
   unit/test-uuid.c
   unit/test-crypto.c
   unit/test-uhid.c
   unit/test-gdbus-client.c
   unit/test-midi.c
   unit/test-lib.c
   unit/test-mgmt.c
   unit/test-gobex-transfer.c

License: LGPL-2.1-or-later
   unit/test-mesh-crypto.c

License: GPL-2.0-only
   unit/util.h
   unit/util.c

License: BSD-2-Clause
   unit/test-ecc.c
---
 unit/test-avctp.c          | 1 +
 unit/test-avdtp.c          | 1 +
 unit/test-avrcp.c          | 1 +
 unit/test-crc.c            | 1 +
 unit/test-crypto.c         | 1 +
 unit/test-ecc.c            | 1 +
 unit/test-eir.c            | 1 +
 unit/test-gatt.c           | 1 +
 unit/test-gattrib.c        | 1 +
 unit/test-gdbus-client.c   | 1 +
 unit/test-gobex-apparam.c  | 1 +
 unit/test-gobex-header.c   | 1 +
 unit/test-gobex-packet.c   | 1 +
 unit/test-gobex-transfer.c | 1 +
 unit/test-gobex.c          | 1 +
 unit/test-hfp.c            | 1 +
 unit/test-hog.c            | 1 +
 unit/test-lib.c            | 1 +
 unit/test-mesh-crypto.c    | 1 +
 unit/test-mgmt.c           | 1 +
 unit/test-midi.c           | 1 +
 unit/test-queue.c          | 1 +
 unit/test-ringbuf.c        | 1 +
 unit/test-sdp.c            | 1 +
 unit/test-textfile.c       | 1 +
 unit/test-uhid.c           | 1 +
 unit/test-uuid.c           | 1 +
 unit/util.c                | 1 +
 unit/util.h                | 1 +
 29 files changed, 29 insertions(+)

diff --git a/unit/test-avctp.c b/unit/test-avctp.c
index c92618bab..ca69d454e 100644
--- a/unit/test-avctp.c
+++ b/unit/test-avctp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 13c03d037..8081b3e66 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c
index adf25f002..e7470ba19 100644
--- a/unit/test-avrcp.c
+++ b/unit/test-avrcp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-crc.c b/unit/test-crc.c
index 791fa5137..04097eb83 100644
--- a/unit/test-crc.c
+++ b/unit/test-crc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-crypto.c b/unit/test-crypto.c
index 46c7c0e5c..173885019 100644
--- a/unit/test-crypto.c
+++ b/unit/test-crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-ecc.c b/unit/test-ecc.c
index d9136814d..e87bebf52 100644
--- a/unit/test-ecc.c
+++ b/unit/test-ecc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSD-2-Clause
 /*
  * Copyright (c) 2013, Kenneth MacKay
  * All rights reserved.
diff --git a/unit/test-eir.c b/unit/test-eir.c
index 421d0db13..f6da5e6d3 100644
--- a/unit/test-eir.c
+++ b/unit/test-eir.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 0b77df51c..735c47da0 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gattrib.c b/unit/test-gattrib.c
index 416e59635..39ac3da8c 100644
--- a/unit/test-gattrib.c
+++ b/unit/test-gattrib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gdbus-client.c b/unit/test-gdbus-client.c
index ccf706713..7f1d9a32b 100644
--- a/unit/test-gdbus-client.c
+++ b/unit/test-gdbus-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gobex-apparam.c b/unit/test-gobex-apparam.c
index 59393c681..2e85b1d2b 100644
--- a/unit/test-gobex-apparam.c
+++ b/unit/test-gobex-apparam.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex-header.c b/unit/test-gobex-header.c
index 3450f8123..f50c10f9c 100644
--- a/unit/test-gobex-header.c
+++ b/unit/test-gobex-header.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex-packet.c b/unit/test-gobex-packet.c
index d382ee5b3..1c7cb993b 100644
--- a/unit/test-gobex-packet.c
+++ b/unit/test-gobex-packet.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex-transfer.c b/unit/test-gobex-transfer.c
index 3f8905c0b..61bfddef8 100644
--- a/unit/test-gobex-transfer.c
+++ b/unit/test-gobex-transfer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex.c b/unit/test-gobex.c
index 1afb7ceff..022579005 100644
--- a/unit/test-gobex.c
+++ b/unit/test-gobex.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-hfp.c b/unit/test-hfp.c
index 890eee659..f625537e8 100644
--- a/unit/test-hfp.c
+++ b/unit/test-hfp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-hog.c b/unit/test-hog.c
index e257fbd88..66025334d 100644
--- a/unit/test-hog.c
+++ b/unit/test-hog.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-lib.c b/unit/test-lib.c
index 1dd5d92cf..9c4ee64c1 100644
--- a/unit/test-lib.c
+++ b/unit/test-lib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-mesh-crypto.c b/unit/test-mesh-crypto.c
index ed37ae1a7..e65b4ee5f 100644
--- a/unit/test-mesh-crypto.c
+++ b/unit/test-mesh-crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-mgmt.c b/unit/test-mgmt.c
index c67678b9a..b20bd1918 100644
--- a/unit/test-mgmt.c
+++ b/unit/test-mgmt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-midi.c b/unit/test-midi.c
index 593bc5a5c..66c096b46 100644
--- a/unit/test-midi.c
+++ b/unit/test-midi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-queue.c b/unit/test-queue.c
index d912a6416..c502e68da 100644
--- a/unit/test-queue.c
+++ b/unit/test-queue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-ringbuf.c b/unit/test-ringbuf.c
index ef3bf0a50..f3ba2673e 100644
--- a/unit/test-ringbuf.c
+++ b/unit/test-ringbuf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-sdp.c b/unit/test-sdp.c
index 03501d021..3c40b411a 100644
--- a/unit/test-sdp.c
+++ b/unit/test-sdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-textfile.c b/unit/test-textfile.c
index 4b43898d6..d939443f9 100644
--- a/unit/test-textfile.c
+++ b/unit/test-textfile.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-uhid.c b/unit/test-uhid.c
index 320cd54d4..42c39a770 100644
--- a/unit/test-uhid.c
+++ b/unit/test-uhid.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-uuid.c b/unit/test-uuid.c
index 7c6789e39..e0753b816 100644
--- a/unit/test-uuid.c
+++ b/unit/test-uuid.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/util.c b/unit/util.c
index c8054d2e4..31dec37df 100644
--- a/unit/util.c
+++ b/unit/util.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/util.h b/unit/util.h
index b13fd2f16..01a482985 100644
--- a/unit/util.h
+++ b/unit/util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
  *  OBEX library with GLib integration
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 16/17] src: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
                   ` (5 preceding siblings ...)
  2020-09-13  3:33 ` [BlueZ v2 15/17] unit: " tedd.an
@ 2020-09-13  3:33 ` tedd.an
  2020-09-13  3:33 ` [BlueZ v2 17/17] tools: " tedd.an
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :     51
 LGPL-2.1-or-later    :     60
 BSD-2-Clause         :      2

License: GPL-2.0-or-later
   src/attrib-server.h
   src/advertising.h
   src/textfile.c
   src/attrib-server.c
   src/uinput.h
   src/log.h
   src/eir.h
   src/sdpd.h
   src/sdpd-request.c
   src/service.h
   src/sdpd-database.c
   src/adapter.h
   src/plugin.h
   src/uuid-helper.h
   src/plugin.c
   src/main.c
   src/sdp-xml.c
   src/error.h
   src/oui.c
   src/device.c
   src/agent.h
   src/sdp-client.c
   src/oui.h
   src/device.h
   src/gatt-database.c
   src/error.c
   src/backtrace.c
   src/sdpd-server.c
   src/adapter.c
   src/log.c
   src/agent.c
   src/backtrace.h
   src/sdp-xml.h
   src/hcid.h
   src/dbus-common.h
   src/uuid-helper.c
   src/storage.c
   src/profile.c
   src/advertising.c
   src/storage.h
   src/dbus-common.c
   src/profile.h
   src/sdpd-service.c
   src/eir.c
   src/sdp-client.h
   src/gatt-database.h
   src/gatt-client.h
   src/rfkill.c
   src/gatt-client.c
   src/service.c
   src/textfile.h

License: LGPL-2.1-or-later
   src/shared/mainloop-glib.c
   src/shared/btp.c
   src/shared/tester.c
   src/shared/btsnoop.c
   src/shared/gatt-helpers.h
   src/shared/log.h
   src/shared/util.h
   src/shared/mainloop-ell.c
   src/shared/hci-crypto.c
   src/shared/mainloop.c
   src/shared/hfp.h
   src/shared/mainloop-notify.c
   src/shared/io-mainloop.c
   src/shared/btsnoop.h
   src/shared/uhid.h
   src/shared/util.c
   src/shared/ringbuf.c
   src/shared/btp.h
   src/shared/shell.h
   src/shared/io-glib.c
   src/shared/queue.h
   src/shared/gatt-server.h
   src/shared/crypto.c
   src/shared/crypto.h
   src/shared/io-ell.c
   src/shared/timeout-glib.c
   src/shared/mgmt.c
   src/shared/gatt-db.c
   src/shared/mainloop-notify.h
   src/shared/hfp.c
   src/shared/timeout-ell.c
   src/shared/shell.c
   src/shared/hci.c
   src/shared/log.c
   src/shared/ringbuf.h
   src/shared/gatt-helpers.c
   src/shared/queue.c
   src/shared/tty.h
   src/shared/timeout-mainloop.c
   src/shared/tester.h
   src/shared/gap.h
   src/shared/mgmt.h
   src/shared/gatt-db.h
   src/shared/uhid.c
   src/shared/mainloop.h
   src/shared/timeout.h
   src/shared/att-types.h
   src/shared/pcap.c
   src/shared/gap.c
   src/shared/att.c
   src/shared/pcap.h
   src/shared/hci.h
   src/shared/gatt-client.h
   src/shared/io.h
   src/shared/gatt-client.c
   src/shared/ad.c
   src/shared/att.h
   src/shared/gatt-server.c
   src/shared/hci-crypto.h
   src/shared/ad.h

License: BSD-2-Clause
   src/shared/ecc.h
   src/shared/ecc.c
---
 src/adapter.c                 | 1 +
 src/adapter.h                 | 1 +
 src/advertising.c             | 1 +
 src/advertising.h             | 1 +
 src/agent.c                   | 1 +
 src/agent.h                   | 1 +
 src/attrib-server.c           | 1 +
 src/attrib-server.h           | 1 +
 src/backtrace.c               | 1 +
 src/backtrace.h               | 1 +
 src/dbus-common.c             | 1 +
 src/dbus-common.h             | 1 +
 src/device.c                  | 1 +
 src/device.h                  | 1 +
 src/eir.c                     | 1 +
 src/eir.h                     | 1 +
 src/error.c                   | 1 +
 src/error.h                   | 1 +
 src/gatt-client.c             | 1 +
 src/gatt-client.h             | 1 +
 src/gatt-database.c           | 1 +
 src/gatt-database.h           | 1 +
 src/hcid.h                    | 1 +
 src/log.c                     | 1 +
 src/log.h                     | 1 +
 src/main.c                    | 1 +
 src/oui.c                     | 1 +
 src/oui.h                     | 1 +
 src/plugin.c                  | 1 +
 src/plugin.h                  | 1 +
 src/profile.c                 | 1 +
 src/profile.h                 | 1 +
 src/rfkill.c                  | 1 +
 src/sdp-client.c              | 1 +
 src/sdp-client.h              | 1 +
 src/sdp-xml.c                 | 1 +
 src/sdp-xml.h                 | 1 +
 src/sdpd-database.c           | 1 +
 src/sdpd-request.c            | 1 +
 src/sdpd-server.c             | 1 +
 src/sdpd-service.c            | 1 +
 src/sdpd.h                    | 1 +
 src/service.c                 | 1 +
 src/service.h                 | 1 +
 src/shared/ad.c               | 1 +
 src/shared/ad.h               | 1 +
 src/shared/att-types.h        | 1 +
 src/shared/att.c              | 1 +
 src/shared/att.h              | 1 +
 src/shared/btp.c              | 1 +
 src/shared/btp.h              | 1 +
 src/shared/btsnoop.c          | 1 +
 src/shared/btsnoop.h          | 1 +
 src/shared/crypto.c           | 1 +
 src/shared/crypto.h           | 1 +
 src/shared/ecc.c              | 1 +
 src/shared/ecc.h              | 1 +
 src/shared/gap.c              | 1 +
 src/shared/gap.h              | 1 +
 src/shared/gatt-client.c      | 1 +
 src/shared/gatt-client.h      | 1 +
 src/shared/gatt-db.c          | 1 +
 src/shared/gatt-db.h          | 1 +
 src/shared/gatt-helpers.c     | 1 +
 src/shared/gatt-helpers.h     | 1 +
 src/shared/gatt-server.c      | 1 +
 src/shared/gatt-server.h      | 1 +
 src/shared/hci-crypto.c       | 1 +
 src/shared/hci-crypto.h       | 1 +
 src/shared/hci.c              | 1 +
 src/shared/hci.h              | 1 +
 src/shared/hfp.c              | 1 +
 src/shared/hfp.h              | 1 +
 src/shared/io-ell.c           | 1 +
 src/shared/io-glib.c          | 1 +
 src/shared/io-mainloop.c      | 1 +
 src/shared/io.h               | 1 +
 src/shared/log.c              | 1 +
 src/shared/log.h              | 1 +
 src/shared/mainloop-ell.c     | 1 +
 src/shared/mainloop-glib.c    | 1 +
 src/shared/mainloop-notify.c  | 1 +
 src/shared/mainloop-notify.h  | 1 +
 src/shared/mainloop.c         | 1 +
 src/shared/mainloop.h         | 1 +
 src/shared/mgmt.c             | 1 +
 src/shared/mgmt.h             | 1 +
 src/shared/pcap.c             | 1 +
 src/shared/pcap.h             | 1 +
 src/shared/queue.c            | 1 +
 src/shared/queue.h            | 1 +
 src/shared/ringbuf.c          | 1 +
 src/shared/ringbuf.h          | 1 +
 src/shared/shell.c            | 1 +
 src/shared/shell.h            | 1 +
 src/shared/tester.c           | 1 +
 src/shared/tester.h           | 1 +
 src/shared/timeout-ell.c      | 1 +
 src/shared/timeout-glib.c     | 1 +
 src/shared/timeout-mainloop.c | 1 +
 src/shared/timeout.h          | 1 +
 src/shared/tty.h              | 1 +
 src/shared/uhid.c             | 1 +
 src/shared/uhid.h             | 1 +
 src/shared/util.c             | 1 +
 src/shared/util.h             | 1 +
 src/storage.c                 | 1 +
 src/storage.h                 | 1 +
 src/textfile.c                | 1 +
 src/textfile.h                | 1 +
 src/uinput.h                  | 1 +
 src/uuid-helper.c             | 1 +
 src/uuid-helper.h             | 1 +
 113 files changed, 113 insertions(+)

diff --git a/src/adapter.c b/src/adapter.c
index 1435e2bd7..9b4a3523e 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/adapter.h b/src/adapter.h
index f8ac20261..ced0bb6e9 100644
--- a/src/adapter.h
+++ b/src/adapter.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/advertising.c b/src/advertising.c
index e5f25948d..3856ff32d 100644
--- a/src/advertising.c
+++ b/src/advertising.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/advertising.h b/src/advertising.h
index 50d86674b..79c559431 100644
--- a/src/advertising.h
+++ b/src/advertising.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/agent.c b/src/agent.c
index e0ffcd22f..5df15fc7c 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/agent.h b/src/agent.h
index 1438b9e6d..06dc8c765 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/attrib-server.c b/src/attrib-server.c
index 7c15a4e8f..877179a41 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/attrib-server.h b/src/attrib-server.h
index 063cb6621..69d60c1a8 100644
--- a/src/attrib-server.h
+++ b/src/attrib-server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/backtrace.c b/src/backtrace.c
index c43873354..c5bbeeaf9 100644
--- a/src/backtrace.c
+++ b/src/backtrace.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/backtrace.h b/src/backtrace.h
index b3eef6dd9..3094f1aaa 100644
--- a/src/backtrace.h
+++ b/src/backtrace.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/dbus-common.c b/src/dbus-common.c
index 6e2097a2d..f099647bb 100644
--- a/src/dbus-common.c
+++ b/src/dbus-common.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/dbus-common.h b/src/dbus-common.h
index fbf4acd28..f1bbe28d3 100644
--- a/src/dbus-common.h
+++ b/src/dbus-common.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* *
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/src/device.c b/src/device.c
index 8f73ce4d3..83f928c30 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/device.h b/src/device.h
index 3cd090786..2c081662e 100644
--- a/src/device.h
+++ b/src/device.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/eir.c b/src/eir.c
index fa52a2bd8..61ce1728d 100644
--- a/src/eir.c
+++ b/src/eir.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/eir.h b/src/eir.h
index c868177a6..929472098 100644
--- a/src/eir.h
+++ b/src/eir.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/error.c b/src/error.c
index 89517075e..e01636f68 100644
--- a/src/error.c
+++ b/src/error.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/error.h b/src/error.h
index 7c8cad066..158afe556 100644
--- a/src/error.h
+++ b/src/error.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/gatt-client.c b/src/gatt-client.c
index 20c3fbec2..d618af607 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/gatt-client.h b/src/gatt-client.h
index 92a925546..e277ed1f8 100644
--- a/src/gatt-client.h
+++ b/src/gatt-client.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/gatt-database.c b/src/gatt-database.c
index e7e4a36a6..a83ec336e 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/gatt-database.h b/src/gatt-database.h
index 154d3243f..9d0de0bbc 100644
--- a/src/gatt-database.h
+++ b/src/gatt-database.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/hcid.h b/src/hcid.h
index 3624ba6ea..e77c6a030 100644
--- a/src/hcid.h
+++ b/src/hcid.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/log.c b/src/log.c
index a42c5941d..76c501809 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/log.h b/src/log.h
index e83431151..77887088c 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/main.c b/src/main.c
index b37c32948..73b34d0ce 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/oui.c b/src/oui.c
index 8059c0a89..32cad253c 100644
--- a/src/oui.c
+++ b/src/oui.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/oui.h b/src/oui.h
index 2ddc27fef..3696a981e 100644
--- a/src/oui.h
+++ b/src/oui.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/plugin.c b/src/plugin.c
index 39310a7db..30cc02274 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/plugin.h b/src/plugin.h
index 89c7b8515..3335ed54d 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/profile.c b/src/profile.c
index 6961a107b..8f417dbb1 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/profile.h b/src/profile.h
index 95523e50a..b5dac8e88 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/rfkill.c b/src/rfkill.c
index fb2d11306..8f63f464d 100644
--- a/src/rfkill.c
+++ b/src/rfkill.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdp-client.c b/src/sdp-client.c
index b92a083af..e3f26d764 100644
--- a/src/sdp-client.c
+++ b/src/sdp-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdp-client.h b/src/sdp-client.h
index 3a7212fd2..70d669d07 100644
--- a/src/sdp-client.h
+++ b/src/sdp-client.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdp-xml.c b/src/sdp-xml.c
index 6f831737d..8f7f0c314 100644
--- a/src/sdp-xml.c
+++ b/src/sdp-xml.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdp-xml.h b/src/sdp-xml.h
index 80a4f446d..bb99b0954 100644
--- a/src/sdp-xml.h
+++ b/src/sdp-xml.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdpd-database.c b/src/sdpd-database.c
index 843b6d02b..518ef7a2f 100644
--- a/src/sdpd-database.c
+++ b/src/sdpd-database.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdpd-request.c b/src/sdpd-request.c
index deaed266f..a3d6443ff 100644
--- a/src/sdpd-request.c
+++ b/src/sdpd-request.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdpd-server.c b/src/sdpd-server.c
index ef35309ce..a3903ea57 100644
--- a/src/sdpd-server.c
+++ b/src/sdpd-server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdpd-service.c b/src/sdpd-service.c
index c3ee3eb48..bf03082f8 100644
--- a/src/sdpd-service.c
+++ b/src/sdpd-service.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/sdpd.h b/src/sdpd.h
index 49cd98a2b..a4dd38e87 100644
--- a/src/sdpd.h
+++ b/src/sdpd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/service.c b/src/service.c
index e4d747a6e..072e937e6 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/service.h b/src/service.h
index 6f1edfb8f..a56e1be4b 100644
--- a/src/service.h
+++ b/src/service.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/ad.c b/src/shared/ad.c
index 14a2709b1..819b8b4cb 100644
--- a/src/shared/ad.c
+++ b/src/shared/ad.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/ad.h b/src/shared/ad.h
index 17e3b631b..809e7bbdc 100644
--- a/src/shared/ad.h
+++ b/src/shared/ad.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/att-types.h b/src/shared/att-types.h
index 99b108990..5fa0bc7b4 100644
--- a/src/shared/att-types.h
+++ b/src/shared/att-types.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/att.c b/src/shared/att.c
index 58f23dfcb..89500ebc7 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/att.h b/src/shared/att.h
index ed20bb5b8..401eba9e7 100644
--- a/src/shared/att.h
+++ b/src/shared/att.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/btp.c b/src/shared/btp.c
index 7eea241a2..f5833e42b 100644
--- a/src/shared/btp.c
+++ b/src/shared/btp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/btp.h b/src/shared/btp.h
index f0ac3a1ee..f9a1b1dd7 100644
--- a/src/shared/btp.h
+++ b/src/shared/btp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/btsnoop.c b/src/shared/btsnoop.c
index f0d074743..31f671c20 100644
--- a/src/shared/btsnoop.c
+++ b/src/shared/btsnoop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/btsnoop.h b/src/shared/btsnoop.h
index 5fb084aa2..b20723a64 100644
--- a/src/shared/btsnoop.h
+++ b/src/shared/btsnoop.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/crypto.c b/src/shared/crypto.c
index 5cc88ce4a..430d82573 100644
--- a/src/shared/crypto.c
+++ b/src/shared/crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/crypto.h b/src/shared/crypto.h
index d17daa835..30749df8d 100644
--- a/src/shared/crypto.h
+++ b/src/shared/crypto.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/ecc.c b/src/shared/ecc.c
index 1b45e0d0a..04c7dd9d6 100644
--- a/src/shared/ecc.c
+++ b/src/shared/ecc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSD-2-Clause
 /*
  * Copyright (c) 2013, Kenneth MacKay
  * All rights reserved.
diff --git a/src/shared/ecc.h b/src/shared/ecc.h
index 8c15e4ee8..f7b155452 100644
--- a/src/shared/ecc.h
+++ b/src/shared/ecc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
 /*
  * Copyright (c) 2013, Kenneth MacKay
  * All rights reserved.
diff --git a/src/shared/gap.c b/src/shared/gap.c
index 0b8d073c5..b9df64139 100644
--- a/src/shared/gap.c
+++ b/src/shared/gap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gap.h b/src/shared/gap.h
index 52c264a8e..dcfefcd1f 100644
--- a/src/shared/gap.h
+++ b/src/shared/gap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index f15466673..b596ef3f9 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-client.h b/src/shared/gatt-client.h
index 10900168b..f3cb6bc47 100644
--- a/src/shared/gatt-client.h
+++ b/src/shared/gatt-client.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-db.c b/src/shared/gatt-db.c
index e939ddc3a..b9e4187a5 100644
--- a/src/shared/gatt-db.c
+++ b/src/shared/gatt-db.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-db.h b/src/shared/gatt-db.h
index 5bf19d302..a15789ef4 100644
--- a/src/shared/gatt-db.h
+++ b/src/shared/gatt-db.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-helpers.c b/src/shared/gatt-helpers.c
index 6b39bb161..75f75ee59 100644
--- a/src/shared/gatt-helpers.c
+++ b/src/shared/gatt-helpers.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-helpers.h b/src/shared/gatt-helpers.h
index dd9dd1c44..4923d27ae 100644
--- a/src/shared/gatt-helpers.h
+++ b/src/shared/gatt-helpers.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-server.c b/src/shared/gatt-server.c
index 28ac2d68d..295b1811b 100644
--- a/src/shared/gatt-server.c
+++ b/src/shared/gatt-server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/gatt-server.h b/src/shared/gatt-server.h
index a2492d275..88db54c16 100644
--- a/src/shared/gatt-server.h
+++ b/src/shared/gatt-server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/hci-crypto.c b/src/shared/hci-crypto.c
index f7507472b..cd635a670 100644
--- a/src/shared/hci-crypto.c
+++ b/src/shared/hci-crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/hci-crypto.h b/src/shared/hci-crypto.h
index b090c2410..420626c93 100644
--- a/src/shared/hci-crypto.h
+++ b/src/shared/hci-crypto.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/hci.c b/src/shared/hci.c
index 262e93d5a..e931e1e03 100644
--- a/src/shared/hci.c
+++ b/src/shared/hci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/hci.h b/src/shared/hci.h
index dba0f11db..b44f56f75 100644
--- a/src/shared/hci.h
+++ b/src/shared/hci.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/hfp.c b/src/shared/hfp.c
index f4747b4ca..7da48bd2b 100644
--- a/src/shared/hfp.c
+++ b/src/shared/hfp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/hfp.h b/src/shared/hfp.h
index 2eb783849..859303d95 100644
--- a/src/shared/hfp.h
+++ b/src/shared/hfp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/io-ell.c b/src/shared/io-ell.c
index 6748982c7..47f44475b 100644
--- a/src/shared/io-ell.c
+++ b/src/shared/io-ell.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/io-glib.c b/src/shared/io-glib.c
index d62de4e10..a518780d7 100644
--- a/src/shared/io-glib.c
+++ b/src/shared/io-glib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/io-mainloop.c b/src/shared/io-mainloop.c
index 2306c3479..0fcb21968 100644
--- a/src/shared/io-mainloop.c
+++ b/src/shared/io-mainloop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/io.h b/src/shared/io.h
index 8bc1111d0..1944470a3 100644
--- a/src/shared/io.h
+++ b/src/shared/io.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/log.c b/src/shared/log.c
index 7c8b71220..d8f6442fc 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/log.h b/src/shared/log.h
index c72ab735b..7dab6126c 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mainloop-ell.c b/src/shared/mainloop-ell.c
index 63e254ac6..7bb447378 100644
--- a/src/shared/mainloop-ell.c
+++ b/src/shared/mainloop-ell.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mainloop-glib.c b/src/shared/mainloop-glib.c
index 2508a1fb2..4913e544e 100644
--- a/src/shared/mainloop-glib.c
+++ b/src/shared/mainloop-glib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mainloop-notify.c b/src/shared/mainloop-notify.c
index 1de714a0e..f9b1efca5 100644
--- a/src/shared/mainloop-notify.c
+++ b/src/shared/mainloop-notify.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mainloop-notify.h b/src/shared/mainloop-notify.h
index 721b5fbed..5b4cf08ac 100644
--- a/src/shared/mainloop-notify.h
+++ b/src/shared/mainloop-notify.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mainloop.c b/src/shared/mainloop.c
index 8a8e2c022..0b8f91bb2 100644
--- a/src/shared/mainloop.c
+++ b/src/shared/mainloop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mainloop.h b/src/shared/mainloop.h
index 1ede62797..34cb6d557 100644
--- a/src/shared/mainloop.h
+++ b/src/shared/mainloop.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mgmt.c b/src/shared/mgmt.c
index 277e361a6..8c356d84d 100644
--- a/src/shared/mgmt.c
+++ b/src/shared/mgmt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/mgmt.h b/src/shared/mgmt.h
index 7caeb3844..f80e18364 100644
--- a/src/shared/mgmt.h
+++ b/src/shared/mgmt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/pcap.c b/src/shared/pcap.c
index 0d887e24c..5c41b896d 100644
--- a/src/shared/pcap.c
+++ b/src/shared/pcap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/pcap.h b/src/shared/pcap.h
index b47de62e8..96b927ee3 100644
--- a/src/shared/pcap.h
+++ b/src/shared/pcap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/queue.c b/src/shared/queue.c
index 60df11143..4efb12e23 100644
--- a/src/shared/queue.c
+++ b/src/shared/queue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/queue.h b/src/shared/queue.h
index 8cd817cc0..b03ac74ae 100644
--- a/src/shared/queue.h
+++ b/src/shared/queue.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/ringbuf.c b/src/shared/ringbuf.c
index 8cf0b5b19..8cc32aac0 100644
--- a/src/shared/ringbuf.c
+++ b/src/shared/ringbuf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/ringbuf.h b/src/shared/ringbuf.h
index adf471a43..4452853fe 100644
--- a/src/shared/ringbuf.h
+++ b/src/shared/ringbuf.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/shell.c b/src/shared/shell.c
index d58e2d7d1..30d2fbbb4 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/shell.h b/src/shared/shell.h
index e14d58381..8d03dec06 100644
--- a/src/shared/shell.h
+++ b/src/shared/shell.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/tester.c b/src/shared/tester.c
index 62e5c1aae..eb15694ed 100644
--- a/src/shared/tester.c
+++ b/src/shared/tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/tester.h b/src/shared/tester.h
index 96e8dc901..796e57c92 100644
--- a/src/shared/tester.h
+++ b/src/shared/tester.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/timeout-ell.c b/src/shared/timeout-ell.c
index 8419d4617..5081d2f66 100644
--- a/src/shared/timeout-ell.c
+++ b/src/shared/timeout-ell.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/timeout-glib.c b/src/shared/timeout-glib.c
index fd71ca430..91494538c 100644
--- a/src/shared/timeout-glib.c
+++ b/src/shared/timeout-glib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/timeout-mainloop.c b/src/shared/timeout-mainloop.c
index 971124a2e..7cbec435f 100644
--- a/src/shared/timeout-mainloop.c
+++ b/src/shared/timeout-mainloop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/timeout.h b/src/shared/timeout.h
index 4930ce162..cab335dd4 100644
--- a/src/shared/timeout.h
+++ b/src/shared/timeout.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/tty.h b/src/shared/tty.h
index 66ec09f31..9b7ca9688 100644
--- a/src/shared/tty.h
+++ b/src/shared/tty.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/uhid.c b/src/shared/uhid.c
index 71a4e04ba..09d4e2de2 100644
--- a/src/shared/uhid.c
+++ b/src/shared/uhid.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/uhid.h b/src/shared/uhid.h
index dbdca852d..0c7e79aa4 100644
--- a/src/shared/uhid.h
+++ b/src/shared/uhid.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/util.c b/src/shared/util.c
index 4ecf31a03..2ba8a2a3a 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/shared/util.h b/src/shared/util.h
index 9193068d1..3753ce2c6 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/storage.c b/src/storage.c
index 8cbb5b270..a764e4a6f 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/storage.h b/src/storage.h
index 1c0ad57ec..2d766542d 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/textfile.c b/src/textfile.c
index 371651bd8..4f7ed3d72 100644
--- a/src/textfile.c
+++ b/src/textfile.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/textfile.h b/src/textfile.h
index f01629e43..87dfdabd5 100644
--- a/src/textfile.h
+++ b/src/textfile.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/uinput.h b/src/uinput.h
index 20e0941d1..3b96b331a 100644
--- a/src/uinput.h
+++ b/src/uinput.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/uuid-helper.c b/src/uuid-helper.c
index 2c897d86c..df90c7992 100644
--- a/src/uuid-helper.c
+++ b/src/uuid-helper.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/src/uuid-helper.h b/src/uuid-helper.h
index c0d7f9eec..304bc71c3 100644
--- a/src/uuid-helper.h
+++ b/src/uuid-helper.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [BlueZ v2 17/17] tools: Add SPDX License Identifier
       [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
                   ` (6 preceding siblings ...)
  2020-09-13  3:33 ` [BlueZ v2 16/17] src: " tedd.an
@ 2020-09-13  3:33 ` tedd.an
  7 siblings, 0 replies; 8+ messages in thread
From: tedd.an @ 2020-09-13  3:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :    102
 MIT                  :      2
 LGPL-2.1-or-later    :     38
 GPL-2.0-only         :      2

License: GPL-2.0-or-later
   tools/csr_usb.c
   tools/l2cap-tester.c
   tools/hcisecfilter.c
   tools/ciptool.c
   tools/csr_bcsp.c
   tools/btsnoop.c
   tools/check-selftest.c
   tools/bccmd.c
   tools/hci-tester.c
   tools/hcitool.c
   tools/btiotest.c
   tools/oobtest.c
   tools/btinfo.c
   tools/hwdb.c
   tools/hciattach_bcm43xx.c
   tools/mgmt-tester.c
   tools/hex2hcd.c
   tools/hciattach_st.c
   tools/smp-tester.c
   tools/bluetooth-player.c
   tools/hciattach_tialt.c
   tools/gap-tester.c
   tools/bluemoon.c
   tools/bneptest.c
   tools/gatt-service.c
   tools/csr_3wire.c
   tools/rctest.c
   tools/rfcomm-tester.c
   tools/hcieventmask.c
   tools/hciattach_ti.c
   tools/seq2bseq.c
   tools/scotest.c
   tools/bcmfw.c
   tools/hciconfig.c
   tools/btattach.c
   tools/l2ping.c
   tools/obexctl.c
   tools/l2test.c
   tools/hciattach_intel.c
   tools/csr.h
   tools/hciattach.h
   tools/create-image.c
   tools/bnep-tester.c
   tools/userchan-tester.c
   tools/rfcomm.c
   tools/btmon-logger.c
   tools/hcidump.c
   tools/csr_hci.c
   tools/rtlfw.c
   tools/hciattach_qualcomm.c
   tools/btproxy.c
   tools/nokfw.c
   tools/hciattach_ath3k.c
   tools/3dsp.c
   tools/bdaddr.c
   tools/sco-tester.c
   tools/hciattach.c
   tools/amptest.c
   tools/btgatt-server.c
   tools/btgatt-client.c
   tools/cltest.c
   tools/ibeacon.c
   tools/mcaptest.c
   tools/hid2hci.c
   tools/btmgmt.c
   tools/advtest.c
   tools/eddystone.c
   tools/csr_h4.c
   tools/avtest.c
   tools/mpris-proxy.c
   tools/csr.c
   tools/avinfo.c
   tools/sdptool.c
   tools/btconfig.c
   tools/parser/parser.h
   tools/parser/obex.c
   tools/parser/amp.c
   tools/parser/sdp.c
   tools/parser/tcpip.c
   tools/parser/sap.c
   tools/parser/cmtp.c
   tools/parser/avctp.c
   tools/parser/lmp.c
   tools/parser/ppp.c
   tools/parser/rfcomm.h
   tools/parser/hci.c
   tools/parser/sdp.h
   tools/parser/parser.c
   tools/parser/rfcomm.c
   tools/parser/avdtp.c
   tools/parser/avrcp.c
   tools/parser/ericsson.c
   tools/parser/hcrp.c
   tools/parser/bpa.c
   tools/parser/hidp.c
   tools/parser/bnep.c
   tools/parser/capi.c
   tools/parser/att.c
   tools/parser/l2cap.c
   tools/parser/smp.c
   tools/parser/csr.c
   tools/parser/l2cap.h

License: MIT
   tools/ubcsp.c
   tools/ubcsp.h

License: LGPL-2.1-or-later
   tools/test-runner.c
   tools/btpclient.c
   tools/meshctl.c
   tools/mesh-cfgclient.c
   tools/mesh/model.h
   tools/mesh/util.h
   tools/mesh/config-model.h
   tools/mesh/cfgcli.h
   tools/mesh/mesh-db.c
   tools/mesh/mesh-db.h
   tools/mesh/keys.c
   tools/mesh/util.c
   tools/mesh/agent.h
   tools/mesh/remote.c
   tools/mesh/keys.h
   tools/mesh/agent.c
   tools/mesh/cfgcli.c
   tools/mesh/remote.h
   tools/mesh-gatt/prov.c
   tools/mesh-gatt/util.h
   tools/mesh-gatt/prov.h
   tools/mesh-gatt/net.c
   tools/mesh-gatt/util.c
   tools/mesh-gatt/prov-db.h
   tools/mesh-gatt/crypto.c
   tools/mesh-gatt/crypto.h
   tools/mesh-gatt/gatt.c
   tools/mesh-gatt/config-server.c
   tools/mesh-gatt/keys.h
   tools/mesh-gatt/onoff-model.c
   tools/mesh-gatt/net.h
   tools/mesh-gatt/gatt.h
   tools/mesh-gatt/node.c
   tools/mesh-gatt/config-client.c
   tools/mesh-gatt/mesh-net.h
   tools/mesh-gatt/node.h
   tools/mesh-gatt/onoff-model.h
   tools/mesh-gatt/prov-db.c

License: GPL-2.0-only
   tools/obex-server-tool.c
   tools/obex-client-tool.c
---
 tools/3dsp.c                    | 1 +
 tools/advtest.c                 | 1 +
 tools/amptest.c                 | 1 +
 tools/avinfo.c                  | 1 +
 tools/avtest.c                  | 1 +
 tools/bccmd.c                   | 1 +
 tools/bcmfw.c                   | 1 +
 tools/bdaddr.c                  | 1 +
 tools/bluemoon.c                | 1 +
 tools/bluetooth-player.c        | 1 +
 tools/bnep-tester.c             | 1 +
 tools/bneptest.c                | 1 +
 tools/btattach.c                | 1 +
 tools/btconfig.c                | 1 +
 tools/btgatt-client.c           | 1 +
 tools/btgatt-server.c           | 1 +
 tools/btinfo.c                  | 1 +
 tools/btiotest.c                | 1 +
 tools/btmgmt.c                  | 1 +
 tools/btmon-logger.c            | 1 +
 tools/btpclient.c               | 1 +
 tools/btproxy.c                 | 1 +
 tools/btsnoop.c                 | 1 +
 tools/check-selftest.c          | 1 +
 tools/ciptool.c                 | 1 +
 tools/cltest.c                  | 1 +
 tools/create-image.c            | 1 +
 tools/csr.c                     | 1 +
 tools/csr.h                     | 1 +
 tools/csr_3wire.c               | 1 +
 tools/csr_bcsp.c                | 1 +
 tools/csr_h4.c                  | 1 +
 tools/csr_hci.c                 | 1 +
 tools/csr_usb.c                 | 1 +
 tools/eddystone.c               | 1 +
 tools/gap-tester.c              | 1 +
 tools/gatt-service.c            | 1 +
 tools/hci-tester.c              | 1 +
 tools/hciattach.c               | 1 +
 tools/hciattach.h               | 1 +
 tools/hciattach_ath3k.c         | 1 +
 tools/hciattach_bcm43xx.c       | 1 +
 tools/hciattach_intel.c         | 1 +
 tools/hciattach_qualcomm.c      | 1 +
 tools/hciattach_st.c            | 1 +
 tools/hciattach_ti.c            | 1 +
 tools/hciattach_tialt.c         | 1 +
 tools/hciconfig.c               | 1 +
 tools/hcidump.c                 | 1 +
 tools/hcieventmask.c            | 1 +
 tools/hcisecfilter.c            | 1 +
 tools/hcitool.c                 | 1 +
 tools/hex2hcd.c                 | 1 +
 tools/hid2hci.c                 | 1 +
 tools/hwdb.c                    | 1 +
 tools/ibeacon.c                 | 1 +
 tools/l2cap-tester.c            | 1 +
 tools/l2ping.c                  | 1 +
 tools/l2test.c                  | 1 +
 tools/mcaptest.c                | 1 +
 tools/mesh-cfgclient.c          | 1 +
 tools/mesh-gatt/config-client.c | 1 +
 tools/mesh-gatt/config-server.c | 1 +
 tools/mesh-gatt/crypto.c        | 1 +
 tools/mesh-gatt/crypto.h        | 1 +
 tools/mesh-gatt/gatt.c          | 1 +
 tools/mesh-gatt/gatt.h          | 1 +
 tools/mesh-gatt/keys.h          | 1 +
 tools/mesh-gatt/mesh-net.h      | 1 +
 tools/mesh-gatt/net.c           | 1 +
 tools/mesh-gatt/net.h           | 1 +
 tools/mesh-gatt/node.c          | 1 +
 tools/mesh-gatt/node.h          | 1 +
 tools/mesh-gatt/onoff-model.c   | 1 +
 tools/mesh-gatt/onoff-model.h   | 1 +
 tools/mesh-gatt/prov-db.c       | 1 +
 tools/mesh-gatt/prov-db.h       | 1 +
 tools/mesh-gatt/prov.c          | 1 +
 tools/mesh-gatt/prov.h          | 1 +
 tools/mesh-gatt/util.c          | 1 +
 tools/mesh-gatt/util.h          | 1 +
 tools/mesh/agent.c              | 1 +
 tools/mesh/agent.h              | 1 +
 tools/mesh/cfgcli.c             | 1 +
 tools/mesh/cfgcli.h             | 1 +
 tools/mesh/config-model.h       | 1 +
 tools/mesh/keys.c               | 1 +
 tools/mesh/keys.h               | 1 +
 tools/mesh/mesh-db.c            | 1 +
 tools/mesh/mesh-db.h            | 1 +
 tools/mesh/model.h              | 1 +
 tools/mesh/remote.c             | 1 +
 tools/mesh/remote.h             | 1 +
 tools/mesh/util.c               | 1 +
 tools/mesh/util.h               | 1 +
 tools/meshctl.c                 | 1 +
 tools/mgmt-tester.c             | 1 +
 tools/mpris-proxy.c             | 1 +
 tools/nokfw.c                   | 1 +
 tools/obex-client-tool.c        | 1 +
 tools/obex-server-tool.c        | 1 +
 tools/obexctl.c                 | 1 +
 tools/oobtest.c                 | 1 +
 tools/parser/amp.c              | 1 +
 tools/parser/att.c              | 1 +
 tools/parser/avctp.c            | 1 +
 tools/parser/avdtp.c            | 1 +
 tools/parser/avrcp.c            | 1 +
 tools/parser/bnep.c             | 1 +
 tools/parser/bpa.c              | 1 +
 tools/parser/capi.c             | 1 +
 tools/parser/cmtp.c             | 1 +
 tools/parser/csr.c              | 1 +
 tools/parser/ericsson.c         | 1 +
 tools/parser/hci.c              | 1 +
 tools/parser/hcrp.c             | 1 +
 tools/parser/hidp.c             | 1 +
 tools/parser/l2cap.c            | 1 +
 tools/parser/l2cap.h            | 1 +
 tools/parser/lmp.c              | 1 +
 tools/parser/obex.c             | 1 +
 tools/parser/parser.c           | 1 +
 tools/parser/parser.h           | 1 +
 tools/parser/ppp.c              | 1 +
 tools/parser/rfcomm.c           | 1 +
 tools/parser/rfcomm.h           | 1 +
 tools/parser/sap.c              | 1 +
 tools/parser/sdp.c              | 1 +
 tools/parser/sdp.h              | 1 +
 tools/parser/smp.c              | 1 +
 tools/parser/tcpip.c            | 1 +
 tools/rctest.c                  | 1 +
 tools/rfcomm-tester.c           | 1 +
 tools/rfcomm.c                  | 1 +
 tools/rtlfw.c                   | 1 +
 tools/sco-tester.c              | 1 +
 tools/scotest.c                 | 1 +
 tools/sdptool.c                 | 1 +
 tools/seq2bseq.c                | 1 +
 tools/smp-tester.c              | 1 +
 tools/test-runner.c             | 1 +
 tools/ubcsp.c                   | 1 +
 tools/ubcsp.h                   | 1 +
 tools/userchan-tester.c         | 1 +
 144 files changed, 144 insertions(+)

diff --git a/tools/3dsp.c b/tools/3dsp.c
index 77a70c037..617bfdfbf 100644
--- a/tools/3dsp.c
+++ b/tools/3dsp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/advtest.c b/tools/advtest.c
index 050b570df..bdc2421ca 100644
--- a/tools/advtest.c
+++ b/tools/advtest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/amptest.c b/tools/amptest.c
index 557470781..f452d2471 100644
--- a/tools/amptest.c
+++ b/tools/amptest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/avinfo.c b/tools/avinfo.c
index e45b50918..26e9d1431 100644
--- a/tools/avinfo.c
+++ b/tools/avinfo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/avtest.c b/tools/avtest.c
index 59fb1da8a..1a1427b2e 100644
--- a/tools/avtest.c
+++ b/tools/avtest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bccmd.c b/tools/bccmd.c
index 2c215ace7..a75415963 100644
--- a/tools/bccmd.c
+++ b/tools/bccmd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bcmfw.c b/tools/bcmfw.c
index 80d8e71a2..9769016ab 100644
--- a/tools/bcmfw.c
+++ b/tools/bcmfw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bdaddr.c b/tools/bdaddr.c
index 952e99077..fb0772c2a 100644
--- a/tools/bdaddr.c
+++ b/tools/bdaddr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bluemoon.c b/tools/bluemoon.c
index 800541110..ff676d32d 100644
--- a/tools/bluemoon.c
+++ b/tools/bluemoon.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bluetooth-player.c b/tools/bluetooth-player.c
index c1005c9b7..c8553f75e 100644
--- a/tools/bluetooth-player.c
+++ b/tools/bluetooth-player.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bnep-tester.c b/tools/bnep-tester.c
index ec4ad2668..95176f0a1 100644
--- a/tools/bnep-tester.c
+++ b/tools/bnep-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/bneptest.c b/tools/bneptest.c
index 8bc7596b6..694eb4420 100644
--- a/tools/bneptest.c
+++ b/tools/bneptest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btattach.c b/tools/btattach.c
index 56315d050..dc9ea642e 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btconfig.c b/tools/btconfig.c
index c1ef5834a..c7e97d1dd 100644
--- a/tools/btconfig.c
+++ b/tools/btconfig.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btgatt-client.c b/tools/btgatt-client.c
index bc762dba1..c148728bb 100644
--- a/tools/btgatt-client.c
+++ b/tools/btgatt-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/tools/btgatt-server.c b/tools/btgatt-server.c
index 5b7857b00..5d44a5bf4 100644
--- a/tools/btgatt-server.c
+++ b/tools/btgatt-server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/tools/btinfo.c b/tools/btinfo.c
index 5e609739c..93e4d96ec 100644
--- a/tools/btinfo.c
+++ b/tools/btinfo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btiotest.c b/tools/btiotest.c
index 6c778e3c5..bf23a00da 100644
--- a/tools/btiotest.c
+++ b/tools/btiotest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index 48c9e5887..7c658c617 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
diff --git a/tools/btmon-logger.c b/tools/btmon-logger.c
index 9c23d3c5e..79cab1e2c 100644
--- a/tools/btmon-logger.c
+++ b/tools/btmon-logger.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btpclient.c b/tools/btpclient.c
index f9c693056..ad89678b8 100644
--- a/tools/btpclient.c
+++ b/tools/btpclient.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btproxy.c b/tools/btproxy.c
index a98bbb73f..10340da7c 100644
--- a/tools/btproxy.c
+++ b/tools/btproxy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/btsnoop.c b/tools/btsnoop.c
index 9f304377c..164bd0fed 100644
--- a/tools/btsnoop.c
+++ b/tools/btsnoop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/check-selftest.c b/tools/check-selftest.c
index 0de6362da..ff8c8740a 100644
--- a/tools/check-selftest.c
+++ b/tools/check-selftest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/ciptool.c b/tools/ciptool.c
index b898ae8b7..cc1caffcb 100644
--- a/tools/ciptool.c
+++ b/tools/ciptool.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/cltest.c b/tools/cltest.c
index 44a17a892..3629f70e0 100644
--- a/tools/cltest.c
+++ b/tools/cltest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/create-image.c b/tools/create-image.c
index ca9d0112c..0afb95873 100644
--- a/tools/create-image.c
+++ b/tools/create-image.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr.c b/tools/csr.c
index 61bdaa0cf..87f87510a 100644
--- a/tools/csr.c
+++ b/tools/csr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr.h b/tools/csr.h
index cc245a550..aeba8bfb3 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr_3wire.c b/tools/csr_3wire.c
index 33fcf389a..befc4dfa9 100644
--- a/tools/csr_3wire.c
+++ b/tools/csr_3wire.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr_bcsp.c b/tools/csr_bcsp.c
index e3eea34df..5a8cdd2bd 100644
--- a/tools/csr_bcsp.c
+++ b/tools/csr_bcsp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr_h4.c b/tools/csr_h4.c
index 2dcaec1e5..892685812 100644
--- a/tools/csr_h4.c
+++ b/tools/csr_h4.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr_hci.c b/tools/csr_hci.c
index d2e4ab9c6..b0425aa32 100644
--- a/tools/csr_hci.c
+++ b/tools/csr_hci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/csr_usb.c b/tools/csr_usb.c
index 32fdf1f14..3c7cb922c 100644
--- a/tools/csr_usb.c
+++ b/tools/csr_usb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/eddystone.c b/tools/eddystone.c
index 4764c677c..4303a16ba 100644
--- a/tools/eddystone.c
+++ b/tools/eddystone.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/gap-tester.c b/tools/gap-tester.c
index 2aa404267..6c0a4ec0b 100644
--- a/tools/gap-tester.c
+++ b/tools/gap-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/gatt-service.c b/tools/gatt-service.c
index 374a4c9df..c276e4f1a 100644
--- a/tools/gatt-service.c
+++ b/tools/gatt-service.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hci-tester.c b/tools/hci-tester.c
index 7873e7aea..6a7e0a63e 100644
--- a/tools/hci-tester.c
+++ b/tools/hci-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 9a02173bf..7e601563b 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 249aab49e..9965661eb 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach_ath3k.c b/tools/hciattach_ath3k.c
index eb2a2aeb6..9e09b2440 100644
--- a/tools/hciattach_ath3k.c
+++ b/tools/hciattach_ath3k.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Copyright (c) 2009-2010 Atheros Communications Inc.
  *
diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c
index be82cd011..4ebae6744 100644
--- a/tools/hciattach_bcm43xx.c
+++ b/tools/hciattach_bcm43xx.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach_intel.c b/tools/hciattach_intel.c
index 0f0b60f2b..e54b4b6ac 100644
--- a/tools/hciattach_intel.c
+++ b/tools/hciattach_intel.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach_qualcomm.c b/tools/hciattach_qualcomm.c
index 29d15a5fe..f13768d2a 100644
--- a/tools/hciattach_qualcomm.c
+++ b/tools/hciattach_qualcomm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c
index b34964cb7..3163d9e11 100644
--- a/tools/hciattach_st.c
+++ b/tools/hciattach_st.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach_ti.c b/tools/hciattach_ti.c
index 183839443..c254b203d 100644
--- a/tools/hciattach_ti.c
+++ b/tools/hciattach_ti.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c
index 78498edcf..605888716 100644
--- a/tools/hciattach_tialt.c
+++ b/tools/hciattach_tialt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index ddc17c4b5..ddb796c75 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hcidump.c b/tools/hcidump.c
index 33d429b6c..6d4577d73 100644
--- a/tools/hcidump.c
+++ b/tools/hcidump.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hcieventmask.c b/tools/hcieventmask.c
index b5f818d30..e75cfe2e2 100644
--- a/tools/hcieventmask.c
+++ b/tools/hcieventmask.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hcisecfilter.c b/tools/hcisecfilter.c
index 18c903334..9c56bf7a3 100644
--- a/tools/hcisecfilter.c
+++ b/tools/hcisecfilter.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 9250c41f2..e2587b80b 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hex2hcd.c b/tools/hex2hcd.c
index 1148bbb46..9a5cbafb5 100644
--- a/tools/hex2hcd.c
+++ b/tools/hex2hcd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/hid2hci.c b/tools/hid2hci.c
index 1e0f7aa2a..2110c0624 100644
--- a/tools/hid2hci.c
+++ b/tools/hid2hci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * hid2hci : switch the radio on devices that support
  *           it from HID to HCI and back
diff --git a/tools/hwdb.c b/tools/hwdb.c
index 8a42dce39..12e885a45 100644
--- a/tools/hwdb.c
+++ b/tools/hwdb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/ibeacon.c b/tools/ibeacon.c
index 40078d5ed..141f3a9a0 100644
--- a/tools/ibeacon.c
+++ b/tools/ibeacon.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index 1ef4e9213..00df9fd6d 100644
--- a/tools/l2cap-tester.c
+++ b/tools/l2cap-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/l2ping.c b/tools/l2ping.c
index db120a550..2c980b5c2 100644
--- a/tools/l2ping.c
+++ b/tools/l2ping.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/l2test.c b/tools/l2test.c
index 0d846ed93..d136d094b 100644
--- a/tools/l2test.c
+++ b/tools/l2test.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mcaptest.c b/tools/mcaptest.c
index 82663d8de..eeed9f97e 100644
--- a/tools/mcaptest.c
+++ b/tools/mcaptest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-cfgclient.c b/tools/mesh-cfgclient.c
index 3987e3179..e8dbe6aa1 100644
--- a/tools/mesh-cfgclient.c
+++ b/tools/mesh-cfgclient.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/config-client.c b/tools/mesh-gatt/config-client.c
index bfc788258..bac767083 100644
--- a/tools/mesh-gatt/config-client.c
+++ b/tools/mesh-gatt/config-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/config-server.c b/tools/mesh-gatt/config-server.c
index 9e9b93959..284726482 100644
--- a/tools/mesh-gatt/config-server.c
+++ b/tools/mesh-gatt/config-server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/crypto.c b/tools/mesh-gatt/crypto.c
index 493b502ca..04d4d1f34 100644
--- a/tools/mesh-gatt/crypto.c
+++ b/tools/mesh-gatt/crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/crypto.h b/tools/mesh-gatt/crypto.h
index e8f16f35d..a28754c17 100644
--- a/tools/mesh-gatt/crypto.h
+++ b/tools/mesh-gatt/crypto.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/gatt.c b/tools/mesh-gatt/gatt.c
index 1bd9868df..3828c6092 100644
--- a/tools/mesh-gatt/gatt.c
+++ b/tools/mesh-gatt/gatt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/gatt.h b/tools/mesh-gatt/gatt.h
index 2878587b1..9a8377638 100644
--- a/tools/mesh-gatt/gatt.h
+++ b/tools/mesh-gatt/gatt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/keys.h b/tools/mesh-gatt/keys.h
index 477ff1309..1f96b92a4 100644
--- a/tools/mesh-gatt/keys.h
+++ b/tools/mesh-gatt/keys.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/mesh-net.h b/tools/mesh-gatt/mesh-net.h
index 76a98224c..405a93436 100644
--- a/tools/mesh-gatt/mesh-net.h
+++ b/tools/mesh-gatt/mesh-net.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/net.c b/tools/mesh-gatt/net.c
index d74e1f5a5..5e8d89463 100644
--- a/tools/mesh-gatt/net.c
+++ b/tools/mesh-gatt/net.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/net.h b/tools/mesh-gatt/net.h
index b388d616c..30943be1a 100644
--- a/tools/mesh-gatt/net.h
+++ b/tools/mesh-gatt/net.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/node.c b/tools/mesh-gatt/node.c
index 6afa6d6ab..7a9340cf7 100644
--- a/tools/mesh-gatt/node.c
+++ b/tools/mesh-gatt/node.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/node.h b/tools/mesh-gatt/node.h
index a5b5c7520..3370809fb 100644
--- a/tools/mesh-gatt/node.h
+++ b/tools/mesh-gatt/node.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/onoff-model.c b/tools/mesh-gatt/onoff-model.c
index be519c969..83a9f6424 100644
--- a/tools/mesh-gatt/onoff-model.c
+++ b/tools/mesh-gatt/onoff-model.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/onoff-model.h b/tools/mesh-gatt/onoff-model.h
index 31599056d..a9fdb300e 100644
--- a/tools/mesh-gatt/onoff-model.h
+++ b/tools/mesh-gatt/onoff-model.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/prov-db.c b/tools/mesh-gatt/prov-db.c
index 44096e1e1..db8cf8875 100644
--- a/tools/mesh-gatt/prov-db.c
+++ b/tools/mesh-gatt/prov-db.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/prov-db.h b/tools/mesh-gatt/prov-db.h
index b8584a8c3..50e88266e 100644
--- a/tools/mesh-gatt/prov-db.h
+++ b/tools/mesh-gatt/prov-db.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/prov.c b/tools/mesh-gatt/prov.c
index 598c94ebf..ccde8114a 100644
--- a/tools/mesh-gatt/prov.c
+++ b/tools/mesh-gatt/prov.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/prov.h b/tools/mesh-gatt/prov.h
index 2587df8fb..71b40e57c 100644
--- a/tools/mesh-gatt/prov.h
+++ b/tools/mesh-gatt/prov.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/util.c b/tools/mesh-gatt/util.c
index 564665e5d..998df6024 100644
--- a/tools/mesh-gatt/util.c
+++ b/tools/mesh-gatt/util.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh-gatt/util.h b/tools/mesh-gatt/util.h
index dba2c480b..09f9313ae 100644
--- a/tools/mesh-gatt/util.h
+++ b/tools/mesh-gatt/util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/agent.c b/tools/mesh/agent.c
index 0258a3803..83b7d0af4 100644
--- a/tools/mesh/agent.c
+++ b/tools/mesh/agent.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/agent.h b/tools/mesh/agent.h
index 7f95798f1..38609e97a 100644
--- a/tools/mesh/agent.h
+++ b/tools/mesh/agent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c
index 292bb7e19..f7d30b092 100644
--- a/tools/mesh/cfgcli.c
+++ b/tools/mesh/cfgcli.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/cfgcli.h b/tools/mesh/cfgcli.h
index 89a67f5de..9e544c71e 100644
--- a/tools/mesh/cfgcli.h
+++ b/tools/mesh/cfgcli.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/config-model.h b/tools/mesh/config-model.h
index f08d3b890..c5dbb8c5a 100644
--- a/tools/mesh/config-model.h
+++ b/tools/mesh/config-model.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/keys.c b/tools/mesh/keys.c
index c4070cb75..743488a9e 100644
--- a/tools/mesh/keys.c
+++ b/tools/mesh/keys.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/keys.h b/tools/mesh/keys.h
index fa51044ef..ebd78a184 100644
--- a/tools/mesh/keys.h
+++ b/tools/mesh/keys.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/mesh-db.c b/tools/mesh/mesh-db.c
index 7f2d5b358..12219daa5 100644
--- a/tools/mesh/mesh-db.c
+++ b/tools/mesh/mesh-db.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/mesh-db.h b/tools/mesh/mesh-db.h
index 49af33e87..5e6073522 100644
--- a/tools/mesh/mesh-db.h
+++ b/tools/mesh/mesh-db.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/model.h b/tools/mesh/model.h
index 35bb80efc..2d78badec 100644
--- a/tools/mesh/model.h
+++ b/tools/mesh/model.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/remote.c b/tools/mesh/remote.c
index f68ef4b41..809d55996 100644
--- a/tools/mesh/remote.c
+++ b/tools/mesh/remote.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/remote.h b/tools/mesh/remote.h
index 482817c5a..75daeecc8 100644
--- a/tools/mesh/remote.h
+++ b/tools/mesh/remote.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/util.c b/tools/mesh/util.c
index 41a629177..788013cd0 100644
--- a/tools/mesh/util.c
+++ b/tools/mesh/util.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mesh/util.h b/tools/mesh/util.h
index 3b6a2f521..602be83ff 100644
--- a/tools/mesh/util.h
+++ b/tools/mesh/util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/meshctl.c b/tools/meshctl.c
index 57998fded..1c7cdff18 100644
--- a/tools/meshctl.c
+++ b/tools/meshctl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 337a05b45..500159324 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/mpris-proxy.c b/tools/mpris-proxy.c
index 617f80586..37591a533 100644
--- a/tools/mpris-proxy.c
+++ b/tools/mpris-proxy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/nokfw.c b/tools/nokfw.c
index 6209642b5..467656e48 100644
--- a/tools/nokfw.c
+++ b/tools/nokfw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/obex-client-tool.c b/tools/obex-client-tool.c
index 3d61c00d7..3fe70cb95 100644
--- a/tools/obex-client-tool.c
+++ b/tools/obex-client-tool.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
  *  OBEX library with GLib integration
diff --git a/tools/obex-server-tool.c b/tools/obex-server-tool.c
index b20dfaa6b..27a80d19a 100644
--- a/tools/obex-server-tool.c
+++ b/tools/obex-server-tool.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
  *  OBEX library with GLib integration
diff --git a/tools/obexctl.c b/tools/obexctl.c
index 0709f692c..2efd27508 100644
--- a/tools/obexctl.c
+++ b/tools/obexctl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/oobtest.c b/tools/oobtest.c
index c228b65b1..cb1caf723 100644
--- a/tools/oobtest.c
+++ b/tools/oobtest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/amp.c b/tools/parser/amp.c
index 7c85fb96c..aeaf2732e 100644
--- a/tools/parser/amp.c
+++ b/tools/parser/amp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/att.c b/tools/parser/att.c
index 688ed48a2..3c8b537fb 100644
--- a/tools/parser/att.c
+++ b/tools/parser/att.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/avctp.c b/tools/parser/avctp.c
index 5038443a4..d399e0f3f 100644
--- a/tools/parser/avctp.c
+++ b/tools/parser/avctp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/avdtp.c b/tools/parser/avdtp.c
index 18569c895..5130b42af 100644
--- a/tools/parser/avdtp.c
+++ b/tools/parser/avdtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/avrcp.c b/tools/parser/avrcp.c
index dfc6d0580..d9c3f0e7a 100644
--- a/tools/parser/avrcp.c
+++ b/tools/parser/avrcp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/bnep.c b/tools/parser/bnep.c
index c3bbae74f..23f3c93a3 100644
--- a/tools/parser/bnep.c
+++ b/tools/parser/bnep.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/bpa.c b/tools/parser/bpa.c
index aac010b39..28584dc92 100644
--- a/tools/parser/bpa.c
+++ b/tools/parser/bpa.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/capi.c b/tools/parser/capi.c
index ef6ac0664..f0bdd17da 100644
--- a/tools/parser/capi.c
+++ b/tools/parser/capi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/cmtp.c b/tools/parser/cmtp.c
index e7ac4b55c..32d7e6ac6 100644
--- a/tools/parser/cmtp.c
+++ b/tools/parser/cmtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/csr.c b/tools/parser/csr.c
index 718baab32..c751809fd 100644
--- a/tools/parser/csr.c
+++ b/tools/parser/csr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/ericsson.c b/tools/parser/ericsson.c
index d148c93f7..c0ee1d960 100644
--- a/tools/parser/ericsson.c
+++ b/tools/parser/ericsson.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index 41f6fe087..72c0e959f 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/hcrp.c b/tools/parser/hcrp.c
index 7c46cb6ea..1f8999d95 100644
--- a/tools/parser/hcrp.c
+++ b/tools/parser/hcrp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/hidp.c b/tools/parser/hidp.c
index 703049a7a..b2624489b 100644
--- a/tools/parser/hidp.c
+++ b/tools/parser/hidp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/l2cap.c b/tools/parser/l2cap.c
index e43761cf7..eb7684bac 100644
--- a/tools/parser/l2cap.c
+++ b/tools/parser/l2cap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/l2cap.h b/tools/parser/l2cap.h
index 788aef006..298ce25a6 100644
--- a/tools/parser/l2cap.h
+++ b/tools/parser/l2cap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/lmp.c b/tools/parser/lmp.c
index a7879fb37..1f24a39de 100644
--- a/tools/parser/lmp.c
+++ b/tools/parser/lmp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/obex.c b/tools/parser/obex.c
index 51719aa9c..9830ac588 100644
--- a/tools/parser/obex.c
+++ b/tools/parser/obex.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/parser.c b/tools/parser/parser.c
index 61c5b1cda..57ab44b7e 100644
--- a/tools/parser/parser.c
+++ b/tools/parser/parser.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/parser.h b/tools/parser/parser.h
index b7e1d7568..3b939e1a2 100644
--- a/tools/parser/parser.h
+++ b/tools/parser/parser.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/ppp.c b/tools/parser/ppp.c
index 55aaa60fe..90e7304a8 100644
--- a/tools/parser/ppp.c
+++ b/tools/parser/ppp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/rfcomm.c b/tools/parser/rfcomm.c
index d800b7e6d..5704d8dd7 100644
--- a/tools/parser/rfcomm.c
+++ b/tools/parser/rfcomm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/rfcomm.h b/tools/parser/rfcomm.h
index a9faa0bf8..fa7df9597 100644
--- a/tools/parser/rfcomm.h
+++ b/tools/parser/rfcomm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/sap.c b/tools/parser/sap.c
index 0a875fc7c..250cbff4b 100644
--- a/tools/parser/sap.c
+++ b/tools/parser/sap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/sdp.c b/tools/parser/sdp.c
index 7477037b8..e235dd188 100644
--- a/tools/parser/sdp.c
+++ b/tools/parser/sdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/sdp.h b/tools/parser/sdp.h
index ed55a23ea..bf329c1ef 100644
--- a/tools/parser/sdp.h
+++ b/tools/parser/sdp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/smp.c b/tools/parser/smp.c
index 817e08e85..fa444c6cc 100644
--- a/tools/parser/smp.c
+++ b/tools/parser/smp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/parser/tcpip.c b/tools/parser/tcpip.c
index 8ccfb007c..a96b345a6 100644
--- a/tools/parser/tcpip.c
+++ b/tools/parser/tcpip.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/rctest.c b/tools/rctest.c
index bc8ed875d..0fac6ebcb 100644
--- a/tools/rctest.c
+++ b/tools/rctest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/rfcomm-tester.c b/tools/rfcomm-tester.c
index 2d3be27d8..4635ac8d3 100644
--- a/tools/rfcomm-tester.c
+++ b/tools/rfcomm-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/rfcomm.c b/tools/rfcomm.c
index 177d8f828..4880b0c2d 100644
--- a/tools/rfcomm.c
+++ b/tools/rfcomm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/rtlfw.c b/tools/rtlfw.c
index 375f07592..50bf70480 100644
--- a/tools/rtlfw.c
+++ b/tools/rtlfw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/sco-tester.c b/tools/sco-tester.c
index 651fbe01d..594c36619 100644
--- a/tools/sco-tester.c
+++ b/tools/sco-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/scotest.c b/tools/scotest.c
index 08bc8a8d2..d48dbe5ca 100644
--- a/tools/scotest.c
+++ b/tools/scotest.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/sdptool.c b/tools/sdptool.c
index 3c5d840d9..5c00c69cc 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/seq2bseq.c b/tools/seq2bseq.c
index 9268ecd06..20e91810a 100644
--- a/tools/seq2bseq.c
+++ b/tools/seq2bseq.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/smp-tester.c b/tools/smp-tester.c
index c32519e0c..c6bfde920 100644
--- a/tools/smp-tester.c
+++ b/tools/smp-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/test-runner.c b/tools/test-runner.c
index bd3c73001..c735a2ba9 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/ubcsp.c b/tools/ubcsp.c
index b3f883a03..ff96c3107 100644
--- a/tools/ubcsp.c
+++ b/tools/ubcsp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/ubcsp.h b/tools/ubcsp.h
index 6a74e9a16..2a54146cd 100644
--- a/tools/ubcsp.h
+++ b/tools/ubcsp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/tools/userchan-tester.c b/tools/userchan-tester.c
index 8fb088827..50cdfb238 100644
--- a/tools/userchan-tester.c
+++ b/tools/userchan-tester.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-13  3:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200913033341.4639-1-tedd.an@linux.intel.com>
2020-09-13  3:33 ` [BlueZ v2 03/17] btio: Add SPDX License Identifier tedd.an
2020-09-13  3:33 ` [BlueZ v2 06/17] gdbus: " tedd.an
2020-09-13  3:33 ` [BlueZ v2 11/17] obexd: " tedd.an
2020-09-13  3:33 ` [BlueZ v2 13/17] plugins: " tedd.an
2020-09-13  3:33 ` [BlueZ v2 14/17] profiles: " tedd.an
2020-09-13  3:33 ` [BlueZ v2 15/17] unit: " tedd.an
2020-09-13  3:33 ` [BlueZ v2 16/17] src: " tedd.an
2020-09-13  3:33 ` [BlueZ v2 17/17] tools: " tedd.an

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.