On Tue, 2018-10-09 at 20:01 +0000, Adham.Abozaeid@xxxxxxxxxxxxx wrote: > > Do you mean that it can also be used for probing specific networks even if they are broadcasting their SSID? Yes. > I think this might be a possible case if the user is trying to limit the scan results to a specific network. No. Don't do any filtering based on this. Basically the only thing you should do with the (list of) SSIDs is to send a probe request containing each of them. Userspace/cfg80211 will take care that the usual empty (wildcard) SSID is included in the list, so don't send one with that by yourself, just iterate the list. If you only support sending one probe request in each scan request, then set the max # of SSIDs supported to 1, otherwise set it to the maximum (or a reasonable limit like 20 if it's in software). johannes