Skip to contentSkip to conversation

lib80211 cleanup

PATCH In review Johannes Berg 3 participants 13 messages Oct 7, 2024 – Oct 8, 2024

Subsystems (7)
lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

v2 cover lib80211 cleanup

Sorry for the immediate resend, I had missed some spots and saw them just now, hopefully nobody looked at v1 yet.

johannes

author maintainer
#1 lore raw

PATCH v2 1/6 wifi: qtnfmac: don't include lib80211.h

From: Johannes Berg <[email protected]>

This driver doesn't use it, and really can't, so don't include lib80211.h.

---
 drivers/net/wireless/quantenna/qtnfmac/core.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/quantenna/qtnfmac/core.h +0 -1
index b204a24074ab..b375a4751580 100644
@@ -13,7 +13,6 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <net/sock.h>
-#include <net/lib80211.h>
 #include <net/cfg80211.h>
 #include <linux/vmalloc.h>
 #include <linux/firmware.h>
Signature · 1 line
2.46.2
author maintainer
#2 lore raw

PATCH v2 2/6 wifi: mwifiex: don't include lib80211.h

In reply to Johannes Berg

From: Johannes Berg <[email protected]>

This really should never have been used, it's ancient code, but then the driver needs its own define for NUM_WEP_KEYS.

---
 drivers/net/wireless/marvell/mwifiex/ioctl.h | 2 +-
 drivers/net/wireless/marvell/mwifiex/main.h  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/net/wireless/marvell/mwifiex/ioctl.h +1 -1
index 516159b721d3..74747d3a379a 100644
@@ -8,7 +8,7 @@
 #ifndef _MWIFIEX_IOCTL_H_
 #define _MWIFIEX_IOCTL_H_
 
