STRUCT CFG80211_COLOCATED_AP(9)
π struct cfg80211_colocated_ap(9) β the kernel API manual, bestie edition π
okay so this is a page from the Kernel API Manual, section 9, and it's all about struct cfg80211_colocated_ap β literally just the container that holds "colocated AP information" β¨. if you've ever been like "wait, which APs are hanging out together in the same spot", this struct is the one holding the receipts. π«Ά
β¨ SYNOPSIS β¨
struct cfg80211_colocated_ap {
struct list_head list;
u8 bssid[ETH_ALEN];
u8 ssid[IEEE80211_MAX_SSID_LEN];
size_t ssid_len;
u32 short_ssid;
u32 center_freq;
u8 unsolicited_probe:1, oct_recommended:1, same_ssid:1, multi_bss:1,
transmitted_bssid:1, colocated_ess:1, short_ssid_valid:1;
s8 psd_20;
};
look at her. six whole u8 bitfields crammed onto one line, no cap, that's the main character energy right there π (and yes, the continuation line really does start at column zero β that's how it is, we don't fix what isn't broken π
).
πΈ MEMBERS πΈ
listβ the linked list that ties together all the colocated APs. it's giving "everyone's invited to the group chat" π«Άbssidβ the BSSID of the reported AP. its little name tag πssidβ the SSID of the reported AP.ssid_lenβ length of thessid. gotta know how much of it is real β¨short_ssidβ the short SSID for this SSID. the lowkey abbreviated version, iykyk.center_freqβ the frequency the reported AP is on. where it's vibing on the dial π»unsolicited_probeβ the reported AP is part of an ESS where all the APs operating in the same channel as the reported AP (and that might be detected by a STA receiving this frame) are transmitting unsolicited Probe Response frames every 20 TUs. so basically everybody in that ESS is out here yelling unprompted every 20 TUs π loud and proud fr fr.oct_recommendedβ OCT is recommended to exchange MMPDUs with the reported AP. a recommendation, not a demand πsame_ssidβ the reported AP has the same SSID as the reporting AP. twins!! π―multi_bssβ the reported AP is part of a multiple BSSID set. it's a whole squad, not a solo act πtransmitted_bssidβ the reported AP is the transmitting BSSID. main character of that frame, periodt βcolocated_essβ all the APs that share the same ESS as the reported AP are colocated and can be discovered via legacy bands. found via the old-school route, iconic πshort_ssid_validβshort_ssidis valid and can be used. green flag, go ahead π’psd_20β the 20MHz PSD EIRP of the primary 20MHz channel for the reported AP. yes that is a mouthful, yes it'ss8, we love a tiny signed type β¨
π¦ SEE ALSO π¦
- Kernel file
./net/wireless/core.hβ go read it, it's the source of truth bestie π
heads up: everything here is straight from the kernel API manual, so treat the field semantics as gospel β don't go inventing behaviour, the kernel will not be nice about it π
and that's the whole page!! brought to you by <./net/wireless>, October 2026 β mwah, go touch some core.h π§π π
π¦ 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