brcmf_mon_add_vif(9)
π
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β thewiphydevice 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 π
- Kernel file:
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_apsta_add_vif(9)brcmf_setup_ifmodes(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms