ENUM ATH5K_ANI_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ath5k_ani_mode(9) β€” the Kernel API Manual, but make it cute

Okay bestie, gather round, because today we're talking about enum ath5k_ani_mode(9) β€” yes, that's the Kernel API Manual page, and yes, it's about ANI / noise sensitivity, so buckle up πŸŽ€


✨ NAME ✨

enum ath5k_ani_mode β€” the mode for ANI / noise sensitivity. That's it, that's the whole vibe check πŸ’–


🌸 SYNOPSIS 🌸

enum ath5k_ani_mode {
    ATH5K_ANI_MODE_OFF ,
    ATH5K_ANI_MODE_MANUAL_LOW ,
    ATH5K_ANI_MODE_MANUAL_HIGH ,
    ATH5K_ANI_MODE_AUTO

};

Like, literally just an enum with four constants in it. Iconic. No cap πŸ¦‹


πŸ‘‘ Constants πŸ‘‘

So here's the tea on each of these little guys β€” pick your fighter:

  • ATH5K_ANI_MODE_OFF β€” turns ANI off. It's lowkey useful when you just want to stop the ANI algorithm after it's been chilling in auto mode. Not me shutting it down mid-run πŸ™ˆ
  • ATH5K_ANI_MODE_MANUAL_LOW β€” manually sets all the immunity parameters to low, which maximizes sensitivity. Also, ANI will not run. So like, it's doing the most for sensitivity but the algorithm itself stays home, fr fr πŸ’€
  • ATH5K_ANI_MODE_MANUAL_HIGH β€” the opposite queen: manually sets all the immunity parameters to high, minimizing sensitivity. And again β€” ANI will not run. Periodt 🫢
  • ATH5K_ANI_MODE_AUTO β€” the main character ✨ This one automatically controls the immunity parameters based on the amount of OFDM and CCK frame errors. And yes, it's the default. As it should be πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/ath/ath5k/ani.h struct ath5k_ani_state(9)

Go read those if you're obsessed with the lore, iykyk πŸ’œ


Ngl bestie, if you're flipping between manual low and manual high, remember ANI straight up does not run in either of those. That's not me being dramatic, that's just the facts 🌈

And that's a wrap, bestie πŸŽ€ This little love letter came to you from ./drivers/net/wireless/ath/ath5k, dated October 2026, brought to you by the same energy as enum ath5k_ani_mode(9) β€” slay, bye πŸ‘‹πŸ’–

πŸ“¦ where this page comes from