[PATCH] AP: Do not include HE related IE in assoc rsp if receiving invalid HE capa IE

Jouni Malinen j at w1.fi
Thu Oct 6 06:59:25 PDT 2022

On Tue, Oct 04, 2022 at 02:57:08PM +0800, Howard Hsu wrote:
> If station sends association request with invalid size HE capabilities
> IE, current implementation will find the error and clear WLAN_STA_HE bit
> of sta->flags. While in this case, AP still sends association response
> with HE related IEs, which may confuse station that thay can connect in
> HE mode. Before sending association response, it shall check whether
> WLAN_STA_HE bit of sta->flags is set to decide if HE related IEs can be
> included.

This seems to be non-compliant with the IEEE Std 802.11ax-2021
expectations. In particular, Table 9-35 (Association Response frame
body) indicates that the HE Capabilities and HE Operation elements are
included if the AP itself has enabled HE regardless of the non-AP STA
capabilities. In other words, that would mean these elements would go
out to the station even if it did not try to negotiate HE, never mind
having tried and failed to do so.

Is there some other place in the standard that would support the
proposed change in behavior or do you have some other justification for
needing to change behavior in a manner that does not match the standard?

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list