lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <trinity-de687d18-b2a2-4cde-9383-a4d6ddba6a77-1661177057496@3c-app-gmx-bap06>
Date:   Mon, 22 Aug 2022 16:04:17 +0200
From:   Frank Wunderlich <frank-w@...lic-files.de>
To:     Johannes Berg <johannes@...solutions.net>,
        "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: help for driver porting - missing member preset_chandef in struct
 wireless_dev

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