diff options
author | Sven Eckelmann <sven@narfation.org> | 2025-02-02 17:04:10 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2025-02-22 11:36:25 +0100 |
commit | 434becf57bdc89f939db635ed3337b9d1da5967e (patch) | |
tree | d6a118b79259b4e2413e06c26cfcd209515b4802 /include/linux/fpga/fpga-mgr.h | |
parent | 94433355027db60005551310975de94978549783 (diff) |
batman-adv: Limit number of aggregated packets directly
The currently selected size in BATADV_MAX_AGGREGATION_BYTES (512) is chosen
such that the number of possible aggregated packets is lower than 32. This
number must be limited so that the type of
batadv_forw_packet->direct_link_flags has enough bits to represent each
packet (with the size of at least 24 bytes).
This requirement is better implemented in code instead of having it inside
a comment.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions