ENUM ATH5K_RFGAIN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ath5k_rfgain(9) β€” like, the RF Gain optimization engine state, bestie ✨

okay so this is a page from the Kernel API Manual (yes, that one) and it's all about enum ath5k_rfgain, which is literally the state of the RF Gain optimization engine. it's giving tiny enum, main character energy, and honestly? we're obsessed πŸŽ€


🌸 NAME 🌸

enum ath5k_rfgain β€” the RF Gain optimization engine state, fr fr πŸ’–


✨ SYNOPSIS ✨

here's the whole enum, copied exactly, no cap:

enum ath5k_rfgain {
    AR5K_RFGAIN_INACTIVE ,
    AR5K_RFGAIN_ACTIVE ,
    AR5K_RFGAIN_READ_REQUESTED ,
    AR5K_RFGAIN_NEED_CHANGE

};

like, that's the entire vibe. four states. four little moods the engine can be in πŸ¦‹


🧚 Constants 🧚

so each of these is a state, and here's what they mean, bestie:

  • AR5K_RFGAIN_INACTIVE β€” the engine is disabled. it's asleep. do not disturb πŸ’€
  • AR5K_RFGAIN_ACTIVE β€” probe is active. we're up, we're doing the thing πŸ”₯
  • AR5K_RFGAIN_READ_REQUESTED β€” a probe has been requested. like, someone knocked, we're answering πŸ™ˆ
  • AR5K_RFGAIN_NEED_CHANGE β€” Gain_F needs a change. yes, Gain_F specifically. it's a whole thing πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

if you wanna go down the whole rabbit hole (and honestly you should), this enum lives in the kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h, and it's friends with all of these icons:

  • enum ath5k_version(9)
  • enum ath5k_radio(9)
  • Atheros XR(9)
  • Atheros SuperAG(9)
  • enum ath5k_driver_mode(9)
  • enum ath5k_ant_mode(9)
  • enum ath5k_bw_mode(9)
  • struct ath5k_tx_status(9)
  • enum ath5k_tx_queue(9)
  • enum ath5k_tx_queue_subtype(9)
  • enum ath5k_tx_queue_id(9)
  • struct ath5k_txq(9)
  • struct ath5k_txq_info(9)
  • enum ath5k_pkt_type(9)
  • struct ath5k_rx_status(9)
  • struct ath5k_gain(9)
  • struct ath5k_athchan_2ghz(9)
  • enum ath5k_dmasize(9)
  • Rate codes(9)
  • enum ath5k_int(9)
  • enum ath5k_calibration_mask(9)
  • enum ath5k_power_mode(9)

and that's the whole page, bestie 🫢 mwah πŸ’‹

this lil gem comes from ./drivers/net/wireless/ath/ath5k, dated October 2026 β€” go off, ath5k directory, periodt ⭐🌈
πŸ“¦ where this page comes from