hwmp_route_info_get(9)
β¨ NAME β¨
Okay so bestie, this is hwmp_route_info_get(9) from the Kernel API Manual β and it is literally here to update routing info to originator and transmitter π
β¨
πΈ SYNOPSIS πΈ
u32 hwmp_route_info_get (struct ieee80211_sub_if_data *sdata , struct
ieee80211_mgmt *mgmt , const u8 *hwmp_ie , enum mpath_frame_type action
);
π«Ά ARGUMENTS π«Ά
sdataβ your local mesh subif, the main-character mesh interface doing the thing π¦mgmtβ the mesh management frame, aka the message that walked in with receiptshwmp_ieβ the hwmp information element (PREP or PREQ), so yes, one of those two icons πactionβ the type of hwmp ie, aka what kind of HWMP moment we're in
π DESCRIPTION π
This function updates the path routing information to the originator and the transmitter of a HWMP PREQ or PREP frame. No cap, that's the whole vibe: PREQ or PREP comes through, and this function handles the routing-info update for both the originator and the transmitter π
π RETURN π
It returns the metric to frame originator, or 0 if the frame should not be further processed. So if you get a 0, bestie, that frame is done β do not keep passing it around π
π NOTES π
Lowkey important: this function is the only place (besides user-provided info) where path routing information is updated. That's the note. That's the whole note. Periodt πβ¨
π¦ SEE ALSO π¦
- Kernel file:
./net/mac80211/mesh_hwmp.c mesh_path_error_tx(9)mesh_queue_preq(9)mesh_path_start_discovery(9)mesh_nexthop_resolve(9)mesh_nexthop_lookup_nolearn(9)mesh_nexthop_lookup(9)
Okay bye bestie π«Ά this page lives under ./net/mac80211, dated October 2026, and it's hwmp_route_info_get(9) β iconic, honestly ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms