STRUCT ATH5K_GAIN(9)
β¨ struct ath5k_gain(9) β¨
okay so bestie, welcome to the Kernel API Manual π«Ά β today's main character is struct ath5k_gain, and it's literally the RF Gain optimization engine state data π
like, no cap, that's the whole vibe.
π NAME π
struct ath5k_gain β the RF Gain optimization engine state data β¨ that's it, that's the girl πββοΈ
πΈ SYNOPSIS πΈ
struct ath5k_gain {
u8 g_step_idx;
u8 g_current;
u8 g_target;
u8 g_low;
u8 g_high;
u8 g_f_corr;
u8 g_state;
};
look at her π₯Ή seven little u8 fields, all cozy in one struct, and this is what we're talking about. copy it exactly, don't be weird about it π
π Members π
so here's the breakdown of every single member, because we do NOT skip anybody in this house π
g_step_idxβ Current step index β like, which step of the whole gain journey we're on rn πΆββοΈg_currentβ Current gain β the gain value she's got going on right now, periodt πg_targetβ Target gain β the gain we're manifesting β¨ literally the goal.g_lowβ Low gain boundary β the floor, the boundary at the bottom, don't go below it π«g_highβ High gain boundary β the ceiling, the upper boundary, don't go above, iykyk π₯g_f_corrβ Gain_F correction β the correction factor, slay π¦g_stateβ One ofenum ath5k_rfgainβ yeah, it's one of those, not making this up π
π SEE ALSO π
the whole friend group showed up, obsessed π here's everyone:
Kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h 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)enum ath5k_rfgain(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)
okay that's the whole page, bestie, you ate that πβ¨
and for the cute sign-off: this little icon lives in ./drivers/net/wireless/ath/ath5k, dated October 2026, and it goes by struct ath5k_gain(9) π go forth and gain-optimize, ily π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms