STRUCT DFS_PATTERN_DETECTOR(9)
π struct dfs_pattern_detector(9) β Kernel API manual π
okay so bestie, welcome to the struct dfs_pattern_detector(9) page β it's giving radar-detector main character energy and we're gonna understand it fr fr. π¦β¨
β¨ NAME β¨
struct dfs_pattern_detector β DFS pattern detector. She's the one spotting patterns and keeping the vibe checked. π
@exit()β destructor. Cleanup queen, no cap. π@set_dfs_domain()β set DFS domain, and it resets detector lines when the domain changes. New domain, fresh start, iconic. π«@add_pulse()β add radar pulse to detector; returnstrueon detection. That's the whole point, periodt. π₯
πΈ SYNOPSIS πΈ
okay bestie, here's the whole struct in all her glory β every field, every function pointer, exactly as she is:
struct dfs_pattern_detector {
void (*exit)(struct dfs_pattern_detector *dpd);
bool (*set_dfs_domain)(struct dfs_pattern_detector *dpd, enum
nl80211_dfs_regions region);
bool (*add_pulse)(struct dfs_pattern_detector *dpd, struct
pulse_event *pe, struct radar_detector_specs *rs);
struct ath_dfs_pool_stats (*get_stats)(struct dfs_pattern_detector
*dpd);
enum nl80211_dfs_regions region;
u8 num_radar_types;
u64 last_pulse_ts;
struct ath_common *common;
const struct radar_detector_specs *radar_spec;
struct list_head channel_detectors;
};
π Members π
the cast of characters, iykyk:
regionβ active DFS region,NL80211_DFS_UNSETuntil set. No assumptions before she's set, bestie. πnum_radar_typesβ number of different radar types. Count 'em. π’last_pulse_tsβ time stamp of last valid pulse in usecs. Timekeeping but make it radar. β±οΈchannel_detectorsβ list connectingchannel_detectorelements. Linked-list realness. π
π SEE ALSO π
go read these too, bestie β they're part of the lore:
- Kernel file
./drivers/net/wireless/ath/dfs_pattern_detector.h struct ath_dfs_pool_stats(9)struct pulse_event(9)struct radar_detector_specs(9)dfs_pattern_detector_init(9)
source/vibe check: ./drivers/net/wireless/ath β’ date stamp: October 2026 β’ manual energy: struct dfs_pattern_detector(9) β slay, bye bestie! πβ¨π«Ά
π¦ 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