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

(cherry picked from commit e1e90be05017c335862c938fd9d577e56f02af30)

Details

Provenance
bzAuthored on Sep 14 2023, 5:48 PM
Parents
rGb34e41e26b5f: net80211: mark argument to scan_curchan_task() __unused
Branches
Unknown
Tags
Unknown