]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not add extra IEs to scan request if they do not fit driver limit
authorJouni Malinen <j@w1.fi>
Fri, 27 Dec 2024 20:36:29 +0000 (22:36 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Dec 2024 20:36:29 +0000 (22:36 +0200)
commit2fe7a2b80e9ebb7ed550d82e4d4661104b489791
treeaccdcb0c462da0eba96b593c408c2e1eb21d27b5
parent66442d1bcbf2c06c29b55ff8930dbe7d46b60e98
Do not add extra IEs to scan request if they do not fit driver limit

For now, each separate IE is being checked on its own, so this is not a
complete check on the total length, but a useful step in avoiding some
known issues with drivers that do not support any IEs being added. A
more complete validation would need rules on determining which IE is of
higher priority than the other ones, but that might not be needed unless
there are drivers that have nonzero, but still quite small, limit on
extra IEs.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mbo.c
wpa_supplicant/mesh.c
wpa_supplicant/scan.c