STRUCT IEEE80211_RANN_IE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct ieee80211_rann_ie(9) β€” the Kernel API Manual moment πŸ¦‹

okay bestie, so this is a page straight out of the Kernel API Manual and it's literally about one (1) little struct that's kind of a whole vibe in the mesh networking world. no cap, let's get into it πŸ’…


✨ NAME ✨

struct ieee80211_rann_ie β€” the RANN (root announcement) element. that's it, that's the name, and honestly? iconic. πŸŽ€


🌸 SYNOPSIS 🌸

here's the glow-up, character for character, do not touch:

struct ieee80211_rann_ie {
    u8 rann_flags;
    u8 rann_hopcount;
    u8 rann_ttl;
    u8 rann_addr[ETH_ALEN];
    __le32 rann_seq;
    __le32 rann_interval;
    __le32 rann_metric;
 };

like look at that layout 😭 she's structured, she's typed, she's everything.


πŸ’– Members πŸ’–

okay so every field gets its moment, no skipping, we stan all of them equally:

  • rann_flags β€” Flags. yes bestie, the flags 🚩
  • rann_hopcount β€” Hop Count. how many hops, fr fr πŸ‡
  • rann_ttl β€” Element TTL. the element's time-to-live, live ur life but not forever ✨
  • rann_addr β€” Root Mesh STA Address. the address of the root mesh STA πŸ‘‘
  • rann_seq β€” HWMP Sequence Number. the HWMP sequence number, keeping things in order πŸ”’
  • rann_interval β€” Interval. the interval, periodt ⏱️
  • rann_metric β€” Metric. the metric πŸ“

🫢 Description 🫢

so what is she? this structure represents the payload of the "RANN element" as described in IEEE Std 802.11-2020 section 9.4.2.111. that's the whole description and we're not adding anything to it because I said so πŸ’€ β€” if you need more lore, go read section 9.4.2.111 yourself, iykyk πŸ“–βœ¨


πŸ”₯ SEE ALSO πŸ”₯

the friend group 🫢 go check them out:

  • Kernel file ./include/linux/ieee80211-mesh.h enum ieee80211_preq_flags(9), enum ieee80211_preq_target_flags(9), struct ieee80211_mesh_chansw_params_ie(9), struct ieee80211_meshconf_ie(9), enum mesh_config_capab_flags(9), enum ieee80211_mesh_sync_method(9), enum ieee80211_mesh_path_protocol(9), enum ieee80211_mesh_path_metric(9), enum ieee80211_root_mode_identifier(9)

like that's a whole ensemble cast, main character energy all around πŸŒˆπŸ‘‘


ngl bestie, this is a kernel API page β€” read the fields carefully and don't go inventing behaviour that isn't in the spec, that's not the move πŸ™ˆ

and that's the whole page, mwah πŸ’‹ sign-off time: this one lives in ./include/linux, it's dated October 2026, and it's filed under struct ieee80211_rann_ie(9). slay, go forth and announce your roots πŸŒΈπŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from