cfg80211_get..._idx_by_chan(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… cfg80211_get_radio_idx_by_chan(9) โ€” like, the Kernel API Manual page, bestie ๐ŸŽ€

okay so picture this: you're deep in the Kernel API Manual, section 9, and you land on this little gem. It's giving "short but crucial" and honestly? We love a concise function. โœจ


๐ŸŒธ NAME ๐ŸŒธ

cfg80211_get_radio_idx_by_chan โ€” literally just get the radio index by the channel. That's the whole vibe. No cap. ๐Ÿฆ‹


โœจ SYNOPSIS โœจ

int cfg80211_get_radio_idx_by_chan (struct wiphy *wiphy , const struct
       ieee80211_channel *chan );

she takes two args and hands you back an int. iconic behavior tbh ๐Ÿ‘‘


๐Ÿซถ ARGUMENTS ๐Ÿซถ

  • wiphy โ€” the wiphy, obviously ๐Ÿ’โ€โ™€๏ธ like, the wireless physical device thingy you're asking about
  • chan โ€” the channel for which the supported radio index is required. yes bestie, this specific channel. we're being precise here ๐ŸŽฏ

โญ RETURN โญ

on success you get the radio index โ€” slay ๐Ÿ’–

otherwise? -EINVAL. yep. something was not valid, and the kernel is telling you so with zero further comment ๐Ÿ˜ญ periodt.


okay that's part 1 wrapped โ€” more coming, don't go anywhere ๐Ÿงšโ€โ™€๏ธ

โœจ SEE ALSO โœจ

okay bestie, this is the part where the page points at literally everyone else in the cfg80211 friend group ๐Ÿ’… no gatekeeping, no โ€œyouโ€™ll figure it outโ€ โ€” hereโ€™s the full cross-reference roll call, every single one, no skips, no cap. ๐Ÿซถ

okay so the SEE ALSO list is literally a whole friend group โ€” like the biggest group chat in the kernel, and every single one of them is tagged. no skips, no "etc.", here's the full roster: ๐Ÿ’…


and that's the whole list, bestie โ€” every single one accounted for, no cap. ๐Ÿ

this page lives over in ./include/net, and it's dated October 2026, which is giving futuristic icon behavior honestly ๐Ÿ’œ go read the others, drink some water, and remember: cfg80211_get..._idx_by_chan(9) ate and left no crumbs ๐ŸŒŸ

๐Ÿ“ฆ where this page comes from