-#include <net/lib80211.h>
+#define NUM_WEP_KEYS	4
 
 enum {
 	MWIFIEX_SCAN_TYPE_UNCHANGED = 0,
drivers/net/wireless/marvell/mwifiex/main.h +0 -1
index 566adce3413c..366590236ed7 100644
@@ -19,7 +19,6 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <net/sock.h>
-#include <net/lib80211.h>
 #include <linux/vmalloc.h>
 #include <linux/firmware.h>
 #include <linux/ctype.h>
Signature · 1 line
2.46.2
author maintainer
#3 lore raw

PATCH v2 3/6 wifi: libertas: don't select/include lib80211

In reply to Johannes Berg

From: Johannes Berg <[email protected]>

This isn't used in this driver, and should't be, so remove the include as well as the select.

---
v2: remove Kconfig select as well

---
 drivers/net/wireless/marvell/libertas/Kconfig | 1 -
 drivers/net/wireless/marvell/libertas/mesh.h  | 1 -
 2 files changed, 2 deletions(-)
drivers/net/wireless/marvell/libertas/Kconfig +0 -1
index 36b234bc5be8..caf8bc231b2e 100644
@@ -3,7 +3,6 @@ config LIBERTAS
 	tristate "Marvell 8xxx Libertas WLAN driver support"
 	depends on USB || MMC || SPI
 	depends on CFG80211
-	select LIB80211
 	select FW_LOADER
 	help
 	  A library for Marvell Libertas 8xxx devices.
drivers/net/wireless/marvell/libertas/mesh.h +0 -1
index 44c4cd0230a8..e37db10e82a9 100644
@@ -7,7 +7,6 @@
 
 
 #include <net/iw_handler.h>
-#include <net/lib80211.h>
 
 #include "host.h"
 #include "dev.h"
Signature · 1 line
2.46.2
author maintainer
#4 lore raw

PATCH v2 4/6 staging: rtl8192e: delete the driver

In reply to Johannes Berg

From: Johannes Berg <[email protected]>

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.

---
 drivers/staging/Kconfig                       |    2 -
 drivers/staging/Makefile                      |    1 -
 drivers/staging/rtl8192e/Kconfig              |   61 -
 drivers/staging/rtl8192e/Makefile             |   19 -
 drivers/staging/rtl8192e/TODO                 |   18 -
 drivers/staging/rtl8192e/rtl8192e/Kconfig     |   10 -
 drivers/staging/rtl8192e/rtl8192e/Makefile    |   19 -
 .../staging/rtl8192e/rtl8192e/r8190P_def.h    |  265 --
 .../rtl8192e/rtl8192e/r8190P_rtl8256.c        |  198 --
 .../rtl8192e/rtl8192e/r8190P_rtl8256.h        |   17 -
 .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c |   79 -
 .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h |   12 -
 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 1920 ------------
 .../staging/rtl8192e/rtl8192e/r8192E_dev.h    |   34 -
 .../rtl8192e/rtl8192e/r8192E_firmware.c       |  189 --
 .../rtl8192e/rtl8192e/r8192E_firmware.h       |   52 -
 drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h |  244 --
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    | 1109 -------
 .../staging/rtl8192e/rtl8192e/r8192E_phy.h    |   57 -
 .../staging/rtl8192e/rtl8192e/r8192E_phyreg.h |  773 -----
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.c   |  123 -
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.h   |   25 -
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c  | 2016 -------------
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  |  402 ---
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c    | 1857 ------------
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h    |  155 -
 .../staging/rtl8192e/rtl8192e/rtl_eeprom.c    |   84 -
 .../staging/rtl8192e/rtl8192e/rtl_eeprom.h    |   12 -
 .../staging/rtl8192e/rtl8192e/rtl_ethtool.c   |   37 -
 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c   |   79 -
 drivers/staging/rtl8192e/rtl8192e/rtl_pci.h   |   20 -
 drivers/staging/rtl8192e/rtl8192e/rtl_pm.c    |   89 -
 drivers/staging/rtl8192e/rtl8192e/rtl_pm.h    |   16 -
 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c    |  231 --
 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h    |   31 -
 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c    |  866 ------
 drivers/staging/rtl8192e/rtl8192e/rtl_wx.h    |   13 -
 drivers/staging/rtl8192e/rtl8192e/table.c     |  543 ----
 drivers/staging/rtl8192e/rtl8192e/table.h     |   27 -
 drivers/staging/rtl8192e/rtl819x_BA.h         |   60 -
 drivers/staging/rtl8192e/rtl819x_BAProc.c     |  544 ----
 drivers/staging/rtl8192e/rtl819x_HT.h         |  223 --
 drivers/staging/rtl8192e/rtl819x_HTProc.c     |  699 -----
 drivers/staging/rtl8192e/rtl819x_Qos.h        |   43 -
 drivers/staging/rtl8192e/rtl819x_TS.h         |   50 -
 drivers/staging/rtl8192e/rtl819x_TSProc.c     |  450 ---
 drivers/staging/rtl8192e/rtllib.h             | 1810 ------------
 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c  |  411 ---
 drivers/staging/rtl8192e/rtllib_crypt_tkip.c  |  712 -----
 drivers/staging/rtl8192e/rtllib_crypt_wep.c   |  242 --
 drivers/staging/rtl8192e/rtllib_module.c      |  179 --
 drivers/staging/rtl8192e/rtllib_rx.c          | 2564 -----------------
 drivers/staging/rtl8192e/rtllib_softmac.c     | 2309 ---------------
 drivers/staging/rtl8192e/rtllib_softmac_wx.c  |  534 ----
 drivers/staging/rtl8192e/rtllib_tx.c          |  901 ------
 drivers/staging/rtl8192e/rtllib_wx.c          |  752 -----
 56 files changed, 24188 deletions(-)
 delete mode 100644 drivers/staging/rtl8192e/Kconfig
 delete mode 100644 drivers/staging/rtl8192e/Makefile
 delete mode 100644 drivers/staging/rtl8192e/TODO
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/Kconfig
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/Makefile
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8190P_def.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_cam.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_cam.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_core.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_core.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_pci.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_pm.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_pm.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/rtl_wx.h
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/table.c
 delete mode 100644 drivers/staging/rtl8192e/rtl8192e/table.h
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_BA.h
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_BAProc.c
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_HT.h
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_HTProc.c
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_Qos.h
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_TS.h
 delete mode 100644 drivers/staging/rtl8192e/rtl819x_TSProc.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib.h
 delete mode 100644 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_crypt_tkip.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_crypt_wep.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_module.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_rx.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_softmac.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_softmac_wx.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_tx.c
 delete mode 100644 drivers/staging/rtl8192e/rtllib_wx.c
drivers/staging/Kconfig +0 -2
index db4a392841b1..3f46446a84fa 100644
@@ -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"
drivers/staging/Makefile +0 -1
index 5390879b5d1b..5f32a5d1957b 100644
@@ -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 deleted +0 -61

61 lines not on this page · raw message

drivers/staging/rtl8192e/Makefile deleted +0 -19
deleted file mode 100644
index a1492215dab1..000000000000
@@ -1,19 +0,0 @@
-# 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 deleted +0 -18
deleted file mode 100644
index 7221ae65d63e..000000000000
@@ -1,18 +0,0 @@
-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.
drivers/staging/rtl8192e/rtl8192e/Kconfig deleted +0 -10
deleted file mode 100644
index f8f774a16295..000000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-config RTL8192E
-	tristate "RealTek RTL8192E Wireless LAN NIC driver"
-	depends on PCI && WLAN && RTLLIB
-	depends on m
-	select CFG80211
-	select WIRELESS_EXT
-	select WEXT_PRIV
-	select CRYPTO
-	select FW_LOADER
drivers/staging/rtl8192e/rtl8192e/Makefile deleted +0 -19
deleted file mode 100644
index a442d79ea71e..000000000000
@@ -1,19 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-r8192e_pci-objs :=		\
-	r8192E_dev.o		\
-	r8192E_phy.o		\
-	r8192E_firmware.o	\
-	r8192E_cmdpkt.o		\
-	table.o			\
-	r8190P_rtl8256.o	\
-	rtl_cam.o		\
-	rtl_core.o		\
-	rtl_dm.o		\
-	rtl_eeprom.o		\
-	rtl_ethtool.o		\
-	rtl_pci.o		\
-	rtl_pm.o		\
-	rtl_ps.o		\
-	rtl_wx.o		\
-
-obj-$(CONFIG_RTL8192E) += r8192e_pci.o
drivers/staging/rtl8192e/rtl8192e/r8190P_def.h deleted +0 -265

265 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c deleted +0 -198

198 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h deleted +0 -17
deleted file mode 100644
index 3c52e2b43095..000000000000
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
- *
- * Contact Information: wlanfae <[email protected]>
- */
-#ifndef RTL8225H
-#define RTL8225H
-
-#define RTL819X_TOTAL_RF_PATH 2
-void rtl92e_set_bandwidth(struct net_device *dev,
-			  enum ht_channel_width bandwidth);
-bool rtl92e_config_rf(struct net_device *dev);
-void rtl92e_set_cck_tx_power(struct net_device *dev, u8	powerlevel);
-void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel);
-
-#endif
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c deleted +0 -79

