STRUCT BRCMF_GSCAN_CONFIG(9)
π struct brcmf_gscan_config(9) π
okay so bestie, welcome to the Kernel API Manual entry for struct brcmf_gscan_config β yes it's a kernel struct, yes it's from the Broadcom fam, and yes we're gonna get through it together. it's giving "niche but iconic" and honestly? we love that for us.
β¨ NAME β¨
struct brcmf_gscan_config β configuration data for gscan. that's it, that's the whole vibe: it's the config blob. no cap. π«Ά
πΈ SYNOPSIS πΈ
struct brcmf_gscan_config {
__le16 version;
u8 flags;
u8 buffer_threshold;
u8 swc_nbssid_threshold;
u8 swc_rssi_window_size;
u8 count_of_channel_buckets;
u8 retry_threshold;
__le16 lost_ap_window;
struct brcmf_gscan_bucket_config bucket[];
};
look at her. a whole little struct. the bucket[] at the end is a flexible array member btw β she's flexible, she's mysterious, she contains channels. main character energy fr fr. β¨
π Members π
time for the member-by-member breakdown, aka the part where we meet each field like it's a group chat introduction. π
versionβ the version of the api, and it has to match the firmware. think of it as the firmware's vibe check β if the versions don't line up, it's not gonna slay.flagsβ flags, governed byenum brcmf_gscan_cfg_flags. iykyk.buffer_thresholdβ the percentage threshold of the buffer that has to be hit before an event gets generated. lowkey a "how full before we freak out" situation.swc_nbssid_thresholdβ the number of BSSIDs with significant change that will generate an event. so like, a headcount of BSSIDs going through it before we notify anyone. πswc_rssi_window_sizeβ the size of the rssi cache buffer (max=8). that's the whole limit, bestie β8. do not exceed. πcount_of_channel_bucketsβ the number of array members inbucket. simple, clean, does what it says on the tin.retry_thresholdβ!unknown!. literally that's all we've got. no further lore. πlost_ap_windowβ also!unknown!. matching mystery energy, we stan a consistent duo. πbucketβ array of channel buckets. it's the flex array, it's the payload, it's her. π
π¦ SEE ALSO π¦
where to go next, bestie β the lore is all here:
- Kernel file:
./drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h
and then the whole extended friend group, all in that same file family β say hi to every one of them, don't skip a single name:
struct brcmf_wsec_pmk_le(9)struct brcmf_wsec_sae_pwd_le(9)struct brcmf_fil_wowl_pattern_le(9)struct brcmf_fil_country_le(9)struct brcmf_rev_info_le(9)struct brcmf_wlc_version_le(9)struct brcmf_assoclist_le(9)struct brcmf_rssi_be(9)struct brcmf_wowl_wakeind_le(9)struct brcmf_pmksa(9)struct brcmf_pmksa_v2(9)struct brcmf_pmksa_v3(9)struct brcmf_pmk_list_le(9)struct brcmf_pmk_list_v2_le(9)struct brcmf_pmk_op_v3_le(9)struct brcmf_pno_param_le(9)struct brcmf_pno_config_le(9)struct brcmf_pno_net_param_le(9)struct brcmf_pno_net_info_le(9)struct brcmf_pno_scanresults_le(9)struct brcmf_pno_macaddr_le(9)struct brcmf_dload_data_le(9)struct brcmf_pno_bssid_le(9)struct brcmf_pktcnt_le(9)struct brcmf_gtk_keyinfo_le(9)struct brcmf_gscan_bucket_config(9)enum brcmf_gscan_cfg_flags(9)struct brcmf_mkeep_alive_pkt_le(9)
ok and just so we're clear β that's the full list, every single one, no edits, no cuts. the manpage said it, we said it. periodt. π
and that's the page!! π source/version line says ./drivers/net/wireless/broadco... and the date is October 2026 β so like, future-dated manual page, very mysterious, very cunty, we love her. go forth and configure your gscan, bestie, you're gonna ate. πβ¨π¦
π¦ 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