From mboxrd@z Thu Jan 1 00:00:00 1970 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 4361EC28D13 for ; Mon, 22 Aug 2022 15:02:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235833AbiHVPCr (ORCPT ); Mon, 22 Aug 2022 11:02:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235803AbiHVPCg (ORCPT ); Mon, 22 Aug 2022 11:02:36 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12DE239B8B; Mon, 22 Aug 2022 08:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=lhCp3gazHoqKuo+KxPlFiFXB4bVV+NWLkmVgJm8ISfs=; t=1661180553; x=1662390153; b=VoeHtuEV3nEO6VPHeCJSmc4SevyieyAix0LfuyKG0pL8o8f +rxqDlylJyJq/lHFWzhYC7HqumR18QtNRHJC/2O2BGcSNx2Z3OTHSh8LLJcNATtypcn3caITbCLxS E2rC1z5d2JExA5YQKf6oWbiu3GtB1PkM6dJpHprIl8A/qyuzGDis1430s8f0Ag9ScqGoQOCrFWjMT skLzabRRX/dcEczxyZYl0I4C55KV5EAvP1IPhQpwNIXoubUrNWPl8yrSgEzYCIPNR40py5PE9pWTx YMlcs4EjwuiHakOLkepssY/7FWBLbfqn0pGJl7rYWwki+J9cyKTPO1BBakeGL7EA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1oQ8wZ-00EZ1L-30; Mon, 22 Aug 2022 17:02:24 +0200 Message-ID: Subject: Re: help for driver porting - missing member preset_chandef in struct wireless_dev From: Johannes Berg To: Frank Wunderlich , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Mon, 22 Aug 2022 17:02:21 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2022-08-22 at 16:04 +0200, Frank Wunderlich wrote: > hi, >=20 > i'm working on porting an old/huge wireless driver (mt6625l) [2] to linux= 6.0 [1] >=20 > i hang on missing member preset_chandef in struct wireless_dev >=20 > struct wireless_dev *wdev =3D dev->ieee80211_ptr; > struct cfg80211_chan_def *chandef =3D &wdev->preset_chandef; >=20 > 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? >=20 Yes. Make sure the driver doesn't access it, it should get stuff through other APIs. johannes