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: 156872 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1294937vqx; Mon, 23 Oct 2023 06:23:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHx0sLdaMnZw5D02n8/h4hISK0jX8lbVOyOrDLWnbGwzWuPj/3B/TbQzGCcnL8B/VBbl9aj X-Received: by 2002:a05:6359:7297:b0:168:d283:ffb5 with SMTP id uw23-20020a056359729700b00168d283ffb5mr1431400rwb.9.1698067432127; Mon, 23 Oct 2023 06:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698067432; cv=none; d=google.com; s=arc-20160816; b=a3/tFlf6TIy7QoAM2pyRRkCCJq5H+wSf9BlvnyF7f+9lRpSMn2RGZhcAZtt4DtxWME BVBVAqbPJTCtcGDzoV3rJpD1qPzc0viH3fF/RmVurHnBNk6eXfh2VVTV5gh4qJwzgETK uWM9R/2qo6w02+yIeEwtx0Ern4E3QR54RdmOHMTsoOoFfGdJVZAodRoderdW0XIOmSSK gfcWE9/Xd4Xzlasoe2hvTTldSRdAPthm3AciGPnyzwmDrqU2QbrDd6tYwvWm3D1cLuoe Ns8pNlmubf0E3dq/U+xmn5eXTk4P3I0O7DOikxpheWN+n9w8VeXzgpEHDpyC1zLD1mCY 6Zvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lk1m282z1s2L44GD+nb1FCLhDMktNOFIHhfpHR8iCW0=; fh=pnYxmuwhgDAHqF/W5B7TI0WAivV60VIGOy+7gHXnffk=; b=pPDFUii+UbJEIDHamul6+n45mwUEu6zc4FC3LbG93welUXGkVsGN1EldbnZ1KAbJo+ j11lQaatzKuJyES4eQw2FzPUVDGfAnCufQjQfDHTbrOLzaCg7PgNzyY2B1kcQs9PoEW0 mf2bIbjBpenXRP5o291gCuV2niZEeQllqicEMJwzXQPZsmi7lHWPe/WH59kO5aK6pHHt w47VBG+h9L8hQvfZ360PU0lLRqEsNRqXFre0N7FLEbDixuK3fqMvX4ePbNzQe1Q2wVJT UvgFFyAv1q3p7wKh8PYRW35l1tvK/dozyFJ5hr07bAXmuhrxVscBXWBzVYNmmVcrPe8D QYPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lcAFFLdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ch12-20020a056a0208cc00b0057d08dac754si6299955pgb.671.2023.10.23.06.23.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 06:23:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lcAFFLdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 27AA8803E9FE; Mon, 23 Oct 2023 06:23:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233207AbjJWNXN (ORCPT + 27 others); 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 23 Oct 2023 06:23:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780552755672271196 X-GMAIL-MSGID: 1780552755672271196 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 [