Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192u: add proper SPDX identifiers on files that did not have them.

There were a few files for the rtl8192u driver that did not have SPDX
identifiers on them, so fix that up. At the same time, remove the "free
form" text that specified the license of the file, as that is impossible
for any tool to properly parse.

Cc: John Whitmore <johnfwhitmore@gmail.com>
Cc: Bhanusree Pola <bhanusreemahesh@gmail.com>
Cc: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Cc: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

+17 -92
+1 -5
drivers/staging/rtl8192u/ieee80211/ieee80211.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * Merged with mainline ieee80211.h in Aug 2004. Original ieee802_11 3 4 * remains copyright by the original authors ··· 16 15 * 17 16 * Modified for Realtek's wi-fi cards by Andrea Merello 18 17 * <andrea.merello@gmail.com> 19 - * 20 - * This program is free software; you can redistribute it and/or modify 21 - * it under the terms of the GNU General Public License version 2 as 22 - * published by the Free Software Foundation. See README and COPYING for 23 - * more details. 24 18 */ 25 19 #ifndef IEEE80211_H 26 20 #define IEEE80211_H
+1 -6
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Host AP crypto routines 3 4 * 4 5 * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi> 5 6 * Portions Copyright (C) 2004, Intel Corporation <jketreno@linux.intel.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License version 2 as 9 - * published by the Free Software Foundation. See README and COPYING for 10 - * more details. 11 - * 12 7 */ 13 8 14 9 #include <linux/module.h>
+1 -5
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * Original code based on Host AP (software wireless LAN access point) driver 3 4 * for Intersil Prism2/2.5/3. ··· 11 10 * <jketreno@linux.intel.com> 12 11 * 13 12 * Copyright (c) 2004, Intel Corporation 14 - * 15 - * This program is free software; you can redistribute it and/or modify 16 - * it under the terms of the GNU General Public License version 2 as 17 - * published by the Free Software Foundation. See README and COPYING for 18 - * more details. 19 13 */ 20 14 21 15 /*
+1 -5
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Host AP crypt: host-based CCMP encryption implementation for Host AP driver 3 4 * 4 5 * Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi> 5 - * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License version 2 as 8 - * published by the Free Software Foundation. See README and COPYING for 9 - * more details. 10 6 */ 11 7 12 8 #include <linux/module.h>
+1 -5
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Host AP crypt: host-based TKIP encryption implementation for Host AP driver 3 4 * 4 5 * Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi> 5 - * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License version 2 as 8 - * published by the Free Software Foundation. See README and COPYING for 9 - * more details. 10 6 */ 11 7 12 8 #include <linux/module.h>
+1 -5
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Host AP crypt: host-based WEP encryption implementation for Host AP driver 3 4 * 4 5 * Copyright (c) 2002-2004, Jouni Malinen <jkmaline@cc.hut.fi> 5 - * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License version 2 as 8 - * published by the Free Software Foundation. See README and COPYING for 9 - * more details. 10 6 */ 11 7 12 8 #include <linux/module.h>
+1 -5
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Original code based Host AP (software wireless LAN access point) driver 3 4 * for Intersil Prism2/2.5/3 - hostap.o module, common routines ··· 7 6 * <jkmaline@cc.hut.fi> 8 7 * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi> 9 8 * Copyright (c) 2004, Intel Corporation 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. See README and COPYING for 14 - * more details. 15 9 ****************************************************************************** 16 10 17 11 Few modifications for Realtek's Wi-Fi drivers by
+1 -2
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* IEEE 802.11 SoftMAC layer 2 3 * Copyright (c) 2005 Andrea Merello <andrea.merello@gmail.com> 3 4 * ··· 10 9 * 11 10 * WPA code stolen from the ipw2200 driver. 12 11 * Copyright who own it's copyright. 13 - * 14 - * released under the GPL 15 12 */ 16 13 #include "ieee80211.h" 17 14
+1 -2
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* IEEE 802.11 SoftMAC layer 2 3 * Copyright (c) 2005 Andrea Merello <andrea.merello@gmail.com> 3 4 * ··· 10 9 * 11 10 * PS wx handler mostly stolen from hostap, copyright who 12 11 * own it's copyright ;-) 13 - * 14 - * released under the GPL 15 12 */ 16 13 17 14
+1 -16
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /****************************************************************************** 2 3 * 3 4 * Copyright(c) 2003 - 2004 Intel Corporation. All rights reserved. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2 of the GNU General Public License as 7 - * published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 - * 14 - * You should have received a copy of the GNU General Public License along with 15 - * this program; if not, write to the Free Software Foundation, Inc., 59 16 - * Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 - * 18 - * The full GNU General Public License is included in this distribution in the 19 - * file called LICENSE. 20 5 * 21 6 * Contact Information: 22 7 * James P. Ketrenos <ipw2100-admin@linux.intel.com>
+1 -16
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /****************************************************************************** 2 3 3 4 Copyright(c) 2004 Intel Corporation. All rights reserved. ··· 8 7 Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen 9 8 <jkmaline@cc.hut.fi> 10 9 Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi> 11 - 12 - This program is free software; you can redistribute it and/or modify it 13 - under the terms of version 2 of the GNU General Public License as 14 - published by the Free Software Foundation. 15 - 16 - This program is distributed in the hope that it will be useful, but WITHOUT 17 - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 18 - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 19 - more details. 20 - 21 - You should have received a copy of the GNU General Public License along with 22 - this program; if not, write to the Free Software Foundation, Inc., 59 23 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. 24 - 25 - The full GNU General Public License is included in this distribution in the 26 - file called LICENSE. 27 10 28 11 Contact Information: 29 12 James P. Ketrenos <ipw2100-admin@linux.intel.com>
+1 -1
drivers/staging/rtl8192u/r8180_93cx6.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * This files contains card eeprom (93c46 or 93c56) programming routines, 3 4 * memory is addressed by 16 bits words. 4 5 * 5 6 * This is part of rtl8180 OpenSource driver. 6 7 * Copyright (C) Andrea Merello 2004 <andrea.merello@gmail.com> 7 - * Released under the terms of GPL (General Public Licence) 8 8 * 9 9 * Parts of this driver are based on the GPL part of the 10 10 * official realtek driver.
+1 -1
drivers/staging/rtl8192u/r8190_rtl8256.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * This is part of the rtl8192 driver 3 - * released under the GPL (See file COPYING for details). 4 4 * 5 5 * This files contains programming code for the rtl8256 6 6 * radio frontend.
+1 -15
drivers/staging/rtl8192u/r8192U_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /****************************************************************************** 2 3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. 3 4 * Linux device driver for RTL8192U 4 5 * 5 6 * Based on the r8187 driver, which is: 6 7 * Copyright 2004-2005 Andrea Merello <andrea.merello@gmail.com>, et al. 7 - * This program is free software; you can redistribute it and/or modify it 8 - * under the terms of version 2 of the GNU General Public License as 9 - * published by the Free Software Foundation. 10 - * 11 - * This program is distributed in the hope that it will be useful, but WITHOUT 12 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 14 - * more details. 15 - * 16 - * You should have received a copy of the GNU General Public License along with 17 - * this program; if not, write to the Free Software Foundation, Inc., 18 - * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA 19 - * 20 - * The full GNU General Public License is included in this distribution in the 21 - * file called LICENSE. 22 8 * 23 9 * Contact Information: 24 10 * Jerry chuang <wlanfae@realtek.com>
+1 -1
drivers/staging/rtl8192u/r8192U_hw.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * This is part of rtl8187 OpenSource driver. 3 4 * Copyright (C) Andrea Merello 2004-2005 <andrea.merello@gmail.com> 4 - * Released under the terms of GPL (General Public Licence) 5 5 * 6 6 * Parts of this driver are based on the GPL part of the 7 7 * official Realtek driver.
+1 -1
drivers/staging/rtl8192u/r8192U_wx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /****************************************************************************** 2 3 * 3 4 * This file contains wireless extension handlers. 4 5 * 5 6 * This is part of rtl8180 OpenSource driver. 6 7 * Copyright (C) Andrea Merello 2004-2005 <andrea.merello@gmail.com> 7 - * Released under the terms of GPL (General Public Licence) 8 8 * 9 9 * Parts of this driver are based on the GPL part 10 10 * of the official realtek driver.
+1 -1
drivers/staging/rtl8192u/r8192U_wx.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * This is part of rtl8180 OpenSource driver - v 0.3 3 4 * Copyright (C) Andrea Merello 2004 <andrea.merello@gmail.com> 4 - * Released under the terms of GPL (General Public Licence) 5 5 * 6 6 * Parts of this driver are based on the GPL part of the official realtek driver 7 7 * Parts of this driver are based on the rtl8180 driver skeleton from Patric