ieee80211_ra..._range_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ieee80211_radio_freq_range_valid (9) β€” Kernel API Manual, section 9 ✨

okay so like, welcome to the function name that ate πŸ’… yes it's long, yes it's serving, and yes we're gonna get through it together bestie. This one lives in the Kernel API Manual, section 9, and ngl it's a short little baddie β€” it just checks a thing and tells you yes or no. Lowkey iconic for that.


πŸ’– NAME πŸ’–

ieee80211_radio_freq_range_valid β€” check if the radio supports the specified frequency range πŸ¦‹

πŸŽ€ SYNOPSIS πŸŽ€

bool ieee80211_radio_freq_range_valid(const struct wiphy_radio *radio,
                                      u32 freq, u32 width);

so it takes three things and gives you back a bool, periodt ✨

🌈 ARGUMENTS 🌈

  • radio β€” the wiphy radio in question, like, the actual radio bestie, a struct wiphy_radio pointer 🫢
  • freq β€” the frequency (in KHz) you're asking about πŸ‘€ yes, KHz, don't come at me
  • width β€” the bandwidth (in KHz) you're asking about πŸŽ€ also KHz, matching energy

⭐ RETURN ⭐

it returns whether or not the given frequency range is valid for the given radio β€” so true if the radio can do that freq + width combo, false if it's giving "no ma'am" πŸ’€ that's it, that's the whole vibe check πŸ”₯


bestie this is only part 1 of 3, don't go anywhere, there's more coming πŸ‘‘

✨ SEE ALSO ✨

okay so this is the SEE ALSO section, and it is long β€” like, β€œwho invited every single cfg80211 symbol” long πŸ˜­πŸ’– it’s basically the extended universe of wireless config pages, and bestie, we are not skipping a single one. every reference is here, in order, no cap. take a sip of water, stretch your thumbs, and let’s scroll 🫢✨


…and the extended fam keeps going, because of course it does. Genuinely, the SEE ALSO list on this one has main character energy β€” so here's the rest of the squad, grouped so your brain doesn't short-circuit 🫢

the regulatory / beaconing girlies 🌸

channel + operating class math, aka the conversion pipeline 🧚

misc networking housekeeping ✨

fast transition + P2P + IE parsing πŸŽ€

wakeup + crit proto + channel counting πŸ”₯

combinations + radio lookup + stopping things πŸ‘‘

wiphy feature flags ⭐

the entire NAN cinematic universe (part one) πŸ¦‹

auth, PMSR, and the assoc girlies πŸ’œ

BSS flush + the whole colour-change saga 🌈

6 GHz + MLO era 🌸

channel checks + EPCS ✨

NAN, the sequel 🧚

debugfs, locked and loaded πŸ”₯

S1G frequency shenanigans πŸ¦‹

and the final boss πŸ‘‘

Like, that's sixty-four cross-references. Sixty-four!! Obsessed with the commitment, honestly. Every single one of them links back into the same kernel API manual fam, so if you're lost in the source tree at 3 a.m., you're in good company πŸ’€πŸ’–


okay bestie, that's a wrap on the whole page πŸŽ€ ngl it's a long one, but you made it β€” slay. This lil doc lives in ./include/net and it's dated October 2026, and yeah, that's the same date stamped on ieee80211_ra..._range_valid(9) itself. So go forth, vibe-check your ranges, and remember: range validation is literally self-care πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from