[Bug 275424] IEEE80211_IOC_SCAN_MAX_SSID differs from IEEE80211_SCAN_MAX_SSID
Date: Wed, 29 Nov 2023 17:49:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275424 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 version 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 (further down the stack, e.g. down to ieee80211_scan_copy_ssid()) the number of SSIDs 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 comment in ieee80211_scan.h. But that code was there before already. Seems to have come in with 68e8e04e93c1ec3d37022223b69073f50d3d4981. I wonder if this is missing follow-up work to finish it given modern hardware can probe 16/20/.. SSIDs? -- You are receiving this mail because: You are the assignee for the bug.