ENUM ATH5K_RF_REGS_IDX(9)
πΈ enum ath5k_rf_regs_idx(9) πΈ
okay bestie, buckle up. today we're diving into the Kernel API Manual and this page is literally called enum ath5k_rf_regs_idx(9). yes that's a mouthful and yes it's iconic. the whole point of this enum is to map RF registers to indexes and honestly it's giving "small but crucial" energy. π
β¨ NAME β¨
enum ath5k_rf_regs_idx β map RF registers to indexes. that's it. that's the whole name. short and sweet, no notes. π
πΈ SYNOPSIS πΈ
okay so the struct situation is this β full enum energy, all the constants, no skips. here's the exact code:
enum ath5k_rf_regs_idx {
AR5K_RF_TURBO ,
AR5K_RF_OB_2GHZ ,
AR5K_RF_OB_5GHZ ,
AR5K_RF_DB_2GHZ ,
AR5K_RF_DB_5GHZ ,
AR5K_RF_FIXED_BIAS_A ,
AR5K_RF_FIXED_BIAS_B ,
AR5K_RF_PWD_XPD ,
AR5K_RF_XPD_SEL ,
AR5K_RF_XPD_GAIN ,
AR5K_RF_PD_GAIN_LO ,
AR5K_RF_PD_GAIN_HI ,
AR5K_RF_HIGH_VC_CP ,
AR5K_RF_MID_VC_CP ,
AR5K_RF_LOW_VC_CP ,
AR5K_RF_PUSH_UP ,
AR5K_RF_PAD2GND ,
AR5K_RF_XB2_LVL ,
AR5K_RF_XB5_LVL ,
AR5K_RF_PWD_ICLOBUF_2G ,
AR5K_RF_PWD_84 ,
AR5K_RF_PWD_90 ,
AR5K_RF_PWD_130 ,
AR5K_RF_PWD_131 ,
AR5K_RF_PWD_132 ,
AR5K_RF_PWD_136 ,
AR5K_RF_PWD_137 ,
AR5K_RF_PWD_138 ,
AR5K_RF_PWD_166 ,
AR5K_RF_PWD_167 ,
AR5K_RF_DERBY_CHAN_SEL_MODE ,
AR5K_RF_GAIN_I ,
AR5K_RF_PLO_SEL ,
AR5K_RF_RFGAIN_SEL ,
AR5K_RF_RFGAIN_STEP ,
AR5K_RF_WAIT_S ,
AR5K_RF_WAIT_I ,
AR5K_RF_MAX_TIME ,
AR5K_RF_MIXVGA_OVR ,
AR5K_RF_MIXGAIN_OVR ,
AR5K_RF_MIXGAIN_STEP ,
AR5K_RF_PD_DELAY_A ,
AR5K_RF_PD_DELAY_B ,
AR5K_RF_PD_DELAY_XR ,
AR5K_RF_PD_PERIOD_A ,
AR5K_RF_PD_PERIOD_B ,
AR5K_RF_PD_PERIOD_XR
};
don't come for me about the spacing. I copied it exactly. character for character. periodt. π
β¨ Constants β¨
okay so here's the thing β the original manpage literally says -- undescribed -- for every single one of these. and honestly? same energy. we don't have the tea on what each one does, but they're all here and they're all valid. the whole squad, accounted for. π«Ά
AR5K_RF_TURBOβ-- undescribed --(the manpage is keeping secrets but we respect it)AR5K_RF_OB_2GHZβ-- undescribed --AR5K_RF_OB_5GHZβ-- undescribed --AR5K_RF_DB_2GHZβ-- undescribed --AR5K_RF_DB_5GHZβ-- undescribed --AR5K_RF_FIXED_BIAS_Aβ-- undescribed --AR5K_RF_FIXED_BIAS_Bβ-- undescribed --AR5K_RF_PWD_XPDβ-- undescribed --AR5K_RF_XPD_SELβ-- undescribed --AR5K_RF_XPD_GAINβ-- undescribed --AR5K_RF_PD_GAIN_LOβ-- undescribed --AR5K_RF_PD_GAIN_HIβ-- undescribed --AR5K_RF_HIGH_VC_CPβ-- undescribed --AR5K_RF_MID_VC_CPβ-- undescribed --AR5K_RF_LOW_VC_CPβ-- undescribed --AR5K_RF_PUSH_UPβ-- undescribed --AR5K_RF_PAD2GNDβ-- undescribed --AR5K_RF_XB2_LVLβ-- undescribed --AR5K_RF_XB5_LVLβ-- undescribed --AR5K_RF_PWD_ICLOBUF_2Gβ-- undescribed --AR5K_RF_PWD_84β-- undescribed --AR5K_RF_PWD_90β-- undescribed --AR5K_RF_PWD_130β-- undescribed --AR5K_RF_PWD_131β-- undescribed --AR5K_RF_PWD_132β-- undescribed --AR5K_RF_PWD_136β-- undescribed --AR5K_RF_PWD_137β-- undescribed --AR5K_RF_PWD_138β-- undescribed --AR5K_RF_PWD_166β-- undescribed --AR5K_RF_PWD_167β-- undescribed --AR5K_RF_DERBY_CHAN_SEL_MODEβ-- undescribed --AR5K_RF_GAIN_Iβ-- undescribed --AR5K_RF_PLO_SELβ-- undescribed --AR5K_RF_RFGAIN_SELβ-- undescribed --AR5K_RF_RFGAIN_STEPβ-- undescribed --AR5K_RF_WAIT_Sβ-- undescribed --AR5K_RF_WAIT_Iβ-- undescribed --AR5K_RF_MAX_TIMEβ-- undescribed --AR5K_RF_MIXVGA_OVRβ-- undescribed --AR5K_RF_MIXGAIN_OVRβ-- undescribed --AR5K_RF_MIXGAIN_STEPβ-- undescribed --AR5K_RF_PD_DELAY_Aβ-- undescribed --AR5K_RF_PD_DELAY_Bβ-- undescribed --AR5K_RF_PD_DELAY_XRβ-- undescribed --AR5K_RF_PD_PERIOD_Aβ-- undescribed --AR5K_RF_PD_PERIOD_Bβ-- undescribed --AR5K_RF_PD_PERIOD_XRβ-- undescribed --
π Description π
so like, why do we even do this? it's giving big brain energy honestly. the whole point is to handle common bits and make life easier by using an index for each register instead of a full rfb_field. that's it. that's the tea. no cap. π΅
π¦ SEE ALSO π¦
okay bestie, run don't walk to these other pages. they're all connected and they all matter:
- Kernel file
./drivers/net/wireless/ath/ath5k/rfbuffer.hRF Buffer registers(9) struct ath5k_ini_rfbuffer(9)struct ath5k_rfb_field(9)struct ath5k_rf_reg(9)
literally go read them. they're iconic. π
this page is from ./drivers/net/wireless/ath/ath5k and it's dated October 2026. that's the source and version bestie. go forth and map those RF registers. you got this. πβ¨π
π¦ 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