ENUM P2P_BSS_TYPE(9)
π enum p2p_bss_type β a whole vibe check on BSS configs π
okay so bestie, we're deep in the Kernel API Manual today and this one is literally all about the enum p2p_bss_type β aka the different types of BSS configurations. no cap, it's a tiny enum but it's carrying the whole P2P situation on its back. π«Ά
β¨ NAME β¨
enum p2p_bss_type β the different type of BSS configurations. that's it, that's the whole name section, she's concise and iconic. π
πΈ SYNOPSIS πΈ
bestie, here's the whole enum laid out, and yes you need every single one of these, don't skip:
enum p2p_bss_type {
P2PAPI_BSSCFG_PRIMARY ,
P2PAPI_BSSCFG_DEVICE ,
P2PAPI_BSSCFG_CONNECTION ,
P2PAPI_BSSCFG_CONNECTION2 ,
P2PAPI_BSSCFG_MAX
};
lowkey obsessed with how tidy that is. note the little spaces before the commas β that's how the original rolls, we don't touch it. π
π CONSTANTS π
okay this is the main character section, let's go one by one:
P2PAPI_BSSCFG_PRIMARYβ maps to the driver's primary bsscfg. the OG. the blueprint. π§P2PAPI_BSSCFG_DEVICEβ maps to the driver's P2P device discovery bsscfg. this is the one out there finding friends, fr fr. πP2PAPI_BSSCFG_CONNECTIONβ maps to the driver's 1st P2P connection bsscfg. first connection, first love, number one. πP2PAPI_BSSCFG_CONNECTION2β maps to the driver's 2nd P2P connection bsscfg. second connection, she's not a copy, she's a sequel. π¦P2PAPI_BSSCFG_MAXβ used for range checking. the bouncer at the club, checking your ID, making sure you're in range. periodt. πͺβ¨
ngl, this one's short but every single value matters β don't be out here inventing new ones, the enum is the enum. π€
π₯ SEE ALSO π₯
go touch some grass in these files and structs, bestie, they're all connected:
- Kernel file
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h struct p2p_bss(9)enum brcmf_p2p_status(9)struct afx_hdl(9)struct brcmf_p2p_info(9)
the whole brcmfmac squad, iykyk. π
π the sign-off π
that's the page, bestie! π this lil beauty comes from ./drivers/net/wireless/broadco... and she's dated October 2026, living under the Kernel API Manual umbrella β the same enum p2p_bss_type(9) you started with, full circle, main character energy from start to finish. slay. π
β¨
π¦ 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