Commit be9be9f5 authored by Johannes Berg's avatar Johannes Berg
Browse files

staging: rtl8192e: delete the driver



This driver is using lib80211 and any driver that plans to ever
leave staging should never have done that, so remove the driver
to enable cleaning up lib80211 into libipw inside the old Intel
drivers.

Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20241007202707.d0e59cdd2cdc.I8e4d74a6e1d09eefe1f5e2e208735ba2ccef1d4f@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4fe9a5ec
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@ if STAGING

source "drivers/staging/olpc_dcon/Kconfig"

source "drivers/staging/rtl8192e/Kconfig"

source "drivers/staging/rtl8723bs/Kconfig"

source "drivers/staging/rtl8712/Kconfig"
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@

obj-y				+= media/
obj-$(CONFIG_FB_OLPC_DCON)	+= olpc_dcon/
obj-$(CONFIG_RTL8192E)		+= rtl8192e/
obj-$(CONFIG_RTL8723BS)		+= rtl8723bs/
obj-$(CONFIG_R8712U)		+= rtl8712/
obj-$(CONFIG_RTS5208)		+= rts5208/

drivers/staging/rtl8192e/Kconfig

deleted100644 → 0
+0 −61
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
config RTLLIB
	tristate "Support for rtllib wireless devices"
	depends on WLAN && m
	select LIB80211
	select CRC32
	help
	  If you have a wireless card that uses rtllib, say
	  Y. Currently the only card is the rtl8192e.

	  If unsure, say N.

	  This driver adds support for rtllib wireless cards.
	  Only the rtl8192e is supported as of now.

if RTLLIB

config RTLLIB_CRYPTO_CCMP
	tristate "Support for rtllib CCMP crypto"
	depends on RTLLIB
	select CRYPTO
	select CRYPTO_AES
	select CRYPTO_CCM
	default y
	help
	  CCMP crypto driver for rtllib.

	  If you enabled RTLLIB, you want this.
	  Adds support for the CCM mode Protocol crypto driver for
	  use in wireless cards (including rtllib cards).

config RTLLIB_CRYPTO_TKIP
	tristate "Support for rtllib TKIP crypto"
	depends on RTLLIB
	select CRYPTO
	select CRYPTO_LIB_ARC4
	select CRYPTO_MICHAEL_MIC
	default y
	help
	  TKIP crypto driver for rtllib.

	  If you enabled RTLLIB, you want this.
	  Adds support for the Temporal Key Integrity Protocol for
	  the IEEE 802.11i standard for use on wireless cards.

config RTLLIB_CRYPTO_WEP
	tristate "Support for rtllib WEP crypto"
	select CRYPTO_LIB_ARC4
	depends on RTLLIB
	default y
	help
	  WEP crypto driver for rtllib.

	  If you enabled RTLLIB, you want this.
	  Adds support for the (now weak) Wired Equivalent Privacy
	  (WEP) crypto protocol for wireless cards.
	  NOTE: This protocol is now considered insecure.

source "drivers/staging/rtl8192e/rtl8192e/Kconfig"

endif

drivers/staging/rtl8192e/Makefile

deleted100644 → 0
+0 −19
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
rtllib-objs :=			\
	rtllib_module.o		\
	rtllib_rx.o		\
	rtllib_tx.o		\
	rtllib_wx.o		\
	rtllib_softmac.o	\
	rtllib_softmac_wx.o	\
	rtl819x_BAProc.o	\
	rtl819x_HTProc.o	\
	rtl819x_TSProc.o

obj-$(CONFIG_RTLLIB) += rtllib.o

obj-$(CONFIG_RTLLIB_CRYPTO_CCMP) += rtllib_crypt_ccmp.o
obj-$(CONFIG_RTLLIB_CRYPTO_TKIP) += rtllib_crypt_tkip.o
obj-$(CONFIG_RTLLIB_CRYPTO_WEP) += rtllib_crypt_wep.o

obj-$(CONFIG_RTL8192E) += rtl8192e/

drivers/staging/rtl8192e/TODO

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
To-do list:

* merge into drivers/net/wireless/realtek/rtlwifi/rtl8192*
* clean up function naming
* Correct the coding style according to Linux guidelines; please read the document
  at https://www.kernel.org/doc/html/latest/process/coding-style.html.
* Remove unnecessary debugging/printing macros; for those that are still needed
  use the proper kernel API (pr_debug(), dev_dbg(), netdev_dbg()).
* Remove dead code such as unusued functions, variables, fields, etc..
* Use in-kernel API and remove unnecessary wrappers where possible.
* Fix bugs due to code that sleeps in atomic context.
* Remove the HAL layer and migrate its functionality into the relevant parts of
  the driver.
* Switch to use LIB80211.
* Switch to use MAC80211.
* Switch to use CFG80211.
* Improve the error handling of various functions, particularly those that use
  existing kernel APIs.
Loading