STRUCT PRI_DETECTOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to struct pri_detector(9) from the Kernel API Manual πŸ’…βœ¨. This is the PRI detector element for a dedicated radar type, and it's lowkey iconic.

It brings three callback-ish members to the group chat:

  • @exit() β€” the destructor, bye-bye πŸ‘‹
  • @add_pulse() β€” add pulse event, returns pri_sequence if pattern was detected 🎯
  • @reset() β€” clear states and reset to given time stamp πŸ•°οΈ

✨ SYNOPSIS ✨

here's the exact struct shape, no cap 🫢:

struct pri_detector {
    void (*exit)     (struct pri_detector *de);
    struct pri_sequence * (*add_pulse)(struct pri_detector *de, struct
pulse_event *e);
    void (*reset)    (struct pri_detector *de, u64 ts);
    const struct radar_detector_specs *rs;
};

πŸŽ€ Members πŸŽ€

  • rs β€” detector specs for this detector element πŸ”₯

the callback members exit, add_pulse, and reset are the trio already described up in NAME, iykyk πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/wireless/ath/dfs_pri_detector.h
  • struct pri_sequence(9)

periodt, go read those too 🌈


mwah πŸ’‹ this lil page comes from ./drivers/net/wireless/ath, dated October 2026, and it's all about struct pri_detector(9) β€” iconic, fr fr 🫢

πŸ“¦ where this page comes from