[Bug 275424] IEEE80211_IOC_SCAN_MAX_SSID differs from IEEE80211_SCAN_MAX_SSID

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Nov 2023 08:34:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275424

            Bug ID: 275424
           Summary: IEEE80211_IOC_SCAN_MAX_SSID differs from
                    IEEE80211_SCAN_MAX_SSID
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: misha@freebsd.org

Created attachment 246653
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246653&action=edit
Change IEEE80211_IOC_SCAN_MAX_SSID to match IEEE80211_SCAN_MAX_SSID v1

Ioctl for scan requests takes up to IEEE80211_IOC_SCAN_MAX_SSID (3) ssid's, but
scan module defines maximum supported SSID's for scan (IEEE80211_SCAN_MAX_SSID)
as 1, and throws away everything above that. 

IEEE80211_IOC_SCAN_MAX_SSID (3) define is picked up by wpa_supplicant in base
to export this as BSD driver maximum scan ssids.

Suggested patch changes IEEE80211_IOC_SCAN_MAX_SSID to 1.

Other option would be to make it other way around, changing
IEEE80211_SCAN_MAX_SSID to 3, but it seems that iwi driver is capable of 1
directed scan maximum - not sure if this show-stopper.

-- 
You are receiving this mail because:
You are the assignee for the bug.