Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2394677rwa; Mon, 22 Aug 2022 07:06:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Am78bb3Ks1zpq+7hBybZOLnyX/nxplHILO2e0ilqHoZ3CffIIQuJCwfOaSe3ISy0dT/Aj X-Received: by 2002:a17:907:6818:b0:730:d99f:7b91 with SMTP id qz24-20020a170907681800b00730d99f7b91mr12618824ejc.496.1661177210545; Mon, 22 Aug 2022 07:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661177210; cv=none; d=google.com; s=arc-20160816; b=uVShD2sAO47rmL7JW+U5LyLuMKI5P3zXuCjm5h3tYnew3YGwUiJ+PAeMM4I58MMddm Jx7O7iEbGL6TIn9IhFo9HUAM3ZVrx8HprfA5TUSADq7XXpIOF7Z3sjLOuJ3eIs0zSZby winDs31MOdkxCFdQHqwDKV8jyESRHwGdkHezLRPgbZAgsFvcRVh4k3dFvxegPf8gzktt nRGtzv1MwAP/lY/mh/ozjgbox/Psd3NtnnAGDqRN3hMFaDjmq7s/Cpc9CUuofdU9njuw AbA0NrzGQ9LcH8caRdc/d5wR3kqyZtwS1rXPxTv3nwFJuVXRMkLlqFz+y/1QewxxEWdo AcEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=qZ/7pvJj81md0czP6FbfWRv3X0/VLpz7XOxvCqRWVMQ=; b=OHgJ4/g4fcJ5lFbPRlMZZ8LAcY1MpakPui48GUZu1O2y9vldFlpmkw5vs5aHGaM7gg ev1E1lE+EDWIpiY1es/hg3UAjfI58V3qvWGiuDeuwIdneflJNk0SdSHvgsaWjvTzQgoQ H/ER547Zz5R68YFOQOCcUhpuICvplgH6AOBc1DRzdERj+2eE6koIXp0cp6yiH6YL5nIg ZZHebDwO8EcnukV2u1PBgB9Jtt2qR20n4Roy22x2BsTulMmM6Oxj8SkVQIwsR7XaQtYJ CgBAtRoWyGx9WFyrkxHtmJo/1Gv991ADCfXGweeby4KKAozAmqJieThK3XLmvIRb+EU2 F/GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=X6zdPRrZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a05640211c800b0043def0e25c9si11787454edw.20.2022.08.22.07.06.29; Mon, 22 Aug 2022 07:06:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=X6zdPRrZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234773AbiHVOEg (ORCPT + 63 others); Mon, 22 Aug 2022 10:04:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234466AbiHVOEf (ORCPT ); Mon, 22 Aug 2022 10:04:35 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89F451A388; Mon, 22 Aug 2022 07:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661177057; bh=KKlnF744REi+KXU8Z42CcSkssCQpSuQOE0GMi0L8A88=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=X6zdPRrZDDL71sZxx+U/HbX+4NRtZwapnX9FmFueHM7/6uUzOp0PYKCtSTtxSY72/ his3BzhBIElH9U1/bvpTe9g75r2M1lI6uIqzU+cgEmgzy3cCtcKvwvWp62gNi6/sWW UdbftjGwDmUclT6+NxUn7KFCVOYI4vK37eaP/Ybg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [157.180.225.169] ([157.180.225.169]) by web-mail.gmx.net (3c-app-gmx-bap06.server.lan [172.19.172.76]) (via HTTP); Mon, 22 Aug 2022 16:04:17 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: help for driver porting - missing member preset_chandef in struct wireless_dev Content-Type: text/plain; charset=UTF-8 Date: Mon, 22 Aug 2022 16:04:17 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:hgASkb09pfesvelog8ZkgE4rV5u+bEnCu7e8VGQkmVRhIZrJHVhavcYCaATtuRtgXaDGM S9CIQ6b7SKnqhmFaCDfyrntpURw2XgUnyEN+j+Zx6otTDLrE7LAbrFEDox+oadjGVaiiRna5zB0G VZe2vqt1uF6aawraXcQOx2c88dARZO7ZTjjQCD6x+e5gDqX7bcNEt+4uIIAPb+45qqW7a1XIyykR feOuV/VXug7tqKPQXn8ESdFySu2QeixF8lxbXIxDPGAEB+2hHKORxbLZi9yIBzv0UvVbksLs2ano lo= X-UI-Out-Filterresults: notjunk:1;V03:K0:PIHFt+LmGLA=:uOIlu4G5NfH6TuHa61rQZ9 hSrZxbkZEUbHkM4d0mMUHI8xpivw119CiI2pep+rMnxcGKR456Jetf/LEX25FOzGUXyDTbpVw x+zd/Nfdz++cAjBGQlxOe4T5uO5ijiszCwg2s1wvybhZDfoo+Rqh/Bke7usWHvbKXRiLdnn7P 3udfX7ymOo7qf/L8UNQ/JemX0g0OjhlG4vZKEE4UpmCtseuiVyqCWenT98lfdSh5/3T5Gdmae hL6nj4ic30GlBlDza+OZqMpVXpu4auHZZuWFOWICSSIDOC/wIT1BuFLJCPoNmo9ndTZigp3zs CV2S+PUxLx0Zru+3wzlT2m2Evn7Rr8kDHGnYWMMURmeH42qFzpFDvLAXezmyR/2k0EnIUp6m9 mjKcuJdhLLQQKOEtyw01p7rZgmqzYys/8I2rEbGEJkOd7iFpQV0x6w7xhi1j3c1W7emnJJkq6 1adtDj6skXBX4Wi8SzVerfrV5L9qAzV7xLDxs6oMk7TNHzQdjFzmIH7nR/+pPRG3SPKMfO33y Kyr0qWMDlQpTL4+J++ilQmHxU+6j2jvWVf3pQn1oFLvKEW6jUGOJazY/WcXWLrmiwhY0NufRM xL/tTld1YUZACBOn+auFzJyfLvWyGYTSbJgW9v05ydAW4j26oh3EyORrr562tIl7cqdcBuBxK dv+QokiL04SqvQ8/hENSgJ3aCD2V9lEp990BtZRGKxA2Gp1S5tWrUJKynGckhijtQ9W6LQJDk ebvXkMFvvjmWp4goFay0aP+MgUyLPIUYw1YFeN7PXB6QqLh377jWh8qrl/8p24srLJMoVRpSS zi+jik6 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 hi, i'm working on porting an old/huge wireless driver (mt6625l) [2] to linux 6.0 [1] i hang on missing member preset_chandef in struct wireless_dev struct wireless_dev *wdev = dev->ieee80211_ptr; struct cfg80211_chan_def *chandef = &wdev->preset_chandef; it looks like this member is moved from the wdev into some mesh structure...my driver does not support mesh. any chance to fix this? i looked through the commit which drops the member from the wireless_dev struct [3], but have no clue how i can adapt the changes in my driver can anybody help me with this? Thanks regards Frank [1] https://github.com/frank-w/BPI-R2-4.14/commits/6.0-rc [2] https://github.com/frank-w/BPI-R2-4.14/blob/6.0-rc/drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/gl_p2p_cfg80211.c#L582 [3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7b0a0e3c3a88260b6fcb017e49f198463aa62ed1