]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Optimize struct mld_link_info size
authorJouni Malinen <j@w1.fi>
Sun, 21 Jan 2024 20:24:08 +0000 (22:24 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Jan 2024 20:24:08 +0000 (22:24 +0200)
commitaa1aa289cd54c004b446b25f7abc1bf64ecf59d6
tree037e801a7606b7ccfce7d2b2021e0c925fd55b9c
parent93eab9f0faf0e57b2975a0034e31412c36d6a2d4
AP MLD: Optimize struct mld_link_info size

Use smaller variables when possible and reorder the variables to avoid
unnecessary padding. This drops struct mld_link_info size from 64 to 48
bytes and removes 240 bytes from struct sta_info.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/beacon.c
src/ap/ieee802_11_eht.c
src/ap/sta_info.h