79 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h deleted +0 -12
deleted file mode 100644
index c63909199e93..000000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
- *
- * Contact Information: wlanfae <[email protected]>
- */
-#ifndef R819XUSB_CMDPKT_H
-#define R819XUSB_CMDPKT_H
-
-bool rtl92e_send_cmd_pkt(struct net_device *dev, u32 type, const void *data,
-			 u32 len);
-#endif
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c deleted +0 -1920

1,920 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h deleted +0 -34
deleted file mode 100644
index 9d9c5051c7fe..000000000000
@@ -1,34 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
- *
- * Contact Information: wlanfae <[email protected]>
- */
-#ifndef _RTL8192E_H
-#define _RTL8192E_H
-
-#include "r8190P_def.h"
-
-bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
-bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
-bool rtl92e_is_tx_stuck(struct net_device *dev);
-bool rtl92e_is_rx_stuck(struct net_device *dev);
-void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta);
-void rtl92e_enable_rx(struct net_device *dev);
-void rtl92e_enable_tx(struct net_device *dev);
-void rtl92e_init_variables(struct net_device  *dev);
-void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val);
-void rtl92e_get_eeprom_size(struct net_device *dev);
-bool rtl92e_start_adapter(struct net_device *dev);
-void rtl92e_link_change(struct net_device *dev);
-void rtl92e_set_monitor_mode(struct net_device *dev, bool allow_all_da,
-			     bool write_into_reg);
-void  rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
-			  struct cb_desc *cb_desc, struct sk_buff *skb);
-void  rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry,
-			      struct cb_desc *cb_desc, struct sk_buff *skb);
-bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
-			 struct rx_desc *pdesc, struct sk_buff *skb);
-void rtl92e_stop_adapter(struct net_device *dev, bool reset);
-void rtl92e_update_ratr_table(struct net_device *dev);
-#endif
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c deleted +0 -189

189 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h deleted +0 -52

52 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h deleted +0 -244

92 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c deleted +0 -1109

1,109 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h deleted +0 -57

57 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h deleted +0 -773

773 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_cam.c deleted +0 -123

123 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_cam.h deleted +0 -25
deleted file mode 100644
index 9deffdf96072..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/rtl_core.c deleted +0 -2016

2,016 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_core.h deleted +0 -402

402 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_dm.c deleted +0 -1857

1,857 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_dm.h deleted +0 -155

155 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c deleted +0 -84

84 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h deleted +0 -12
deleted file mode 100644
index 66f1979bb1d5..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c deleted +0 -37
deleted file mode 100644
index fab8932e67da..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/rtl_pci.c deleted +0 -79

79 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_pci.h deleted +0 -20
deleted file mode 100644
index 3e39c4835ac8..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/rtl_pm.c deleted +0 -89

89 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_pm.h deleted +0 -16
deleted file mode 100644
index fd8611495975..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/rtl_ps.c deleted +0 -231

231 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_ps.h deleted +0 -31
deleted file mode 100644
index 70fe5d39be9a..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/rtl_wx.c deleted +0 -866

866 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/rtl_wx.h deleted +0 -13
deleted file mode 100644
index d70a747ac1dd..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl8192e/table.c deleted +0 -543

543 lines not on this page · raw message

drivers/staging/rtl8192e/rtl8192e/table.h deleted +0 -27
deleted file mode 100644
index 82be44a9d4e8..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8192e/rtl819x_BA.h deleted +0 -60

60 lines not on this page · raw message

drivers/staging/rtl8192e/rtl819x_BAProc.c deleted +0 -544

544 lines not on this page · raw message

drivers/staging/rtl8192e/rtl819x_HT.h deleted +0 -223

223 lines not on this page · raw message

