HomeFreeBSD

LinuxKPI: 802.11: make sure bssid for scans (probe_req) is set

Description

LinuxKPI: 802.11: make sure bssid for scans (probe_req) is set

In b0f73768220e9 we added bssid[] to struct cfg80211_scan_request
likely while working on mt76 and did not need it (yet) back then.
iwlwifi started to use the field in Linux f1fec51cda70f (April 2023).
Without it set firmware crashes when trying to send probe requests
((empty) SSID also given to hw_scan).
For now always set the field to the wildcard BSSID.

Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)

(cherry picked from commit e1e90be05017c335862c938fd9d577e56f02af30)
(cherry picked from commit 204fb7d8530e6c097ff0142959a3f7d55cf7e375)

Details

Provenance
bzAuthored on Sep 14 2023, 5:48 PM
Parents
rG862483bd3500: netdump: Check the return value of ifunit_ref()
Branches
Unknown
Tags
Unknown