ieee80211_mle_get_mld_id(9)
β¨ 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:
- struct
ieee80211_ttlm_elem(9) - struct
ieee80211_eht_mcs_nss_supp_20mhz_only(9) - struct
ieee80211_eht_mcs_nss_supp_bw(9) - struct
ieee80211_eht_cap_elem_fixed(9) - struct
ieee80211_eht_cap_elem(9) - struct
ieee80211_eht_operation(9) - struct
ieee80211_eht_operation_info(9) ieee80211_mle_common_size(9)ieee80211_mle_get_link_id(9)ieee80211_mle_get_bss_param_ch_cnt(9)ieee80211_mle_get_eml_med_sync_delay(9)ieee80211_mle_get_eml_cap(9)ieee80211_mle_get_mld_capa_op(9)ieee80211_mle_get_ext_mld_capa_op(9)ieee80211_mle_get_enh_crit_upd_info(9)ieee80211_mle_size_ok(9)ieee80211_mle_type_ok(9)ieee80211_mle_basic_sta_prof_size_ok(9)ieee80211_mle_basic_sta_prof_bss_param_ch_cnt(9)ieee80211_mle_basic_sta_prof_enh_crit_upd(9)ieee80211_mle_reconf_sta_prof_size_ok(9)ieee80211_emlsr_pad_delay_in_us(9)ieee80211_emlsr_trans_delay_in_us(9)ieee80211_emlmr_pad_delay_in_us(9)ieee80211_emlmr_trans_delay_in_us(9)ieee80211_eml_trans_timeout_in_us(9)
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
- 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