ieee80211_mle_get_mld_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ieee80211_mle_get_mld_id ✨

okay so this is a page from the Kernel API Manual (section 9, kernel gang πŸ’…) and it's about one tiny little function that pulls the MLD ID out of a multi-link element. short king behavior, but make it iconic πŸ‘‘


🌸 NAME 🌸

ieee80211_mle_get_mld_id β€” bestie, it returns the MLD ID 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

u8 ieee80211_mle_get_mld_id (const u8 *data );

that's it. one function, one argument, no drama. periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • data β€” pointer to the multi-link element. like, the element. the one you want the MLD ID out of. hand it over and she'll do her thing πŸ’–

⭐ RETURN ⭐

it gives you back the MLD ID in the given multi-link element, or 0 if not present.

so if it's missing you get a 0 and not a crash β€” she's chill like that πŸ™ˆ


πŸ”₯ DESCRIPTION πŸ”₯

kay so here's the tea β˜•: this function assumes the element is of the correct type (BASIC) and that it's big enough. it does not verify either of those for you β€” that's your job, bestie, and you gotta do it with ieee80211_mle_type_ok. no cap. check before you call, or the vibes (and your memory safety) will be off 😭

⚠️ warning from your girl: the element is assumed to be of the correct type (BASIC) and big enough β€” this must be checked using ieee80211_mle_type_ok. don't skip the vibe check, fr fr πŸ’€

πŸ’œ SEE ALSO πŸ’œ

the whole friend group πŸ«‚ β€” all of these live in the kernel file ./include/linux/ieee80211-eht.h:

go read them, iykyk πŸ“šβœ¨


and that's the whole page, bestie πŸŽ€ this one's brought to you from the ./include/linux directory, dated October 2026, in the Kernel API Manual β€” mwah, love u, go check your element type before calling πŸ’‹πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from