STRUCT RADAR_TYPES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct radar_types(9) β€” like, the whole DFS radar vibe in one struct πŸ’–

okay bestie, so you know how radar_types(9) shows up in the kernel API manual and you're just sitting there like "what even is this"? same. but don't panic β€” it's genuinely not that deep. this struct is the lil container that holds an array of patterns defined for one DFS domain. one domain, one struct, all the radar patterns it needs. periodt. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct radar_types {
    enum nl80211_dfs_regions region;
    u32 num_radar_types;
    const struct radar_detector_specs *radar_types;
 };

yes that's the whole thing. she's compact. she's iconic. she does exactly one job and she does it well πŸ’…


🌸 Members 🌸

  • region β€” the regulatory DFS region, typed as enum nl80211_dfs_regions. it's giving "which corner of the world are we detecting radars in" energy 🌍
  • num_radar_types β€” a u32 that tells you the number of radar types to follow. like a headcount for the array. no cap, you need this one to know where the vibes end πŸ”’
  • radar_types β€” the radar types array itself, typed as const struct radar_detector_specs *. this is the main character right here πŸ‘‘

🫢 friendly reminder: radar_types is a const pointer, so please don't go modifying the patterns through it. not the move. πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

go read those next, i promise they're worth it πŸ’œ


and that's the whole page bestie!! πŸ¦‹βœ¨ this one came from ./drivers/net/wireless/ath, dated October 2026 β€” so yeah, mark your calendar, screenshot it, frame it, whatever you gotta do. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from