STRUCT WCN36XX_STA(9)
πΈ 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 theconfig_stacall. it gets used in both the SMD channel and TX BD. slay.dpu_desc_indexβ the DPU descriptor index, also returned from HW after theconfig_stacall, and it's used in TX BD. periodt.bss_sta_indexβ the STA index returned from HW after theconfig_bsscall, 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 theconfig_bsscall, 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 carrieslist,vif,aid,ucast_dpu_sign,is_data_encrypted,supported_rates,ampdu_lock,ampdu_state[16], andnon_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
- 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