STRUCT PRI_SEQUENCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct pri_sequence(9) β€” okay so this is from the Kernel API Manual, bestie

Hi hi hiii πŸ’– welcome to the page for struct pri_sequence, which is literally just… a sequence of pulses that all match one PRI. That's the whole vibe. It's giving "radar detector's little notebook" energy and honestly? Obsessed.


✨ NAME ✨

struct pri_sequence β€” a sequence of pulses matching one PRI πŸŽ€


🌸 SYNOPSIS 🌸

struct pri_sequence {
    struct list_head head;
    u32 pri;
    u32 dur;
    u32 count;
    u32 count_falses;
    u64 first_ts;
    u64 last_ts;
    u64 deadline_ts;
 };

No gatekeeping here, this is the whole thing πŸ’…


πŸ’œ MEMBERS πŸ’œ

  • head β€” a list_head. That's it, that's the description, it's a list head fr fr 🫢
  • pri β€” the pulse repetition interval (PRI) in usecs ✨
  • dur β€” how long the sequence lasts, in usecs ⏳
  • count β€” how many pulses are chillin' in this sequence πŸ”₯
  • count_falses β€” the number of pulses in this sequence that don't match 😭 like the leftovers, the ones who didn't get the invite
  • first_ts β€” time stamp of the first pulse, in usecs πŸŽ€
  • last_ts β€” time stamp of the last pulse, in usecs 🌸
  • deadline_ts β€” the deadline for when this whole sequence becomes invalid, and it's literally first_ts + dur πŸ‘‘ (math! we love her!)

Lowkey important: everything timestamp-y and duration-y in here is measured in usecs. Not secs, not msecs. usecs. Don't embarrass yourself 🫢

🌈 SEE ALSO 🌈

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

Go read the detector one next, it's the main character energy to this struct's supporting role πŸ’€βœ¨


That's the page, bestie!! πŸŽ€ Shoutout to ./drivers/net/wireless/ath for the source and to October 2026 for the date β€” mwah, mwah, slay, periodt πŸ’…πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from