drivers/staging/rtl8192e/rtl819x_HTProc.c deleted +0 -699

699 lines not on this page · raw message

drivers/staging/rtl8192e/rtl819x_Qos.h deleted +0 -43

43 lines not on this page · raw message

drivers/staging/rtl8192e/rtl819x_TS.h deleted +0 -50

50 lines not on this page · raw message

drivers/staging/rtl8192e/rtl819x_TSProc.c deleted +0 -450

450 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib.h deleted +0 -1810

1,810 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_crypt_ccmp.c deleted +0 -411

411 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_crypt_tkip.c deleted +0 -712

712 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_crypt_wep.c deleted +0 -242

242 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_module.c deleted +0 -179

179 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_rx.c deleted +0 -2564

2,564 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_softmac.c deleted +0 -2309

2,309 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_softmac_wx.c deleted +0 -534

534 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_tx.c deleted +0 -901

901 lines not on this page · raw message

drivers/staging/rtl8192e/rtllib_wx.c deleted +0 -752

752 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.46.2

Part of the diff is not shown here. View the raw message.

#5 lore raw

Re: [PATCH v2 4/6] staging: rtl8192e: delete the driver

Quoted 9 lines · Johannes Berg

From: Johannes Berg<[email protected]>

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.

---

Hi Johannes,

this driver is not only working, it is also supporting a form factor that is usable and is available on the used hardware market.

Is it possible to migrate the driver from lib80211 to libipw?

It does not have to be you who is doing this. How urgent is it to remove this driver?

Thanks for your support.

Bye Philipp

#6 lore raw

Re: [PATCH v2 4/6] staging: rtl8192e: delete the driver

Quoted 11 lines · Philipp Hortmann
Quoted 9 lines · Johannes Berg

From: Johannes Berg<[email protected]>

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.

---

Quoted 6 lines

Hi Johannes,

this driver is not only working, it is also supporting a form factor that is usable and is available on the used hardware market.

Is it possible to migrate the driver from lib80211 to libipw?

I don't think a "migration" is simple or easy, I only know of one driver that ever made that move and it was not easy. It's simpler to just take the existing driver, hack it to pieces out-of-tree and then submit a new driver using the correct apis.

As you have the hardware itself, that would be a good thing to do as you can test it.

Quoted 2 lines

It does not have to be you who is doing this. How urgent is it to remove this driver?

No staging driver should ever get in the way of api changes elsewhere in the kernel, that's one of the rules of this part of the tree. So from my opinion, it's fine to delete it now. It can always come back in a new way later on.

thanks,

greg k-h

author maintainer
#7 lore raw

Re: [PATCH v2 4/6] staging: rtl8192e: delete the driver

Quoted 12 lines · Greg Kroah-Hartman
Quoted 11 lines · Philipp Hortmann
Quoted 9 lines · Johannes Berg

From: Johannes Berg<[email protected]>

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.

---

Quoted 8 lines
Quoted 6 lines

Hi Johannes,

this driver is not only working, it is also supporting a form factor that is usable and is available on the used hardware market.

Is it possible to migrate the driver from lib80211 to libipw?

I don't think a "migration" is simple or easy,

Indeed. In this case, as you can see in the driver, it already "vendors" much of what was the ieee80211 softmac stack years ago, and partially became libipw/lib80211 as "rtllib". I don't know why it even depends on lib80211 (which does crypto) if it has its own rtllib_crypt_* code, but I'm not sure I want to know either.

I'm not very inclined to bother finding out, because the thing is, there's basically no way it will ever "graduate" from staging in this way. It's been around for just over 15 years (!), and nobody cared, and in all that time it has already been the case that it should be using mac80211, not ieee80211/lib80211.

Quoted 4 lines

I only know of one driver
that ever made that move and it was not easy. It's simpler to just take the existing driver, hack it to pieces out-of-tree and then submit a new driver using the correct apis.

Indeed, or integrate with the existing realtek driver frameworks.

Quoted 7 lines
Quoted 2 lines

It does not have to be you who is doing this. How urgent is it to remove this driver?

No staging driver should ever get in the way of api changes elsewhere in the kernel, that's one of the rules of this part of the tree. So from my opinion, it's fine to delete it now. It can always come back in a new way later on.

Right. It's not per se urgent, we just found that lib80211.h didn't exist in MAINTAINERS, and then I realized that it didn't need to exist at all (since we threw out some ancient wifi drivers.)

So no, it doesn't need to happen now, but also as Greg said staging shouldn't be in the way, and as I wrote above, nothing happened with this driver in 15 years. I'm not going to wait that long again with lib80211, and I see no reason why there should suddenly be activity on it now.

And if suddenly and unexpectedly there is now any development interest in it, it could even be restored without the lib80211 dependency, as Greg said, though I doubt that'd be useful - more useful to integrate with existing code instead.

johannes

maintainer Acked-by on v2 4/6
#8 lore raw

