STRUCT PRI_DETECTOR(9)
π 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, returnspri_sequenceif 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
- 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