POWER TO PDADC TABLE FUNCTIONS(9)
π Power to PDADC table functions π
okay bestie so this is a page out of the Kernel API Manual β yes, that's the manual name, we're fancy now β and the header up top literally reads Power to PDA...le functions(9) because whoever generated it got a lil truncated mid-word. iconic honestly. the page we're actually reading is Power to PDADC table functions, so buckle up π«Ά
πΈ DESCRIPTION πΈ
so for RF2413 and later we have a Power to PDADC table (Power Detector) instead of a PCDAC (Power Control), plus 4 pd gain curves for each calibrated channel. the way that works is: each curve has power on the x axis in 0.5 db steps and PDADC steps on the y axis, and it looks like an exponential function β same vibe as the RF5111 curve. slay β¨
to recreate the curves we read the points from eeprom (eeprom.c) and interpolate here. like, that's the whole bit. interpolate era π
okay important note, no cap: in most cases only 2 (higher and lower) curves are used (like RF5112), but vendors have the opportunity to include all 4 curves on eeprom. so the door is open, it's just not always walked through π
also the final curve (higher power) has an extra point for better accuracy, like RF5112. periodt. β
the process is similar to what we do above for RF5111/5112. that's it, that's the lore.
π¦ SEE ALSO π¦
the whole group chat, in order, no one left behind:
- Kernel file
./drivers/net/wireless/ath/ath5k/phy.cβPHY related functions(9) ath5k_hw_radio_revision(9)ath5k_channel_ok(9)ath5k_hw_chan_has_spur_noise(9)ath5k_hw_rfb_op(9)ath5k_hw_write_ofdm_timings(9)ath5k_hw_phy_disable(9)ath5k_hw_wait_for_synth(9)RF Gain optimization(9)ath5k_hw_rfgain_opt_init(9)ath5k_hw_request_rfgain_probe(9)ath5k_hw_rf_gainf_corr(9)ath5k_hw_rf_check_gainf_readback(9)ath5k_hw_rf_gainf_adjust(9)ath5k_hw_gainf_calibrate(9)ath5k_hw_rfgain_init(9)ath5k_hw_rfregs_init(9)ath5k_hw_rf5110_chan2athchan(9)ath5k_hw_rf5110_channel(9)ath5k_hw_rf5111_chan2athchan(9)ath5k_hw_rf5111_channel(9)ath5k_hw_rf5112_channel(9)ath5k_hw_rf2425_channel(9)ath5k_hw_channel(9)PHY Calibration routines(9)ath5k_hw_read_measured_noise_floor(9)ath5k_hw_init_nfcal_hist(9)ath5k_hw_update_nfcal_hist(9)ath5k_hw_get_median_noise_floor(9)ath5k_hw_update_noise_floor(9)ath5k_hw_rf5110_calibrate(9)ath5k_hw_rf511x_iq_calibrate(9)ath5k_hw_phy_calibrate(9)ath5k_hw_set_spur_mitigation_filter(9)Antenna control(9)ath5k_hw_set_def_antenna(9)ath5k_hw_set_fast_div(9)ath5k_hw_set_antenna_switch(9)ath5k_hw_set_antenna_mode(9)ath5k_get_interpolated_value(9)ath5k_get_linear_pcdac_min(9)ath5k_create_power_curve(9)ath5k_get_chan_pcal_surrounding_piers(9)ath5k_get_rate_pcal_data(9)ath5k_get_max_ctl_power(9)Power to PCDAC table functions(9)ath5k_fill_pwr_to_pcdac_table(9)ath5k_combine_linear_pcdac_curves(9)ath5k_write_pcdac_table(9)ath5k_combine_pwr_to_pdadc_curves(9)ath5k_write_pwr_to_pdadc_table(9)ath5k_setup_channel_powertable(9)ath5k_write_channel_powertable(9)Per-rate tx power setting(9)ath5k_setup_rate_powertable(9)ath5k_hw_txpower(9)ath5k_hw_set_txpower_limit(9)ath5k_hw_phy_init(9)
and that's the page, bestie π this one lives in ./drivers/net/wireless/ath/ath5k, and it's dated October 2026 β yeah, the future, we're ahead of schedule π the footer also quietly repeats Power to PDA...le functions(9) at the end, like a little echo. bye, ily, go read your eeprom ππ¦
π¦ 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