[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b081ef6eb978070740f31f48a1f4be1807f51168.camel@sipsolutions.net>
Date: Mon, 22 Aug 2022 17:02:21 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Frank Wunderlich <frank-w@...lic-files.de>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: help for driver porting - missing member preset_chandef in
struct wireless_dev
On Mon, 2022-08-22 at 16:04 +0200, Frank Wunderlich wrote:
> 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?
>
Yes. Make sure the driver doesn't access it, it should get stuff through
other APIs.
johannes
Powered by blists - more mailing lists