ieee80211_ml...param_ch_cnt(9)
π ieee80211_mle_get_bss_param_ch_cnt β the Kernel API Manual, bestie edition π
okay so picture this: you're deep in the kernel's ieee80211 headers, the manual name is literally ieee80211_ml...param_ch_cnt(9) (yes the title got truncated, it's giving ellipsis-era, we move), and you just need one number out of a Basic Multi-Link element. That's this function. She's small. She's iconic. Let's go π¦
β¨ NAME β¨
ieee80211_mle_get_bss_param_ch_cnt β returns the BSS parameter change count πΈ
Like the whole personality is: hand it an element, get the count back. Periodt.
β¨ SYNOPSIS β¨
int ieee80211_mle_get_bss_param_ch_cnt (const u8 *data );
That's it. One pointer, one int. Main character energy, minimal cast π
β¨ ARGUMENTS β¨
dataβ pointer to the basic multi link element π (the "basic" is doing a lot of work here, remember it for the next section, iykyk)
β¨ RETURN β¨
- the BSS Parameter Change Count field value π₯
- or
-1if it's not present π
So like. Two outcomes. Count, or -1. No in-between, no crumbs.
β¨ DESCRIPTION β¨
okay bestie here's the vibe check π
The element is assumed to be of the correct type (BASIC) and big enough. Assumed, girl. Nobody's checking for you in here. If you want that checked, you have to do it yourself using ieee80211_mle_type_ok β that's the whole point of it existing, don't leave her on read π
β οΈ fr fr β this function trusts you completely. Wrong type or too-small buffer and it's not gonna warn you, so call ieee80211_mle_type_ok first like a responsible icon.
No cap: the function is tiny, the requirement is real.
π SEE ALSO π
Kernel file ./include/linux/ieee80211-eht.h, plus the whole friend group she runs with π«Ά
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_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)
and that's the whole page, bestie π huge shoutout to the source dir ./include/linux, and this drop is stamped October 2026 under the ieee80211_ml...param_ch_cnt(9) banner β slay, go read ieee80211_mle_type_ok(9) before you call her, ily, bye π§β¨
π¦ 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