Date: Wed, 29 Nov 2023 17:49:46 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 275424] IEEE80211_IOC_SCAN_MAX_SSID differs from IEEE80211_SCAN_MAX_SSID Message-ID: <bug-275424-21060-S2mJ0p8CaM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275424-21060@https.bugs.freebsd.org/bugzilla/> References: <bug-275424-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275424 Bjoern A. Zeeb <bz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org Status|New |Open --- Comment #1 from Bjoern A. Zeeb <bz@FreeBSD.org> --- If you look at net80211::ieee80211_scanreq(): you'll find the following comment: /* NB: silently reduce ssid count to what is supported */ It's hard to say (given the huge updates pushed back then) why the IOC vers= ion was introduced but it seems it was done on purpose. The hostap history says it was done for FreeBSD 8 support: 88487b0e0b524aae7603c17b7db7985ae9a810c9 If you look further at the code, you'll find that despite being capped (fur= ther down the stack, e.g. down to ieee80211_scan_copy_ssid()) the number of SSID= s is passed down. If you look further in scan_curchan()/ieee80211_swscan_probe_curchan() you = can see that it would send a probe request per SSID and that matches the commen= t in ieee80211_scan.h. But that code was there before already. Seems to have c= ome in with 68e8e04e93c1ec3d37022223b69073f50d3d4981. I wonder if this is missing follow-up work to finish it given modern hardwa= re can probe 16/20/.. SSIDs? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275424-21060-S2mJ0p8CaM>