ath11k_cfr_c...te_and_relay(9)
π ath11k_cfr_correlate_and_relay β the Kernel API Manual moment π
okay so bestie, this is a page straight out of the Kernel API Manual, and it's genuinely iconic: ath11k_cfr_correlate_and_relay is the function that plays matchmaker for CFR events. she matches, she relays, she does NOT let orphan events just sit there. periodt. β¨
πΈ NAME πΈ
ath11k_cfr_correlate_and_relay β correlate and relay CFR events, no cap π«Ά
β¨ SYNOPSIS β¨
enum ath11k_cfr_correlate_status ath11k_cfr_correlate_and_relay (struct
ath11k *ar , struct ath11k_look_up_table *lut , u8 event_type );
like yes, she takes three things and gives you back a status. main character energy fr fr π
π¦ ARGUMENTS π¦
arβ Pointer toath11kstructure. the whole ath11k vibe lives here πlutβ Lookup table for correlation. this is the little matchmaking directory she consults πevent_typeβ Type of event received (TXorDBR). she needs to know which flavor of event just walked in πͺ
π DESCRIPTION π
so what she actually does: she correlates WMI_PDEV_DMA_RING_BUF_RELEASE_EVENT (that's DBR) with WMI_PEER_CFR_CAPTURE_EVENT (that's TX capture) by PPDU ID. yup, PPDU ID matchmaking, it's giving dating app but for kernel events ππ
If both events are present and the PPDU IDs match, she returns CORRELATE_STATUS_RELEASE to relay the correlated data to userspace. slay β the data gets to go to the party ππ₯
Otherwise she returns CORRELATE_STATUS_HOLD to wait for the other event. not ghosting, justβ¦ waiting for her other half to show up π
She also checks pending DBR events and clears them when no corresponding TX capture event is received for the PPDU. so yes, she cleans up after herself β no stale event buildup, we love a tidy queen πβ¨
β RETURN β
CORRELATE_STATUS_RELEASE or CORRELATE_STATUS_HOLD β that's it, that's the whole answer π
π SEE ALSO π
- Kernel file
./drivers/net/wireless/ath/ath11k/cfr.cπ
ngl if you're poking at CFR correlation, go read that cfr.c file β she's the whole source of truth, bestie π
and that's the page!! brought to you by the fine folks at ./drivers/net/wireless/ath/ath11k, dated October 2026 β go off, kernel docs, you ate π
β¨π¦
π¦ 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