ieee80211_vif_to_wdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ieee80211_vif_to_wdev β€” from the Kernel API Manual, bestie edition πŸŽ€

okay so welcome to the ieee80211_vif_to_wdev page, a genuine kernel-API-manual moment, and honestly? it's a short one. babygirl of a function. lowkey iconic for how much it does with so little πŸ’–


✨ NAME ✨

ieee80211_vif_to_wdev β€” return a wdev struct from a vif. that's it. that's the whole job. and she ate πŸ’…


🌸 SYNOPSIS 🌸

struct wireless_dev * ieee80211_vif_to_wdev (struct ieee80211_vif *vif
);

yes the line break is real, yes it's part of the vibe, we do not edit the synopsis, periodt ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vif β€” the vif you wanna get the wdev for 🫢 like, the whole input, that's her, that's the one.

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: mac80211 drivers that are out here calling direct cfg80211 APIs (things like the vendor commands, iykyk) can use this to get the wdev for a vif. that's the main character use case πŸ‘‘

and not me also telling you it's useful for getting the netdev associated to a vif β€” because it is. two-for-one situation and we love that for us πŸ’–


⭐ RETURN ⭐

pointer to the wdev. that's the whole return value. no cap. πŸŽ€


🌈 SEE ALSO 🌈

okay bestie, deep breath, because this list is long long. like, "she contains multitudes" long. every single one of these is exactly as it appears in the original and none of them got left behind πŸ’€βœ¨ starting with the kernel file they all come from:

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

and now, the cast of thousands (274 of them, fr fr, I counted, don't @ me):

ok that was a lot but we got through it together and honestly? proud of us πŸ«ΆπŸ’–

and that's the page!! πŸŽ€ cute little sign-off before you go: this one lives in ./include/net and it's dated October 2026, so go forth and get your wdev besties, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from