STRUCT WCN36XX_VIF(9)
π struct wcn36xx_vif(9) π
okay so bestie, welcome to the kernel API manual for struct wcn36xx_vif β it's giving "little struct that holds all the VIF related fields" and honestly? she's carrying the whole vibe. no cap. π
β¨ NAME β¨
struct wcn36xx_vif β holds VIF related fields πΈ
π¦ SYNOPSIS π¦
struct wcn36xx_vif {
struct list_head list;
u8 dtim_period;
enum ani_ed_type encrypt_type;
bool is_joining;
bool sta_assoc;
struct wcn36xx_hal_mac_ssid ssid;
enum wcn36xx_hal_bss_type bss_type;
enum wcn36xx_power_state pw_state;
u8 bss_index;
u8 self_sta_index;
u8 self_dpu_desc_index;
u8 self_ucast_dpu_sign;
#if IS_ENABLED(CONFIG_IPV6);
struct in6_addr
target_ipv6_addrs[WCN36XX_HAL_IPV6_OFFLOAD_ADDR_MAX];
unsigned long
tentative_addrs[BITS_TO_LONGS(WCN36XX_HAL_IPV6_OFFLOAD_ADDR_MAX)];
int num_target_ipv6_addrs;
#endif;
struct {
u8 kck[NL80211_KCK_LEN], kek[NL80211_KEK_LEN];
__le64 replay_ctr;
bool valid;
} rekey_data;
struct list_head sta_list;
int bmps_fail_ct;
};
like, look at her. every field accounted for, nothing skipped. we love a complete definition π
π Members π
okay so there's exactly one member with its own little blurb, and she is the main character:
bss_indexβ bestie, listen.bss_indexis initially set to0xFF. then she gets received from HW after the firstconfig_bsscall, and that's the value you gotta use indelete_bssandenter/exit_bmps. so likeβ¦ don't go using a stale one, iykyk π
fr fr, that0xFFstarting value is not a real index β it's the "we haven't talked to the hardware yet" placeholder. wait forconfig_bss, then slay. β
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/wireless/ath/wcn36xx/wcn36xx.h - struct
wcn36xx_sta(9)β her sibling, go say hi π«Ά
and that's the whole page, no crumbs left behind. this came from the kernel source at ./drivers/net/wireless/ath/wcn... and it's dated October 2026 β so yeah, mark your calendar, screenshot it, send it to the group chat, periodt. πβ¨π
π¦ 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