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

David Bauer mail at david-bauer.net
Mon Jan 31 04:24:37 PST 2022


Hi Jouni,

On 1/31/22 13:08, Jouni Malinen wrote:
> On Sun, Jan 30, 2022 at 08:22:00PM +0100, David Bauer wrote:
>> Upgrading wpa_supplicant from 2.9 to 2.10 breaks broadcom-wl
>> based adapters. The reason for it is hostapd tries to install additional
>> IEs for scanning while the driver does not support this.
> 
> Can you please be a bit more specific on what you mean with "breaking"
> in this context? What exactly is broken? Just active scanning (i.e.,
> sending the Probe Request frames)? Or scanning in general (i.e., not
> getting any scan results at all)? Or something else?

See the thread "wpa_supplicant 2.10 - Scan failed" from 27.01.22. The
problem is sending the probe requests for active scanning.

> 
> For most cases, it is likely fine to omit extra IEs from Probe Request
> frames, but this does break some cases like WPS PBC and P2P.
> 

Didn't think of those - Would you suggest we assign a priority for those 
IEs when crafting the extra-IE buffer? We could handle those IEs as 
mandatory (and fail in this stage) while adding other IEs optionally.

Best
David



More information about the Hostap mailing list