Re: [PATCH v2 4/6] staging: rtl8192e: delete the driver

In reply to Johannes Berg
Quoted 8 lines · Johannes Berg

From: Johannes Berg <[email protected]>

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.

#9 lore raw

Re: [PATCH v2 4/6] staging: rtl8192e: delete the driver

Quoted 12 lines · Greg Kroah-Hartman
Quoted 8 lines · Johannes Berg

From: Johannes Berg <[email protected]>

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.

Hi,

thanks for the explanations. I am fine to remove the driver.

It would be good if the maintainer would find the time to update the git, so that we see which patches are accepted and who has to rebase or change his patches. Due to merge window 3,5 weeks have passed and I have lost overview.

Thanks for your support.

Bye Philipp

author maintainer
#10 lore raw

PATCH v2 5/6 wifi: ipw2x00/lib80211: move remaining lib80211 into libipw

In reply to Johannes Berg

From: Johannes Berg <[email protected]>

There's already much code in libipw that used to be shared with more drivers, but now with the prior cleanups, those old Intel ipw2x00 drivers are also the only ones using whatever is now left of lib80211. Move lib80211 entirely into libipw.

---
v2:
- remove Kconfig
- also properly change the debug ifdefs
- fix section conflicts

---
 drivers/net/wireless/intel/ipw2x00/Kconfig    |   6 -
 drivers/net/wireless/intel/ipw2x00/Makefile   |   6 +-
 drivers/net/wireless/intel/ipw2x00/ipw2100.c  |   7 +-
 drivers/net/wireless/intel/ipw2x00/ipw2200.c  |   4 +-
 drivers/net/wireless/intel/ipw2x00/ipw2200.h  |   2 -
 drivers/net/wireless/intel/ipw2x00/libipw.h   | 101 ++++++-
 .../wireless/intel/ipw2x00/libipw_crypto.c    | 246 +++++++++++++++++
 .../intel/ipw2x00/libipw_crypto_ccmp.c        |  76 +++---
 .../intel/ipw2x00/libipw_crypto_tkip.c        | 106 ++++----
 .../intel/ipw2x00/libipw_crypto_wep.c         |  73 +++--
 .../wireless/intel/ipw2x00/libipw_module.c    |  36 ++-
 .../net/wireless/intel/ipw2x00/libipw_rx.c    |   9 +-
 .../net/wireless/intel/ipw2x00/libipw_tx.c    |   4 +-
 .../net/wireless/intel/ipw2x00/libipw_wx.c    |  43 ++-
 include/net/lib80211.h                        | 122 ---------
 net/wireless/Kconfig                          |  33 ---
 net/wireless/Makefile                         |   4 -
 net/wireless/lib80211.c                       | 257 ------------------
 18 files changed, 525 insertions(+), 610 deletions(-)
 create mode 100644 drivers/net/wireless/intel/ipw2x00/libipw_crypto.c
 rename net/wireless/lib80211_crypt_ccmp.c => drivers/net/wireless/intel/ipw2x00/libipw_crypto_ccmp.c (83%)
 rename net/wireless/lib80211_crypt_tkip.c => drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c (87%)
 rename net/wireless/lib80211_crypt_wep.c => drivers/net/wireless/intel/ipw2x00/libipw_crypto_wep.c (72%)
 delete mode 100644 include/net/lib80211.h
 delete mode 100644 net/wireless/lib80211.c
drivers/net/wireless/intel/ipw2x00/Kconfig +0 -6
index 1650d5865aa0..d9c042772399 100644
@@ -10,7 +10,6 @@ config IPW2100
 	select WEXT_SPY
 	select WEXT_PRIV
 	select FW_LOADER
-	select LIB80211
 	select LIBIPW
 	help
 	  A driver for the Intel PRO/Wireless 2100 Network
@@ -72,7 +71,6 @@ config IPW2200
 	select WEXT_SPY
 	select WEXT_PRIV
 	select FW_LOADER
-	select LIB80211
 	select LIBIPW
 	help
 	  A driver for the Intel PRO/Wireless 2200BG and 2915ABG Network
@@ -162,10 +160,6 @@ config LIBIPW
 	select CRYPTO
 	select CRYPTO_MICHAEL_MIC
 	select CRC32
-	select LIB80211
-	select LIB80211_CRYPT_WEP
-	select LIB80211_CRYPT_TKIP
-	select LIB80211_CRYPT_CCMP
 	help
 	This option enables the hardware independent IEEE 802.11
 	networking stack.  This component is deprecated in favor of the
drivers/net/wireless/intel/ipw2x00/Makefile +5 -1
index e1ec50359dff..60c5faccbe15 100644
@@ -12,4 +12,8 @@ libipw-objs := \
 	libipw_tx.o \
 	libipw_rx.o \
 	libipw_wx.o \
