STRUCT ATH5K_GAIN_OPT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ath5k_gain_opt(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 πŸŽ€ β€” this is the page for struct ath5k_gain_opt, aka the RF Gain optimization ladder. yes it's as iconic as it sounds ✨


🌸 NAME 🌸

struct ath5k_gain_opt β€” RF Gain optimization ladder πŸͺœπŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ath5k_gain_opt {
    u8 go_default;
    u8 go_steps_count;
    const struct ath5k_gain_opt_step
go_step[AR5K_GAIN_STEP_COUNT];
 };

that's the whole struct, no cap β€” three members and she's done πŸ’…


πŸ’… Members πŸ’…

  • go_default β€” the default step πŸ‘‘ like the one you start on before anything gets optimized
  • go_steps_count β€” how many optimization steps there are, literally just the count πŸ”’
  • go_step β€” array of struct ath5k_gain_opt_step 🌈 (yes bestie, it's an entire array β€” sized AR5K_GAIN_STEP_COUNT, we love a fixed-size moment)

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/net/wireless/ath/ath5k/rfgain.h struct ath5k_ini_rfgain(9), struct ath5k_gain_opt_step(9) 🫢

so yeah, go read those two if you wanna complete the lore πŸ“šπŸ’œ

source: ./drivers/net/wireless/ath/ath5k  Β·  date: October 2026 β€” mwah, that's the page, ily, bye πŸ§šπŸ’–

πŸ“¦ where this page comes from