brcmf_mon_add_vif(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… brcmf_mon_add_vif(9) β€” Kernel API Manual πŸ’…

okay bestie, we’re doing a kernel API page today and it’s literally the whole thing β€” no skips, no β€œyou get the vibe,” just the facts with sparkle ✨ This one is from the Kernel API Manual, and it’s about creating a monitor mode virtual interface. slay.

✨ NAME ✨

brcmf_mon_add_vif β€” create monitor mode virtual interface

🌸 SYNOPSIS 🌸

struct wireless_dev * brcmf_mon_add_vif (struct wiphy *wiphy , const char *name );

This returns a struct wireless_dev * and takes a struct wiphy * plus a const char *. iconic signature behavior 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” the wiphy device of the new interface. that’s the device it’s attached to, bestie πŸ’–
  • name β€” the name of the new interface. name it whatever the new interface should be called πŸŽ€

πŸ¦‹ RETURN πŸ¦‹

  • On success: a pointer to the new vif πŸ’…
  • If it’s not successful: ERR_PTR(-errno) 😭

That’s the whole return vibe: pointer or error pointer, no cap. periodt 🌈

πŸ’œ SEE ALSO πŸ’œ

okay that’s the whole page, bestie 🫢 this one’s from source/version ./drivers/net/wireless/broadco... and it’s dated October 2026. mwah, go off πŸ’‹πŸ’–

πŸ“¦ where this page comes from