STRUCT WCN36XX_STA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct wcn36xx_sta(9) β€” the Kernel API Manual glow-up ✨

okay bestie, welcome to the struct wcn36xx_sta(9) page πŸ’… this is the Kernel API Manual, and we're about to make it make sense. no cap.


✨ NAME ✨

struct wcn36xx_sta β€” literally the struct that holds all the STA related fields 🫢 like, that's its whole job, and it's doing amazing.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole vibe, character for character, don't come for me:

struct wcn36xx_sta {
    struct list_head list;
    struct wcn36xx_vif *vif;
    u16 aid;
    u16 tid;
    u8 sta_index;
    u8 dpu_desc_index;
    u8 ucast_dpu_sign;
    u8 bss_sta_index;
    u8 bss_dpu_desc_index;
    bool is_data_encrypted;
    struct wcn36xx_hal_supported_rates_v1 supported_rates;
    spinlock_t ampdu_lock;
    enum wcn36xx_ampdu_state ampdu_state[16];
    int non_agg_frame_ct;
};

she's structured, she's organized, she's iconic πŸ‘‘


πŸŽ€ Members πŸŽ€

not me carefully going through every single one, because details matter bestie πŸ’–

  • tid β€” the traffic ID, used during AMPDU and in TX BD. two gigs, one field, main character energy fr fr.
  • sta_index β€” the STA index, which the HW hands back to you after the config_sta call. it gets used in both the SMD channel and TX BD. slay.
  • dpu_desc_index β€” the DPU descriptor index, also returned from HW after the config_sta call, and it's used in TX BD. periodt.
  • bss_sta_index β€” the STA index returned from HW after the config_bss call, used in both the SMD channel and TX BD. khi. and bestie, peep the table below for when exactly it's used πŸ‘€
  • bss_dpu_desc_index β€” the DPU descriptor index returned from HW after the config_bss call, and it's used in TX BD. simple, clean, no notes ✨

and here's that table, verbatim, because I would NEVER mess with the layout 🫢

                   ______________________________________________ |
                   |     STA     |       AP      |
                   |______________|_____________|_______________| |    TX BD
                   |bss_sta_index|   sta_index   |
                   |______________|_____________|_______________| |all SMD
calls |bss_sta_index|   sta_index   |
                   |______________|_____________|_______________|
                   |smd_delete_sta|  sta_index  |   sta_index   |
                   |______________|_____________|_______________|
quick vibe check πŸ’€ the struct also carries list, vif, aid, ucast_dpu_sign, is_data_encrypted, supported_rates, ampdu_lock, ampdu_state[16], and non_agg_frame_ct β€” but the page itself only breaks down the members above, so I'm not out here making stuff up. iykyk.

🌈 SEE ALSO 🌈

  • the Kernel file ./drivers/net/wireless/ath/wcn36xx/wcn36xx.h
  • struct wcn36xx_vif(9) β€” her sister page, go show her some love too πŸ¦‹

and that's the whole page, bestie πŸ’œ no crumbs left behind. this lil rewrite came from the source/version line ./drivers/net/wireless/ath/wcn..., dated October 2026, and it's still your girl struct wcn36xx_sta(9) the whole way through πŸŒΈπŸŽ€πŸ’…

πŸ“¦ where this page comes from