STRUCT RADAR_DETECTOR_SPECS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct radar_detector_specs(9) πŸ‘‘

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct radar_detector_specs, and it is literally the blueprint for one radar pattern type's detector specs. no cap, if you're doing DFS/radar detection stuff on wifi, this struct is your main character. πŸŽ€


🌸 NAME 🌸

struct radar_detector_specs β€” detector specs for a radar pattern type πŸ’…


✨ SYNOPSIS ✨

struct radar_detector_specs {
    u8 type_id;
    u8 width_min;
    u8 width_max;
    u16 pri_min;
    u16 pri_max;
    u8 num_pri;
    u8 ppb;
    u8 ppb_thresh;
    u8 max_pri_tolerance;
    bool chirp;
 };

like… look at her. she's tiny. she's iconic. she holds the whole vibe check for one radar pattern type πŸ¦‹


πŸ’– Members πŸ’–

okay now the important part β€” every single field, no skipping, i would never do that to you 🫢

  • type_id β€” the pattern type, as defined by regulatory. the official ID of the radar vibe, iykyk πŸŽ€
  • width_min β€” minimum radar pulse width in [us] ⏱️
  • width_max β€” maximum radar pulse width in [us] ⏱️
  • pri_min β€” minimum pulse repetition interval in [us] (including tolerance) πŸ”₯
  • pri_max β€” minimum pri in [us] (including tolerance) πŸ™ˆ β€” yeah, the page literally says "minimum" for pri_max here. that's what it says, i'm not out here fixing it, i'm just reporting it πŸ’€
  • num_pri β€” maximum number of different pri for this type, so like… how many pri options she can hold πŸ‘‘
  • ppb β€” pulses per bursts for this type πŸ’₯
  • ppb_thresh β€” number of pulses required to trigger detection. this is the "how many taps before it goes off" number πŸ“
  • max_pri_tolerance β€” pulse time stamp tolerance on both sides [us]. both sides! generous queen 🌈
  • chirp β€” chirp required for the radar pattern 🐦

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/ath/dfs_pattern_detector.h
  • struct ath_dfs_pool_stats(9)
  • struct pulse_event(9)
  • struct dfs_pattern_detector(9)
  • dfs_pattern_detector_init(9)

ok bestie go read those too, the friend group is literally all connected πŸ’œ

and that's the whole page!! mwah πŸ’‹ β€” this masterpiece lives over in ./drivers/net/wireless/ath, dated October 2026, and it's struct radar_detector_specs(9) forever and always. periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from