From patchwork Mon Oct 23 13:19:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13433693 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2ACBCDB474 for ; Mon, 23 Oct 2023 13:23:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233116AbjJWNXN (ORCPT ); Mon, 23 Oct 2023 09:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231157AbjJWNWG (ORCPT ); Mon, 23 Oct 2023 09:22:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60CE110EC; Mon, 23 Oct 2023 06:21:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2872EC433CB; Mon, 23 Oct 2023 13:20:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698067263; bh=YCczuewqJF2BW/KNAxf1qzDKO2tdBSII3kCJI8VwkjE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lcAFFLdAlAjIYpwXUROoFCKbTz7w6Qfk/EQE8RaHkGwD/9Aqp08GavzcNEdLaRO4B gJxv+GVCOFEJ0jL5nrHqSwh99UcEB5PQsuisRnmqyTQMkJ1AGnFnECarQ6KqrWqce1 HFWGEK3N9l+hPFQaYV/FBqTBgy1xc/sCv2oURLz5WYBya/Dm+fqdc8zTSBJMzhqGbR MpcnOCg+seCfsJrXExVCHTWBNkNhttklUOAWPt4DbS2g+LhD+IeaTRedVq4L0iEj5d aGmGieAoqclOtxe6ID/erAKbNTstnhqMHYHkj/vkf2kMeLjcXXNjey+fdPP9m/Wfb+ XDue8WHl7TmqA== From: Arnd Bergmann To: Kalle Valo Cc: Arnd Bergmann , "David S . Miller" , Alexandre Belloni , Claudiu Beznea , Geert Uytterhoeven , Geoff Levand , Greg Kroah-Hartman , Jakub Kicinski , Jeff Johnson , Johannes Berg , Larry Finger , Nicolas Ferre , Pavel Machek , Stanislaw Gruszka , Gregory Greenman , linuxppc-dev , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, Stanislav Yakovlev , Linux Wireless Subject: [PATCH 10/10] [RFC] wifi: remove ipw2100/ipw2200 drivers Date: Mon, 23 Oct 2023 15:19:52 +0200 Message-Id: <20231023131953.2876682-11-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231023131953.2876682-1-arnd@kernel.org> References: <20231023131953.2876682-1-arnd@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Arnd Bergmann These two drivers were used for the earliest "Centrino" branded Intel laptops during the late 32-bit Pentium-M era, roughly 2003 to 2005, which probably makes it the most modern platform that still uses the wireless extension interface instead of cfg80211. Unlike the other drivers that are suggested for removal, this one is still officially maintained. According to Johannes Berg, there was an effort to finish the move away from wext in the past, but the last evidence of this that I could find is from commit a3caa99e6c68f ("libipw: initiate cfg80211 API conversion (v2)") in 2009. Link: https://lore.kernel.org/all/87fs2fgals.fsf@kernel.org/ Cc: Stanislav Yakovlev Cc: Linux Wireless Signed-off-by: Arnd Bergmann --- I'm not convinced this should be in the same set of drivers as the rest, since this is clearly less obsolete than the other hardware that I would remove support for. --- .../networking/device_drivers/wifi/index.rst | 19 - .../device_drivers/wifi/intel/ipw2100.rst | 323 - .../device_drivers/wifi/intel/ipw2200.rst | 526 - MAINTAINERS | 8 - drivers/net/wireless/intel/Kconfig | 1 - drivers/net/wireless/intel/Makefile | 3 - drivers/net/wireless/intel/ipw2x00/Kconfig | 195 - drivers/net/wireless/intel/ipw2x00/Makefile | 15 - drivers/net/wireless/intel/ipw2x00/ipw.h | 20 - drivers/net/wireless/intel/ipw2x00/ipw2100.c | 8587 ----------- drivers/net/wireless/intel/ipw2x00/ipw2100.h | 1142 -- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 11965 ---------------- drivers/net/wireless/intel/ipw2x00/ipw2200.h | 1984 --- drivers/net/wireless/intel/ipw2x00/libipw.h | 1001 -- .../net/wireless/intel/ipw2x00/libipw_geo.c | 179 - .../wireless/intel/ipw2x00/libipw_module.c | 297 - .../net/wireless/intel/ipw2x00/libipw_rx.c | 1737 --- .../net/wireless/intel/ipw2x00/libipw_tx.c | 519 - .../net/wireless/intel/ipw2x00/libipw_wx.c | 726 - 19 files changed, 29247 deletions(-) delete mode 100644 Documentation/networking/device_drivers/wifi/index.rst delete mode 100644 Documentation/networking/device_drivers/wifi/intel/ipw2100.rst delete mode 100644 Documentation/networking/device_drivers/wifi/intel/ipw2200.rst delete mode 100644 drivers/net/wireless/intel/ipw2x00/Kconfig delete mode 100644 drivers/net/wireless/intel/ipw2x00/Makefile delete mode 100644 drivers/net/wireless/intel/ipw2x00/ipw.h delete mode 100644 drivers/net/wireless/intel/ipw2x00/ipw2100.c delete mode 100644 drivers/net/wireless/intel/ipw2x00/ipw2100.h delete mode 100644 drivers/net/wireless/intel/ipw2x00/ipw2200.c delete mode 100644 drivers/net/wireless/intel/ipw2x00/ipw2200.h delete mode 100644 drivers/net/wireless/intel/ipw2x00/libipw.h delete mode 100644 drivers/net/wireless/intel/ipw2x00/libipw_geo.c delete mode 100644 drivers/net/wireless/intel/ipw2x00/libipw_module.c delete mode 100644 drivers/net/wireless/intel/ipw2x00/libipw_rx.c delete mode 100644 drivers/net/wireless/intel/ipw2x00/libipw_tx.c delete mode 100644 drivers/net/wireless/intel/ipw2x00/libipw_wx.c diff --git a/Documentation/networking/device_drivers/wifi/index.rst b/Documentation/networking/device_drivers/wifi/index.rst deleted file mode 100644 index fb394f5de4a94..0000000000000 --- a/Documentation/networking/device_drivers/wifi/index.rst +++ /dev/null @@ -1,19 +0,0 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Wi-Fi Device Drivers -==================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - intel/ipw2100 - intel/ipw2200 - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` diff --git a/Documentation/networking/device_drivers/wifi/intel/ipw2100.rst b/Documentation/networking/device_drivers/wifi/intel/ipw2100.rst deleted file mode 100644 index 883e963557992..0000000000000 --- a/Documentation/networking/device_drivers/wifi/intel/ipw2100.rst +++ /dev/null @@ -1,323 +0,0 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: - -=========================================== -Intel(R) PRO/Wireless 2100 Driver for Linux -=========================================== - -Support for: - -- Intel(R) PRO/Wireless 2100 Network Connection - -Copyright |copy| 2003-2006, Intel Corporation - -README.ipw2100 - -:Version: git-1.1.5 -:Date: January 25, 2006 - -.. Index - - 0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER - 1. Introduction - 2. Release git-1.1.5 Current Features - 3. Command Line Parameters - 4. Sysfs Helper Files - 5. Radio Kill Switch - 6. Dynamic Firmware - 7. Power Management - 8. Support - 9. License - - -0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER -================================================= - -Important Notice FOR ALL USERS OR DISTRIBUTORS!!!! - -Intel wireless LAN adapters are engineered, manufactured, tested, and -quality checked to ensure that they meet all necessary local and -governmental regulatory agency requirements for the regions that they -are designated and/or marked to ship into. Since wireless LANs are -generally unlicensed devices that share spectrum with radars, -satellites, and other licensed and unlicensed devices, it is sometimes -necessary to dynamically detect, avoid, and limit usage to avoid -interference with these devices. In many instances Intel is required to -provide test data to prove regional and local compliance to regional and -governmental regulations before certification or approval to use the -product is granted. Intel's wireless LAN's EEPROM, firmware, and -software driver are designed to carefully control parameters that affect -radio operation and to ensure electromagnetic compliance (EMC). These -parameters include, without limitation, RF power, spectrum usage, -channel scanning, and human exposure. - -For these reasons Intel cannot permit any manipulation by third parties -of the software provided in binary format with the wireless WLAN -adapters (e.g., the EEPROM and firmware). Furthermore, if you use any -patches, utilities, or code with the Intel wireless LAN adapters that -have been manipulated by an unauthorized party (i.e., patches, -utilities, or code (including open source code modifications) which have -not been validated by Intel), (i) you will be solely responsible for -ensuring the regulatory compliance of the products, (ii) Intel will bear -no liability, under any theory of liability for any issues associated -with the modified products, including without limitation, claims under -the warranty and/or issues arising from regulatory non-compliance, and -(iii) Intel will not provide or be required to assist in providing -support to any third parties for such modified products. - -Note: Many regulatory agencies consider Wireless LAN adapters to be -modules, and accordingly, condition system-level regulatory approval -upon receipt and review of test data documenting that the antennas and -system configuration do not cause the EMC and radio operation to be -non-compliant. - -The drivers available for download from SourceForge are provided as a -part of a development project. Conformance to local regulatory -requirements is the responsibility of the individual developer. As -such, if you are interested in deploying or shipping a driver as part of -solution intended to be used for purposes other than development, please -obtain a tested driver from Intel Customer Support at: - -https://www.intel.com/support/wireless/sb/CS-006408.htm - -1. Introduction -=============== - -This document provides a brief overview of the features supported by the -IPW2100 driver project. The main project website, where the latest -development version of the driver can be found, is: - - http://ipw2100.sourceforge.net - -There you can find the not only the latest releases, but also information about -potential fixes and patches, as well as links to the development mailing list -for the driver project. - - -2. Release git-1.1.5 Current Supported Features -=============================================== - -- Managed (BSS) and Ad-Hoc (IBSS) -- WEP (shared key and open) -- Wireless Tools support -- 802.1x (tested with XSupplicant 1.0.1) - -Enabled (but not supported) features: -- Monitor/RFMon mode -- WPA/WPA2 - -The distinction between officially supported and enabled is a reflection -on the amount of validation and interoperability testing that has been -performed on a given feature. - - -3. Command Line Parameters -========================== - -If the driver is built as a module, the following optional parameters are used -by entering them on the command line with the modprobe command using this -syntax:: - - modprobe ipw2100 [