-	libipw_geo.o
+	libipw_geo.o \
+	libipw_crypto.o \
+	libipw_crypto_ccmp.o \
+	libipw_crypto_tkip.o \
+	libipw_crypto_wep.o
drivers/net/wireless/intel/ipw2x00/ipw2100.c +2 -5
index b6636002c7d2..a89e06c1b8ee 100644
@@ -148,9 +148,6 @@ that only one external action is invoked at a time.
 #include <linux/acpi.h>
 #include <linux/ctype.h>
 #include <linux/pm_qos.h>
-
-#include <net/lib80211.h>
-
 #include "ipw2100.h"
 #include "ipw.h"
 
@@ -7571,7 +7568,7 @@ static int ipw2100_wx_set_auth(struct net_device *dev,
 	struct ipw2100_priv *priv = libipw_priv(dev);
 	struct libipw_device *ieee = priv->ieee;
 	struct iw_param *param = &wrqu->param;
-	struct lib80211_crypt_data *crypt;
+	struct libipw_crypt_data *crypt;
 	unsigned long flags;
 	int ret = 0;
 
@@ -7663,7 +7660,7 @@ static int ipw2100_wx_get_auth(struct net_device *dev,
 {
 	struct ipw2100_priv *priv = libipw_priv(dev);
 	struct libipw_device *ieee = priv->ieee;
-	struct lib80211_crypt_data *crypt;
+	struct libipw_crypt_data *crypt;
 	struct iw_param *param = &wrqu->param;
 
 	switch (param->flags & IW_AUTH_INDEX) {
drivers/net/wireless/intel/ipw2x00/ipw2200.c +2 -2
index eed9ef17bc29..f4fd1fc784b7 100644
@@ -6549,7 +6549,7 @@ static int ipw_wx_set_auth(struct net_device *dev,
 	struct ipw_priv *priv = libipw_priv(dev);
 	struct libipw_device *ieee = priv->ieee;
 	struct iw_param *param = &wrqu->param;
-	struct lib80211_crypt_data *crypt;
+	struct libipw_crypt_data *crypt;
 	unsigned long flags;
 	int ret = 0;
 
@@ -6648,7 +6648,7 @@ static int ipw_wx_get_auth(struct net_device *dev,
 {
 	struct ipw_priv *priv = libipw_priv(dev);
 	struct libipw_device *ieee = priv->ieee;
-	struct lib80211_crypt_data *crypt;
+	struct libipw_crypt_data *crypt;
 	struct iw_param *param = &wrqu->param;
 
 	switch (param->flags & IW_AUTH_INDEX) {
drivers/net/wireless/intel/ipw2x00/ipw2200.h +0 -2
index 8ebf09121e17..46f119123b49 100644
@@ -31,8 +31,6 @@
 #include <linux/wireless.h>
 #include <linux/jiffies.h>
 #include <asm/io.h>
-
-#include <net/lib80211.h>
 #include <net/ieee80211_radiotap.h>
 
 #define DRV_NAME	"ipw2200"
drivers/net/wireless/intel/ipw2x00/libipw.h +98 -3

123 lines not on this page · raw message

drivers/net/wireless/intel/ipw2x00/libipw_crypto.c new file +246 -0

246 lines not on this page · raw message

drivers/net/wireless/intel/ipw2x00/libipw_crypto_ccmp.c renamed from net/wireless/lib80211_crypt_ccmp.c +33 -43

181 lines not on this page · raw message

drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c renamed from net/wireless/lib80211_crypt_tkip.c +48 -58

255 lines not on this page · raw message

drivers/net/wireless/intel/ipw2x00/libipw_crypto_wep.c renamed from net/wireless/lib80211_crypt_wep.c +32 -41

163 lines not on this page · raw message

drivers/net/wireless/intel/ipw2x00/libipw_module.c +34 -2
index 43bab92a4148..0a16127bfd68 100644
@@ -169,7 +169,7 @@ struct net_device *alloc_libipw(int sizeof_priv, int monitor)
 
 	spin_lock_init(&ieee->lock);
 
-	lib80211_crypt_info_init(&ieee->crypt_info, dev->name, &ieee->lock);
+	libipw_crypt_info_init(&ieee->crypt_info, dev->name, &ieee->lock);
 
 	ieee->wpa_enabled = 0;
 	ieee->drop_unencrypted = 0;
@@ -191,7 +191,7 @@ void free_libipw(struct net_device *dev, int monitor)
 {
 	struct libipw_device *ieee = netdev_priv(dev);
 
-	lib80211_crypt_info_free(&ieee->crypt_info);
+	libipw_crypt_info_free(&ieee->crypt_info);
 
 	libipw_networks_free(ieee);
 
@@ -251,6 +251,7 @@ static const struct proc_ops debug_level_proc_ops = {
 
 static int __init libipw_init(void)
 {
+	int err;
 #ifdef CONFIG_LIBIPW_DEBUG
 	struct proc_dir_entry *e;
 
@@ -273,7 +274,33 @@ static int __init libipw_init(void)
 	printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n");
 	printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n");
 
+	err = libipw_crypto_init();
+	if (err)
+		goto remove_debugfs;
+	err = libipw_crypto_ccmp_init();
+	if (err)
+		goto uninit_crypto;
+	err = libipw_crypto_tkip_init();
+	if (err)
+		goto uninit_crypto_ccmp;
+	err = libipw_crypto_wep_init();
+	if (err)
+		goto uninit_crypto_tkip;
+
 	return 0;
+uninit_crypto_tkip:
+	libipw_crypto_tkip_exit();
+uninit_crypto_ccmp:
+	libipw_crypto_ccmp_exit();
+uninit_crypto:
+	libipw_crypto_exit();
+remove_debugfs:
+#ifdef CONFIG_LIBIPW_DEBUG
+	remove_proc_entry("debug_level", libipw_proc);
+	remove_proc_entry(DRV_PROCNAME, init_net.proc_net);
+	libipw_proc = NULL;
+#endif
+	return err;
 }
 
 static void __exit libipw_exit(void)
@@ -285,6 +312,11 @@ static void __exit libipw_exit(void)
 		libipw_proc = NULL;
 	}
 #endif				/* CONFIG_LIBIPW_DEBUG */
+
+	libipw_crypto_ccmp_exit();
+	libipw_crypto_tkip_exit();
+	libipw_crypto_wep_exit();
+	libipw_crypto_exit();
 }
 
 #ifdef CONFIG_LIBIPW_DEBUG
drivers/net/wireless/intel/ipw2x00/libipw_rx.c +3 -6
index 48d6870bbf4e..1fe05e73a17c 100644
@@ -27,9 +27,6 @@
 #include <linux/etherdevice.h>
 #include <linux/uaccess.h>
 #include <linux/ctype.h>
-
-#include <net/lib80211.h>
-
 #include "libipw.h"
 
 static void libipw_monitor_rx(struct libipw_device *ieee,
@@ -266,7 +263,7 @@ static int libipw_is_eapol_frame(struct libipw_device *ieee,
 /* Called only as a tasklet (software IRQ), by libipw_rx */
 static int
 libipw_rx_frame_decrypt(struct libipw_device *ieee, struct sk_buff *skb,
-			   struct lib80211_crypt_data *crypt)
+			   struct libipw_crypt_data *crypt)
 {
 	struct libipw_hdr_3addr *hdr;
 	int res, hdrlen;
@@ -298,7 +295,7 @@ libipw_rx_frame_decrypt(struct libipw_device *ieee, struct sk_buff *skb,
 static int
 libipw_rx_frame_decrypt_msdu(struct libipw_device *ieee,
 				struct sk_buff *skb, int keyidx,
-				struct lib80211_crypt_data *crypt)
+				struct libipw_crypt_data *crypt)
 {
 	struct libipw_hdr_3addr *hdr;
 	int res, hdrlen;
@@ -345,7 +342,7 @@ int libipw_rx(struct libipw_device *ieee, struct sk_buff *skb,
 #endif
 	u8 dst[ETH_ALEN];
 	u8 src[ETH_ALEN];
-	struct lib80211_crypt_data *crypt = NULL;
+	struct libipw_crypt_data *crypt = NULL;
 	int keyidx = 0;
 	int can_be_decrypted = 0;
 
drivers/net/wireless/intel/ipw2x00/libipw_tx.c +2 -2
index e22a6732a4c3..80edaa3dea9c 100644
@@ -138,7 +138,7 @@ static int libipw_copy_snap(u8 * data, __be16 h_proto)
 static int libipw_encrypt_fragment(struct libipw_device *ieee,
 					     struct sk_buff *frag, int hdr_len)
 {
-	struct lib80211_crypt_data *crypt =
+	struct libipw_crypt_data *crypt =
 		ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx];
 	int res;
 
@@ -255,7 +255,7 @@ netdev_tx_t libipw_xmit(struct sk_buff *skb, struct net_device *dev)
 		.qos_ctl = 0
 	};
 	u8 dest[ETH_ALEN], src[ETH_ALEN];
-	struct lib80211_crypt_data *crypt;
+	struct libipw_crypt_data *crypt;
 	int priority = skb->priority;
 	int snapped = 0;
 
drivers/net/wireless/intel/ipw2x00/libipw_wx.c +20 -23

128 lines not on this page · raw message

include/net/lib80211.h deleted +0 -122

122 lines not on this page · raw message

net/wireless/Kconfig +0 -33
index 10345388ad13..733c53ad4de5 100644
@@ -212,36 +212,3 @@ config CFG80211_KUNIT_TEST
 	  If unsure, say N.
 
 endif # CFG80211
-
-config LIB80211
-	tristate
-	default n
-	help
-	  This options enables a library of common routines used
-	  by IEEE802.11 wireless LAN drivers.
-
-	  Drivers should select this themselves if needed.
-
-config LIB80211_CRYPT_WEP
-	tristate
-	select CRYPTO_LIB_ARC4
-
-config LIB80211_CRYPT_CCMP
-	tristate
-	select CRYPTO
-	select CRYPTO_AES
-	select CRYPTO_CCM
-
-config LIB80211_CRYPT_TKIP
-	tristate
-	select CRYPTO_LIB_ARC4
-
-config LIB80211_DEBUG
-	bool "lib80211 debugging messages"
-	depends on LIB80211
-	default n
-	help
-	  You can enable this if you want verbose debugging messages
-	  from lib80211.
-
-	  If unsure, say N.
net/wireless/Makefile +0 -4
index 1d49cc8b6da1..27f211bd9954 100644
@@ -1,9 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_CFG80211) += cfg80211.o
-obj-$(CONFIG_LIB80211) += lib80211.o
-obj-$(CONFIG_LIB80211_CRYPT_WEP) += lib80211_crypt_wep.o
-obj-$(CONFIG_LIB80211_CRYPT_CCMP) += lib80211_crypt_ccmp.o
-obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
 obj-y += tests/
 
 obj-$(CONFIG_WEXT_CORE) += wext-core.o
net/wireless/lib80211.c deleted +0 -257

257 lines not on this page · raw message

Signature · 1 line
2.46.2
author maintainer
#11 lore raw

PATCH v2 6/6 staging: don't recommend using lib80211

In reply to Johannes Berg

From: Johannes Berg <[email protected]>

No longer document drivers should switch to lib80211, they really should never have done that. While at it, also remove the recommendation to use cfg80211, if it switches to mac80211 then it implicitly uses cfg80211 but doesn't need to do anything about that, normally.

---
 drivers/staging/ks7010/TODO    | 2 --
 drivers/staging/rtl8712/TODO   | 1 -
 drivers/staging/rtl8723bs/TODO | 1 -
 drivers/staging/vt6655/TODO    | 1 -
 drivers/staging/vt6656/TODO    | 1 -
 5 files changed, 6 deletions(-)
drivers/staging/ks7010/TODO +0 -2
index 80c97543b977..8ad05b6e3947 100644
@@ -27,9 +27,7 @@ Now the TODOs:
 - fix the 'card removal' event when card is inserted when booting
 - check what other upstream wireless mechanisms can be used instead of the
   custom ones here
-- Switch to use LIB80211.
 - Switch to use MAC80211.
-- Switch to use CFG80211.
 
 Please send any patches to:
 Greg Kroah-Hartman <[email protected]>
drivers/staging/rtl8712/TODO +0 -1
index 847c8c41f4f7..5aed36efa7cb 100644
@@ -1,6 +1,5 @@
 TODO:
 - merge Realtek's bugfixes and new features into the driver
-- switch to use LIB80211
 - switch to use MAC80211
 - checkpatch.pl fixes - only a few remain
 
drivers/staging/rtl8723bs/TODO +0 -1
index 3d8f5a634a10..4c413f9d3df0 100644
@@ -5,7 +5,6 @@ TODO:
 - checkpatch.pl fixes - most of the remaining ones are lines too long. Many
   of them will require refactoring
 - merge Realtek's bugfixes and new features into the driver
-- switch to use LIB80211
 - switch to use MAC80211
 
 Please send any patches to Greg Kroah-Hartman <[email protected]>,
drivers/staging/vt6655/TODO +0 -1
index 63607ef9c97e..7f6870f2ee5d 100644
@@ -8,7 +8,6 @@ TODO:
   - abstract VT3253 chipset specific code
 - add common vt665x infrastructure
 - kill ttype.h
-- switch to use LIB80211
 - switch to use MAC80211
 - verify unsigned long usage for x86-64 arch
 - reduce .data footprint
drivers/staging/vt6656/TODO +0 -1
index 876cdccb6948..cca78d2d3cfe 100644
@@ -8,7 +8,6 @@ TODO:
   - abstract VT3184 chipset specific code
 - add common vt665x infrastructure
 - kill ttype.h -- done
-- switch to use LIB80211
 - switch to use MAC80211
 - use kernel coding style
 - sparse fixes
Signature · 1 line
2.46.2
maintainer Reviewed-by on v2 6/6
#12 lore raw

Re: [PATCH v2 6/6] staging: don't recommend using lib80211

Quoted 8 lines · Johannes Berg

From: Johannes Berg <[email protected]>

No longer document drivers should switch to lib80211, they really should never have done that. While at it, also remove the recommendation to use cfg80211, if it switches to mac80211 then it implicitly uses cfg80211 but doesn't need to do anything about that, normally.

Quoted 8 lines
---
 drivers/staging/ks7010/TODO    | 2 --
 drivers/staging/rtl8712/TODO   | 1 -
 drivers/staging/rtl8723bs/TODO | 1 -
 drivers/staging/vt6655/TODO    | 1 -
 drivers/staging/vt6656/TODO    | 1 -
 5 files changed, 6 deletions(-)