From patchwork Tue Jan 11 17:14:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 12710069 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6BABC433F5 for ; Tue, 11 Jan 2022 17:14:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343869AbiAKROx (ORCPT ); Tue, 11 Jan 2022 12:14:53 -0500 Received: from mail-mw2nam12on2049.outbound.protection.outlook.com ([40.107.244.49]:36192 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240930AbiAKROt (ORCPT ); Tue, 11 Jan 2022 12:14:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wu1fVpLWCwkd+jU0IFPfgwg6s0N/0qMTpBnuQEECkOZ+zjDkpdy/5oPaBQyo/DHn1Bu4UkdKCngWvF+SokWsip1F9x+ugF2v242NamTyeBVKmvgXWgA/7RlYV+IX/sNunEYUAfoFO6iHzmdoLzzdYJVh+9Oiox0+831FZhptu4/HO6FKd5iO9vijIkszWtb4xmXjsPI9QO51HehMpI3e1Y7vfyGWwvnY3lJ5Tp4VMzFAEhqahqSGGjOM885gkJsjRgFwjUcvCwWCjqS2QQcD4/3+cmm4GcmHSoC6I8EfQ1vn5OwzthAcMhaFEg+LsPO+01nIGNz/oiDMfzhZLfbM9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z30hDnVhI9wBgkTIUZHMkmPUk68b1Agwyxgc2YW6vuE=; b=fl+9c6vSfVNbWGmWZj0jT/UnjUUoXUspYdkSGOtTfEnTjPcL6CAef8GIrkxBoeGdwPGegzHINy4W0fwI3Xf3+TVabz7iJ77v6SoILJgGV0HrVdlW3d9Dl8F/0UF1kRe/6pIn3T2uhKV5XjL4c9Lpu5XOSU4RxVTmaZci/DxbRME0gah783hjrWvJJT4la7WlgGXnrLwLyMqLVCl5+Qv47mT4ZVMvzEKwoPZ0H2K1t+VoxLKyyDFQxz6/9TUIK/cQcoKCHG0KeEAYxVEY+raHZjade7/4VXQjPrvmyGRV3yvRoEiepcQFpZa31THbkHjaMQUipr+xyQBjptQuoQsq2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z30hDnVhI9wBgkTIUZHMkmPUk68b1Agwyxgc2YW6vuE=; b=VoGK7D6fe8Sr1y3gOdbjlW/JRUS8mKFS7NdKFVJ2wD4Jv2sVepHXs8BqHlKTMYgbtRVvP8sRNLGxzT+VCFjVD0E1n1+qgZRFrH5NWaXsDGgIWfDyrclcLQNgDn6+SMdLuE4RinNltuEZS/rtMm+CqgRBoy2Hmoc3sFgFVjrGvgk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by PH0PR11MB5595.namprd11.prod.outlook.com (2603:10b6:510:e5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.7; Tue, 11 Jan 2022 17:14:46 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4%6]) with mapi id 15.20.4867.012; Tue, 11 Jan 2022 17:14:46 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Kalle Valo Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "David S . Miller" , devicetree@vger.kernel.org, Rob Herring , linux-mmc@vger.kernel.org, =?utf-8?q?Pali?= =?utf-8?q?_Roh=C3=A1r?= , Ulf Hansson , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH v9 00/24] wfx: get out from the staging area Date: Tue, 11 Jan 2022 18:14:00 +0100 Message-Id: <20220111171424.862764-1-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SN1PR12CA0099.namprd12.prod.outlook.com (2603:10b6:802:21::34) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6a4039d2-1572-4f83-6267-08d9d525dd86 X-MS-TrafficTypeDiagnostic: PH0PR11MB5595:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: txm6WsDTfxFdI/aQZjGazMj8/YNuue+w51qF6MAu2ZJSlLhd+SN1sosGQZQvvb7fgxqkMQPicjBIn4Rduoczs9gqi9MPEbECggpNNc7tKhB+cSflAU//IS6JNUr2rnWAHZ2Flen/M2oYSXq9Ff+qJ3skutRn+JMN6YXPPlsbqT5ENfs9eBj3vwRqhHFE6HwyhQol5ScHQ+dYAM8Vlc6Ii+46u51KPzAuNJR+3NCrAfiES13Hqs5W65r1c0jKnIh47dS8waI6vgHPSnHPyXAgVSUNAxpuG+V+pHcPvfOLRmFrio1kmtfuT78xNHowN3q1pzV/sPaw/gZqVVtehm2I85tJvAxgydizTb3AlDC80jLKn/areLNoWzdxdSzMCU6lDVDT9oCV2WO1PWPg1WPtRV+ZBp8D3NPoU1N3Hp3H9hhTBJdZnsYbEsEyaerNB3T2riF0xYud/0i/XBDMo1QpAXnXmSI+pqJZT6EA9uxhVen+1BPDTL2gQ3SpN4ds8h1v6BjMdXDiJblsQBi0+wsJaFVQPflczvDHE5ImptI6eWbUpBeZe5yTh3YcuDuo7Ciat/r9hZvrKv8AH5aptPUvhAEO+jZ+3+ktEyl0SFoldlLjniXIyEiqg599ETS33Yq6ZVEJ+65cBCM8AT2uiD6jY9dmiYcvKM9bDPMkSSoMLqTW5SVpWpxqKo124c4kGEwCspI9K0yjJTUolhXgqLHpkdnHOYLUugLRSi5/lsUGyXM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(36756003)(66946007)(6512007)(2906002)(107886003)(66574015)(8936002)(2616005)(7416002)(6666004)(38100700002)(6506007)(4326008)(66476007)(8676002)(54906003)(6916009)(316002)(66556008)(83380400001)(52116002)(86362001)(186003)(5660300002)(30864003)(6486002)(966005)(508600001)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hMsRMDkraLRba2XKTFcNnfHrqrzw?= =?utf-8?q?DE+X47J5tA5EWSgEJMcMJyFwlgMNONcSOK9yU2xLIZ+OIU4immrdd0deBKTUhSz10?= =?utf-8?q?fc2op5/naxcnixAJQ1dkqwMTVG0gxLuoGnFvtOE8SuVolYwfjjI4h26nSR4FiLgCc?= =?utf-8?q?rG0heCMeR5DnA4Oa2eR6CCXrpowBQ8ddQunAPMl40bNONTIx5L2lFYzZBweoG1fRY?= =?utf-8?q?RT3GMgdWXq26Yr6NHlhTg+Q3Ge/q1c8Du4rSJx9kzfTSucyDBdmWtxNMWE3xc/Pyh?= =?utf-8?q?SNOywHNkD+gpsQ2P+svC+BNPyT4Io9I83nRlQZWMkb+8qjP+DJLwt9cOiiUk3rr25?= =?utf-8?q?zyUAAKMbrQJsCezOIjepRmhRUdmlrlSJ45h2Pl9U5HM13K/JEJN/SxcTKpon7ofqH?= =?utf-8?q?7vRWr7GhXVv8hBl1kWcicVJ+B6HFaTVPWvDK0VjQCVxKF7cR0+MsE8slyBzmj1EEx?= =?utf-8?q?ecYKhUFWDkoBuUMu4/5/w/H/UUwNiB/wZIxr3JTiokIhngcb57FsVxKPW9zU79qGw?= =?utf-8?q?b8FOpvuhadt85vb99pHn2lxHn6K7fJp4GGr1HXi1zDJh1drPZ7A5DZgK0ufNTtYcs?= =?utf-8?q?rOIbbXu0I6LmF35CPmFqtBSbs1zwb68kqxrQdlO9EWi2oiO2pjtlJlBX0azp4KLHG?= =?utf-8?q?kuAfDUwun9mm06I4EZFfMUZyxFt8gbG+FNnFJOoa5okGwzIldHFrBu+1znCyOOtxh?= =?utf-8?q?cnEAaWzBP2j+S8f+T2h+qYcUcq6I3oN3Ua/PB0l0mm221qXx5UoyQZl1yeGuFgfrQ?= =?utf-8?q?rLe/mdNRKa3NqtfSe8CYwgT1VzJTzmIpLrBNrYjX/z1DGGtpDwnJQnnDqg8YL1hoW?= =?utf-8?q?Hx9Tk8YCW6HwbqZKaokL062pX6zYXZKFh5tVIoAYoh1nxewqSWMKFiql+Zit9aRQh?= =?utf-8?q?pKdBdLqDc8dXvrbLwRU/jpqOTq6g86gd+sgGhzaA22yqjFfl8J/84s/e3m08r6WTd?= =?utf-8?q?AOa88TrLvPxftVhohX1At/MVBNX09M8HuCSjmSK9uhhkA1p0Ph5FQoEXXnng9b26S?= =?utf-8?q?08fVD7U1pQikc3QM0KDlrI31JUzNC/wldk460HfL021E811iiZeLPhxY/DNnl4NqX?= =?utf-8?q?I0s18pnj2TXU9Z4yZbaNm6Zek9BdUMTABOx7NppbUOfQglRyb9vud4/8+AaMtMHUm?= =?utf-8?q?4BdTqdT4TyVlb9Kyf6KM1MNd+LCbLY9oVqiGg5+eKdWA78lmz7Rk7xN/84xmEb9uG?= =?utf-8?q?gUSq3UzDv6t4OgC3SoxhXnZ7U18nFOK6bTcm95Gwq0/QUzTwE/q0vATO2NZg9Y4If?= =?utf-8?q?FdQr7rdiG0wSR93iIkATZl0LTH7hXKyM+SApVlNXW24nPEFaKpsCmyNRMbXbsgk6i?= =?utf-8?q?beqS7OEiE/E9b7W7hx1ccAnsY9EkuzHlsA6dEA13OWKyonFkIaV5JJq0SEkK/eVRa?= =?utf-8?q?2MxZ2nNpNYhUPlMa/dI0C5DJaZWu8GXDljAnn1gPi8sxBn+lM+972UimTSBmRccx3?= =?utf-8?q?IUFP6K1Mp7pi6dBo7GDsCSIZjQEUz7LGCHVmY/2iJtlJY3bFJIIAZ3SoIowQN+rZk?= =?utf-8?q?/4EuwxNwGGThGN3T++1QhYHT5fuqezXBFgdSNUaxV2wV6IkHyT0CEqnvWfxW9ErBA?= =?utf-8?q?fpxk5b5FSRxO6n+xqNUC1CJlIQ8x3iR9IZRh7qKEsV1ucbn/8iXVFA=3D?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a4039d2-1572-4f83-6267-08d9d525dd86 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2022 17:14:46.1556 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ctpDT/n3KOeo+HBwhI7xRGd8TMqYpTV9CvhUZEt26lqi351ys/9HJOu/hroWARKTOZDZJeIw/UjdrTiTqkzSaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5595 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jérôme Pouiller Hello, I think the wfx driver is now mature enough to be accepted in the drivers/net/wireless directory. The firmware is now a part of the linux-firmware repository since relase 20210315[1]. The PDS files (= antenna configurations) are still missing. I will send them as soon as Kalle will have validated the new format. [1]: https://lore.kernel.org/linux-firmware/2833354.gXvVfaC4I7@pc-42/ As requested by Kalle[2], I send one file per patch. At the end, all the patches (or at least the patches 3 to 24) will be squashed (therefore, I didn't bother to write real commit messages). [2]: https://lore.kernel.org/lkml/87ft6p2n0h.fsf@codeaurora.org/ Here is a diagram of the global architecture that may help to understand the code: ,------------------------------------. | mac80211 | `------------------------------------' ,------------+-----------+-----------. | sta | | | | scan | | | | main | | | +------------+ data_tx | | | key | | data_rx | | hif_tx_mib | queue | | | hif_tx | | | | hif_rx | | | | hif_api_* | | | +------------+-----------+-----------+--------. | bh | fwio | +------------------------------------+--------+ | hwio | +---------------------------------------------+ | bus_sdio | | bus_spi | `---------------------------------------------' ,---------------------------------------------. | spi / sdio | `---------------------------------------------' Roughly, I have sent the files from the bottom to the top. Rob, I have still a warning with "make DT_CHECKER_FLAGS=-m dt_binding_check": .../Documentation/devicetree/bindings/net/wireless/silabs,wfx.example.dt.yaml: wifi@1: compatible: 'anyOf' conditional failed, one must be fixed: ['silabs,brd8022a', 'silabs,wf200'] is too long Additional items are not allowed ('silabs,wf200' was unexpected) 'silabs,wf200' was expected 'silabs,brd4001a' was expected 'silabs,brd8023a' was expected From schema: .../Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml My understanding of "anyOf" is that multiple values should be accepted (else, I would use "oneOf"). v9: - Rebase on mmc tree (ulfh/next, 356f3f2c5756). Indeed, I rely on the series named "mmc: core: extend mmc_fixup_device and transplant ti,wl1251 quirks from to be retired omap_hsmmc" by "H. Nikolaus Schaller". This work is only included in the mmc tree. Anyway, I think the merge of mmc tree into Linus's tree is going to happen soon. - Locate the SDIO quirks into mmc/core/quirks.h. (Ulf, Pali) - Change the PDS format. It is now based on TLV. The tool to generate these files is ready, but I have not yet published it. (Kalle) - Fix the firmware location. It didn't match with linux-firmware. I take this opportunity to relocate these file into wfx/ instead of silabs/. I am going to send a PR to linux-firmware to reflect this changes when this PR will be accepted. (Kalle) - In the v8, some parts were formatted in 80 columns and somes in 100 columns. Unify the coding style by applying 100 columns rule everywhere. Also change structs alignement in some places. - Improve output of "make DT_CHECKER_FLAGS=-m dt_binding_check" (but not yet perfect, see above) (Rob) v8: - Change the way the DT is handled. The user can now specify the name of the board (= chip + antenna) he use. It easier for board designers to add new entries. I plan to send a PR to linux-firmware to include PDS files of the developpement boards belong the firmware (I also plan to relocate these file into wfx/ instead of silabs/). (Kalle, Pali) - Prefix visible functions and structs with "wfx_". I mostly kept the code under 80 columns. (Kalle, Pali, Greg) - Remove support for force_ps_timeout for now. (Kalle) - Fix licenses of Makefile, Kconfig and hif_api*.h. (Kalle) - Do not mix and match endianess in struct hif_ind_startup. (Kalle) - Remove magic values. (Kalle) - Use IS_ALIGNED(). (BTW, PTR_IS_ALIGNED() does not exist?) (Kalle) - I have also noticed that some headers files did not declare all the struct they used. v7: - Update location of mmc-pwrseq-simple.txt (Rob) v6: - Rebase on last staging-next (roughtly somewhere after the 5.15 merge window). So, this series include the patches from: https://lore.kernel.org/netdev/20210913130203.1903622-1-Jerome.Pouiller@silabs.com/ v5: - Add reference to the PR to linux-firmware in the cover letter - Rebase on last staging tree (that mainly include commit 6efed0a69794 "staging: wfx: fix possible panic with re-queued frames" and a few cosmetics changes) - Remove useless trailing spaces in DT binding (Rob) - Add a commit message in the patch 2 since I am not sure it will be squashed with the other (Rob) v4: - Rebase on last staging tree - Add 'additionalProperties: false' to the DT specification (I made that change blindly because I am able to reproduce Rob's error) (Rob) - Replace C++ comments with Ansi C comments (Kalle) - Check that existing Ansi C comments comply with net/ "compact" style - Drop one obsolete comment - Remove comments after '#endif' in header files - Remove macro redefinitions in hif_api_general.h (Kalle) - Replace compiletime_assert() with BUILD_BUG_ON_MSG() (Kalle) - Rename ieee80211_is_action_back() (Kalle) - Add a comment explaining how the PDS is sent to the device (Kalle) - Add a comment about case where CONFIG_MMC==m in the Makefile (Kalle) - Fix irrevelant comment about CONFIG_VMAP_STACK (Kalle) - Talk about the unreliable SDIO Vendor ID in the Kconfig help (Kalle) - Mention the firmware status in the cover letter (Kalle) - Fix misaligned function arguments in key.c v3: - dt-bindings: Rename config-file property (Rob) - dt-bindings: No additional properties are allowed (spi-max-frequency is already listed) (Rob) - dt-bindings: Remove references for mac-address properties (Rob) - Rebase on staging/staging-next v2: - dt-bindings: Improve device description and add link to the datasheet (Rob) - dt-bindings: Add blank lines between each DT property (Rob) - dt-bindings: Explicitly mention mac-address and local-mac-address and add references to ethernet-controller.yaml (Rob) - dt-bindings: "config-file" is not for development/debug (Rob) - dt-bindings: Remove description of "spi-max-frequency" (Rob) - dt-bindings: Use "folded scalar" syntax instead of escaping the colons - bus_sdio.c: A compatible node in the DT is now mandatory to probe the device. Also change documentation of dt-bindings accordingly (Pali, Ulf) - bus_sdio.c: Move SDIO IDs to sdio_ids.h (Pali) - bh.c: Import patch "staging: wfx: fix test on return value of gpiod_get_value()" (Nathan) - data_tx.c: Import patch "staging: wfx: fix use of uninitialized pointer" - sta.c: Import patch "staging: wfx: make a const array static, makes object smaller" (Colin) v1: - Drop the function name in the warning message (Kalle) - Replace goto by return in wfx_send_pdata_pds() (Kalle, Dan) - Improve error label in wfx_send_pdata_pds() (Kalle) Jérôme Pouiller (24): mmc: sdio: add SDIO IDs for Silabs WF200 chip dt-bindings: introduce silabs,wfx.yaml wfx: add Makefile/Kconfig wfx: add wfx.h wfx: add main.c/main.h wfx: add bus.h wfx: add bus_spi.c wfx: add bus_sdio.c wfx: add hwio.c/hwio.h wfx: add fwio.c/fwio.h wfx: add bh.c/bh.h wfx: add hif_api_*.h wfx: add hif_tx*.c/hif_tx*.h wfx: add key.c/key.h wfx: add hif_rx.c/hif_rx.h wfx: add data_rx.c/data_rx.h wfx: add queue.c/queue.h wfx: add data_tx.c/data_tx.h wfx: add sta.c/sta.h wfx: add scan.c/scan.h wfx: add debug.c/debug.h wfx: add traces.h wfx: remove from the staging area wfx: get out from the staging area .../bindings/net/wireless/silabs,wfx.yaml | 67 ++-- MAINTAINERS | 3 +- drivers/mmc/core/quirks.h | 5 + drivers/net/wireless/Kconfig | 1 + drivers/net/wireless/Makefile | 1 + drivers/net/wireless/silabs/Kconfig | 18 + drivers/net/wireless/silabs/Makefile | 3 + .../wireless/silabs}/wfx/Kconfig | 5 + .../wireless/silabs}/wfx/Makefile | 3 +- .../{staging => net/wireless/silabs}/wfx/bh.c | 67 ++-- .../{staging => net/wireless/silabs}/wfx/bh.h | 1 + .../wireless/silabs}/wfx/bus.h | 8 +- .../wireless/silabs}/wfx/bus_sdio.c | 103 ++--- .../wireless/silabs}/wfx/bus_spi.c | 104 ++++-- .../wireless/silabs}/wfx/data_rx.c | 10 +- .../wireless/silabs}/wfx/data_rx.h | 5 +- .../wireless/silabs}/wfx/data_tx.c | 144 +++---- .../wireless/silabs}/wfx/data_tx.h | 20 +- .../wireless/silabs}/wfx/debug.c | 80 ++-- .../wireless/silabs}/wfx/debug.h | 6 +- .../wireless/silabs}/wfx/fwio.c | 113 +++--- .../wireless/silabs}/wfx/fwio.h | 0 .../wireless/silabs}/wfx/hif_api_cmd.h | 151 ++++---- .../wireless/silabs}/wfx/hif_api_general.h | 64 ++-- .../wireless/silabs}/wfx/hif_api_mib.h | 68 ++-- .../wireless/silabs}/wfx/hif_rx.c | 168 ++++----- .../wireless/silabs}/wfx/hif_rx.h | 0 .../wireless/silabs}/wfx/hif_tx.c | 195 +++++----- drivers/net/wireless/silabs/wfx/hif_tx.h | 61 +++ drivers/net/wireless/silabs/wfx/hif_tx_mib.c | 308 +++++++++++++++ drivers/net/wireless/silabs/wfx/hif_tx_mib.h | 48 +++ drivers/net/wireless/silabs/wfx/hwio.c | 335 +++++++++++++++++ .../wireless/silabs}/wfx/hwio.h | 35 +- .../wireless/silabs}/wfx/key.c | 84 ++--- .../wireless/silabs}/wfx/key.h | 5 +- .../wireless/silabs}/wfx/main.c | 249 ++++++------- .../wireless/silabs}/wfx/main.h | 13 +- .../wireless/silabs}/wfx/queue.c | 51 ++- .../wireless/silabs}/wfx/queue.h | 13 +- .../wireless/silabs}/wfx/scan.c | 27 +- .../wireless/silabs}/wfx/scan.h | 0 .../wireless/silabs}/wfx/sta.c | 207 +++++----- .../wireless/silabs}/wfx/sta.h | 22 +- .../wireless/silabs}/wfx/traces.h | 33 +- .../wireless/silabs}/wfx/wfx.h | 98 ++--- drivers/staging/Kconfig | 1 - drivers/staging/Makefile | 1 - drivers/staging/wfx/TODO | 6 - drivers/staging/wfx/hif_tx.h | 60 --- drivers/staging/wfx/hif_tx_mib.c | 324 ---------------- drivers/staging/wfx/hif_tx_mib.h | 49 --- drivers/staging/wfx/hwio.c | 352 ------------------ include/linux/mmc/sdio_ids.h | 7 + 53 files changed, 1809 insertions(+), 1993 deletions(-) rename {drivers/staging/wfx/Documentation => Documentation}/devicetree/bindings/net/wireless/silabs,wfx.yaml (67%) create mode 100644 drivers/net/wireless/silabs/Kconfig create mode 100644 drivers/net/wireless/silabs/Makefile rename drivers/{staging => net/wireless/silabs}/wfx/Kconfig (60%) rename drivers/{staging => net/wireless/silabs}/wfx/Makefile (76%) rename drivers/{staging => net/wireless/silabs}/wfx/bh.c (81%) rename drivers/{staging => net/wireless/silabs}/wfx/bh.h (96%) rename drivers/{staging => net/wireless/silabs}/wfx/bus.h (80%) rename drivers/{staging => net/wireless/silabs}/wfx/bus_sdio.c (69%) rename drivers/{staging => net/wireless/silabs}/wfx/bus_spi.c (67%) rename drivers/{staging => net/wireless/silabs}/wfx/data_rx.c (93%) rename drivers/{staging => net/wireless/silabs}/wfx/data_rx.h (69%) rename drivers/{staging => net/wireless/silabs}/wfx/data_tx.c (79%) rename drivers/{staging => net/wireless/silabs}/wfx/data_tx.h (72%) rename drivers/{staging => net/wireless/silabs}/wfx/debug.c (78%) rename drivers/{staging => net/wireless/silabs}/wfx/debug.h (65%) rename drivers/{staging => net/wireless/silabs}/wfx/fwio.c (75%) rename drivers/{staging => net/wireless/silabs}/wfx/fwio.h (100%) rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_cmd.h (80%) rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_general.h (85%) rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_mib.h (86%) rename drivers/{staging => net/wireless/silabs}/wfx/hif_rx.c (62%) rename drivers/{staging => net/wireless/silabs}/wfx/hif_rx.h (100%) rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx.c (64%) create mode 100644 drivers/net/wireless/silabs/wfx/hif_tx.h create mode 100644 drivers/net/wireless/silabs/wfx/hif_tx_mib.c create mode 100644 drivers/net/wireless/silabs/wfx/hif_tx_mib.h create mode 100644 drivers/net/wireless/silabs/wfx/hwio.c rename drivers/{staging => net/wireless/silabs}/wfx/hwio.h (62%) rename drivers/{staging => net/wireless/silabs}/wfx/key.c (70%) rename drivers/{staging => net/wireless/silabs}/wfx/key.h (65%) rename drivers/{staging => net/wireless/silabs}/wfx/main.c (69%) rename drivers/{staging => net/wireless/silabs}/wfx/main.h (79%) rename drivers/{staging => net/wireless/silabs}/wfx/queue.c (86%) rename drivers/{staging => net/wireless/silabs}/wfx/queue.h (79%) rename drivers/{staging => net/wireless/silabs}/wfx/scan.c (81%) rename drivers/{staging => net/wireless/silabs}/wfx/scan.h (100%) rename drivers/{staging => net/wireless/silabs}/wfx/sta.c (78%) rename drivers/{staging => net/wireless/silabs}/wfx/sta.h (81%) rename drivers/{staging => net/wireless/silabs}/wfx/traces.h (94%) rename drivers/{staging => net/wireless/silabs}/wfx/wfx.h (50%) delete mode 100644 drivers/staging/wfx/TODO delete mode 100644 drivers/staging/wfx/hif_tx.h delete mode 100644 drivers/staging/wfx/hif_tx_mib.c delete mode 100644 drivers/staging/wfx/hif_tx_mib.h delete mode 100644 drivers/staging/wfx/hwio.c