ieee80211_ml...param_ch_cnt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 -1 if 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 🫢


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