STRUCT ATH_HW_RADAR_CONF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ath_hw_radar_conf(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for struct ath_hw_radar_conf β€” yes it's a nine, yes it's a struct, yes it's the radar detection initialization parameters and yes we're gonna get through it together 🫢


✨ NAME ✨

struct ath_hw_radar_conf β€” the radar detection initialization parameters. literally the little settings bundle that tells the hardware how to spot radar pulses. no cap.


🌸 SYNOPSIS 🌸

struct ath_hw_radar_conf {
    unsigned int pulse_inband;
    unsigned int pulse_inband_step;
    unsigned int pulse_height;
    unsigned int pulse_rssi;
    unsigned int pulse_maxlen;
    unsigned int radar_rssi;
    unsigned int radar_inband;
    int fir_power;
    bool ext_channel;
 };

she's giving struct, she's giving fields, she's giving bool in the last slot πŸ’… (also yes, there's a little extra space before that closing brace in the original β€” I'm not touching it, character for character, periodt)


πŸŽ€ Members πŸŽ€

okay this is the main character section, every field gets its moment:

  • pulse_inband β€” threshold for checking the ratio of in-band power to total power for short radar pulses, measured in half dB steps. iykyk, it's a ratio check and the units are half dB steps, don't forget the half πŸ™ˆ
  • pulse_inband_step β€” threshold for checking an in-band power to total power ratio increase for short radar pulses, also in half dB steps. note the glow-up: this one is about the ratio going up, not just the ratio itself ✨
  • pulse_height β€” threshold for detecting the beginning of a short radar pulse, in dB step. this is the "oop, something's starting" field πŸ‘€
  • pulse_rssi β€” threshold for detecting if a short radar pulse is gone, in dB step. the "okay she left" field πŸ’€
  • pulse_maxlen β€” maximum pulse length, in 0.8 us steps. yes, 0.8 us steps, that's the unit, keep it πŸ’–
  • radar_rssi β€” RSSI threshold for starting long radar detection, in dB steps. long-pulse era begins here πŸ”₯
  • radar_inband β€” threshold for checking the ratio of in-band power to total power for long radar pulses, in half dB steps. long pulses get their own ratio check, iconic 🌈
  • fir_power β€” threshold for detecting the end of a long radar pulse, in dB. note: plain dB here, not dB steps, not half dB steps β€” different unit, don't mix them up bestie πŸ“
  • ext_channel β€” enable extension channel radar detection. it's a bool, it's on or off, she's simple and she's slaying πŸ‘‘
⚠️ quick vibe check: the units are all over the place on purpose β€” half dB steps, dB step, dB steps, plain dB, and 0.8 us steps. copy them exactly, don't "normalize" them, that's not the move 😭

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/ath/ath9k/hw.h struct
  • ath_hw_private_ops(9)
  • struct ath_spec_scan(9)
  • struct ath_hw_ops(9)

and that's the whole page, bestie, you ate that πŸ’…

🌸✨ sign-off time ✨🌸 this lil gem lives over in ./drivers/net/wireless/ath/ath9k, dated October 2026, and the page itself is struct ath_hw_radar_conf(9). go forth and detect radar responsibly πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from