STRUCT RADAR_TYPES(9)
π 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 asenum nl80211_dfs_regions. it's giving "which corner of the world are we detecting radars in" energy πnum_radar_typesβ au32that 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 asconst struct radar_detector_specs *. this is the main character right here π
π«Ά friendly reminder:radar_typesis aconstpointer, so please don't go modifying the patterns through it. not the move. π
π SEE ALSO π
- kernel file
./drivers/net/wireless/ath/dfs_pattern_detector.c get_dfs_domain_radar_types(9)struct channel_detector(9)channel_detector_get(9)
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
- 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