[PATCH v2] mesh: Make mesh ttl configurable
Jouni Malinen
j at w1.fi
Mon Oct 5 12:28:35 PDT 2026
On Mon, Jul 27, 2026 at 11:20:12PM +0530, Thiyagarajan Pandiyan wrote:
> Allow mesh_ttl (dot11MeshTTL) to be configurable, pass that to the
> driver (only nl80211 implemented).
>
> Signed-off-by: Meenatchi D <meenatchid at aerlync.com>
> Signed-off-by: Thiyagarajan Pandiyan <thiyagarajan at aerlync.com>
> ---
> v2:
> - Changed nla_put_u32 to nla_get_u8 as cfg80211 uses nla_get_u8 to
> fetch this attribute.
>
> src/drivers/driver.h | 2 ++
> src/drivers/driver_nl80211.c | 4 ++++
> wpa_supplicant/config.c | 2 ++
> wpa_supplicant/config.h | 8 ++++++++
> wpa_supplicant/config_file.c | 3 +++
> wpa_supplicant/wpa_supplicant.conf | 3 +++
> 6 files changed, 22 insertions(+)
This breaks practically all hwsim test cases for mesh due to invalid
value 0 being configured.. Is this patch missing a change in
wpa_supplicant/mesh.c to set this in struct wpa_driver_mesh_join_params?
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list