STRUCT CFG80211_COLOCATED_AP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the ssid. 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_ssid is 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's s8, 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