ieee80211_mle_get_link_id(9)
β¨ ieee80211_mle_get_link_id π
okay so bestie, welcome to the kernel API manual for ieee80211_mle_get_link_id(9) β yes that's the whole title, it's giving "long function name because kernel devs fear brevity" and honestly? iconic. this is from the Kernel API Manual and we're about to get into it π
β¨ NAME β¨
ieee80211_mle_get_link_id β literally just returns the link ID. that's it. that's the whole job. no cap π«Ά
πΈ SYNOPSIS πΈ
int ieee80211_mle_get_link_id (const u8 *data );
π¦ ARGUMENTS π¦
dataβ the basic multi link element π that's the whole parameter, she's aconst u8 *and she's carrying your basic MLE.
β RETURN β
the link ID π β or -1 if it's not present. so like, if it's giving nothing, you get -1. simple as that fr fr.
π DESCRIPTION π
so here's the tea π β this element is assumed to be of the correct type (BASIC) and big enough. assumed!! the function is not out here doing vibe checks on your data, she trusts you completely π
lowkey important: you have to check that yourself using ieee80211_mle_type_ok. the function will not do it for you, bestie. no safety net, no seatbelt, just vibes. don't come crying to me if you skip the check π
π SEE ALSO π
- Kernel file
./include/linux/ieee80211-eht.hstructieee80211_ttlm_elem(9), structieee80211_eht_mcs_nss_supp_20mhz_only(9), structieee80211_eht_mcs_nss_supp_bw(9), structieee80211_eht_cap_elem_fixed(9), structieee80211_eht_cap_elem(9), structieee80211_eht_operation(9), structieee80211_eht_operation_info(9),ieee80211_mle_common_size(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_get_mld_id(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)
like, that's the whole friend group right there π
go say hi. ieee80211_mle_type_ok(9) especially β she's the one you actually need, remember?
and that's the page!! mwah π«Ά this came out of ./include/linux and it's dated October 2026 β yes, the future, don't ask, the kernel works in mysterious ways β¨ bye bestie, go check your types π
π¦ 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