Re: [PATCH] nl80211: add extra-ies only if allowed by driver

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

 



On Sun, 2022-01-30 at 20:22 +0100, David Bauer wrote:
>  
> -	if (params->extra_ies) {
> +	if (params->extra_ies && drv->capa.max_scan_ie_len >= params->extra_ies_len) {
>  		wpa_hexdump(MSG_MSGDUMP, "nl80211: Scan extra IEs",
>  			    params->extra_ies, params->extra_ies_len);

I guess that makes sense if capa.max_scan_ie_len is zero, but if not
perhaps it'd be nice to be able to omit _some_ of the stuff?

Also, higher layers of the supplicant might expect their elements to be
added, so I'm not sure what to make of this, that's a bit annoying.

Perhaps some configurations shouldn't be allowed if the
capa.max_scan_ie_len is really small?

johannes

_______________________________________________
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