Re: No connection with libertas and broadcom adapters: failure installing additional IEs for scanning

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

 



On Wed, Oct 30, 2024 at 11:44:50AM +0000, Sebastian Priebe wrote:
> Since version 2.10 no connections with libertas cards are possible anymore.
> 
> Root cause is that the wpa_supplicant tries to install additional IEs for scanning while the driver does not support this.
> 
> Please use the patch from here:
> https://gitlab.archlinux.org/archlinux/packaging/packages/wpa_supplicant/-/blob/main/0007-nl80211-add-extra-ies-only-if-allowed-by-driver.patch

Even though that NL80211_ATTR_MAX_SCAN_IE_LEN was added long time ago,
it would be more robust to check whether the running kernel has support
for it and do this limiting of the scan IE configuration only if that
attribute is provided.

I would also make this maximum scan IE limit available to core
wpa_supplicant code so that a more informed determination could be made
to either not run a scan at all or remove a specific IE instead of all
IEs when the driver does not support the preferred option. In other
words, this should not be in src/drivers/driver_nl80211_scan.c but in
wpa_supplicant/scan.c (and potentially some other wpa_supplicant/*.c
files as well).

-- 
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