STRUCT ATH5K_ANI_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ath5k_ani_state(9) β€” ANI state and associated counters πŸ’–

okay bestie, welcome to the Kernel API Manual page for struct ath5k_ani_state(9) ✨. It’s giving β€œone struct holding the ANI state plus the associated counters,” and we’re gonna go through every single field because we don’t skip, ever πŸ’….


πŸ’… NAME πŸ’…

struct ath5k_ani_state β€” the ANI state and associated counters, no cap 🫢.


✨ SYNOPSIS ✨

struct ath5k_ani_state {
    enum ath5k_ani_mode     ani_mode;
    int noise_imm_level;
    int spur_level;
    int firstep_level;
    bool ofdm_weak_sig;
    bool cck_weak_sig;
    int max_spur_level;
    unsigned int            listen_time;
    unsigned int            ofdm_errors;
    unsigned int            cck_errors;
    struct ath_cycle_counters last_cc;
    unsigned int            last_listen;
    unsigned int            last_ofdm_errors;
    unsigned int            last_cck_errors;
    unsigned int            sum_ofdm_errors;
    unsigned int            sum_cck_errors;
};

🫢 Members 🫢

  • ani_mode β€” which ANI mode we’re in, and it’s one of enum ath5k_ani_mode πŸ‘‘
  • noise_imm_level β€” the noise immunity level, periodt πŸ’…
  • spur_level β€” the spur immunity level ✨
  • firstep_level β€” the FIRstep level πŸŽ€
  • ofdm_weak_sig β€” the OFDM weak signal detection state, aka on/off πŸ¦‹
  • cck_weak_sig β€” the CCK weak signal detection state, aka on/off 🌸
  • max_spur_level β€” the max spur immunity level, and it’s chip-specific πŸ’€
  • listen_time β€” the listen time ⭐
  • ofdm_errors β€” the OFDM timing error count πŸ”₯
  • cck_errors β€” the CCK timing error count 🌈
  • last_cc β€” the struct ath_cycle_counters from last time, for stats πŸ’
  • last_listen β€” the listen time from the previous run, for stats πŸ’œ
  • last_ofdm_errors β€” the OFDM timing error count from the previous run, for tats β€” yes, β€œtats,” that’s what the original says, we keep it 😭
  • last_cck_errors β€” the CCK timing error count from the previous run, for stats πŸ™ˆ
  • sum_ofdm_errors β€” the sum of OFDM timing errors, for stats πŸ“
  • sum_cck_errors β€” the sum of all CCK timing errors, for stats 🧚

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/ath/ath5k/ani.h
  • enum ath5k_ani_mode(9)

mwah πŸ’‹ β€” this iconic page lives under ./drivers/net/wireless/ath/ath5k, it’s dated October 2026, and it’s the struct ath5k_ani_state(9) manual page. slay, bye πŸŽ€

πŸ“¦ where this page comes from