Re: Aw: Re: Re: help for driver porting - missing member preset_chandef in struct wireless_dev

From: Johannes Berg
Date: Mon Aug 22 2022 - 15:21:28 EST


On Mon, 2022-08-22 at 18:59 +0200, Frank Wunderlich wrote:
> > Gesendet: Montag, 22. August 2022 um 18:43 Uhr
> > Von: "Johannes Berg" <johannes@xxxxxxxxxxxxxxxx>
>
> > On Mon, 2022-08-22 at 18:42 +0200, Frank Wunderlich wrote:
>
> > > thanks for response, commented out the use of the member and the
> > > wdev
> > > assignment as it was then unused
> > > can you tell me which api-call this should be?
> > > i just want to make sure this is really done as i up-ported the
> > > driver
> > > from 4.9, so if the api-call was introduced later it is maybe
> > > missing.
> >
> > No sorry, I don't know how the driver was/is using it, so I can't
> > tell
> > you how to replace it.
>
> can you give me possible calls (if there are multiple candidates)
> which may set the channel (without mesh)
> for me to check or maybe implement?

Well it seems to access it inside the start_ap callback, so it should
just check the configuration instea