STRUCT WCN36XX_VIF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_index is initially set to 0xFF. then she gets received from HW after the first config_bss call, and that's the value you gotta use in delete_bss and enter/exit_bmps. so like… don't go using a stale one, iykyk πŸ™ˆ
fr fr, that 0xFF starting value is not a real index β€” it's the "we haven't talked to the hardware yet" placeholder. wait for config_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