Re: [PATCH] Dont exceed scan ssid max size advertised by driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 30, 2016 at 10:21:38AM -0700, Dmitry Shmidt wrote:
> On Thu, Jun 30, 2016 at 9:29 AM, Undekari, Sunil Dutt
> <usdutt@xxxxxxxxxxxxxxxx> wrote:
> > I did discuss with Jouni earlier for a similar fix and his response was "Reserving an entry for WILDCARD_SSID_SCAN in this manner would be problematic since it would not allow even a single specific SSID to be scanned for with drivers that support only a single SSID per request.".
> 
> We can restrict proposed patch only for cases when max_ssid > 1.

That's probably fine, but it should be noted that reserving a slot for
the wildcard SSID in all scan requests would be pretty heavy extra
latency for drivers that support only a small number of SSIDs (say, 2).
Anyway, I'm not aware of such driver, so I think I'd accept such a patch
with the understanding that most drivers support something closer to 16
SSIDs where the impact would be minimal.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux