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
MFC after: 3 days

Details

Provenance
bzAuthored on Sep 14 2023, 5:48 PM
Parents
rG33396ec29f1d: net80211: improve scan debugging
Branches
Unknown
Tags
Unknown