ieee80211_ge...type_cap_vif(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

straight out of the Kernel API Manual, section 9 β€” yes bestie, we're reading the ieee80211_ge...type_cap_vif(9) page, grab a snack πŸ“

πŸ’– NAME πŸ’–

ieee80211_get_eht_iftype_cap_vif β€” it returns the EHT capabilities for a given sband/vif pairing. That's the whole vibe. No cap. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

const struct ieee80211_sta_eht_cap * ieee80211_get_eht_iftype_cap_vif
(const struct ieee80211_supported_band *sband , struct ieee80211_vif
*vif );

🌸 ARGUMENTS 🌸

Okay so it takes exactly two things, and honestly? Iconic minimalism:

  • sband β€” the sband we're searching for the iftype on πŸ” like, this is the band we're digging through
  • vif β€” the vif we're getting the iftype from πŸ’« this is where the iftype comes out of

πŸ‘‘ RETURN πŸ‘‘

It hands you back a pointer to the struct ieee80211_sta_eht_cap πŸ’… β€” or NULL is none found 😭 (so yeah, vibe check your return value before you dereference it, fr fr).


🧚 SEE ALSO 🧚

Lowkey this function is in a whole polycule with the entire mac80211 API. Here's the whole list, every single one, not skipping a thing 🫢 First up, the file itself:

  • Kernel file ./include/net/mac80211.h

And now, the extended friend group 🌈:


And that's the whole page bestie, go forth and get those EHT caps πŸ’œ This one lives over in ./include/net, dated October 2026, and it's the ieee80211_ge...type_cap_vif(9) page from the Kernel API Manual β€” mwah, slay, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from