diff options
author | 2025-04-21 10:34:36 +0800 | |
---|---|---|
committer | 2025-05-16 12:38:55 -0700 | |
commit | 18d26d156c22a914e9d461d0305a8448841b31fd (patch) | |
tree | 2ac2172a659931b01079f0c1be1dd553a2a3f110 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | wifi: ath12k: add ring config for monitor mode on WCN7850 (diff) | |
download | wireguard-linux-18d26d156c22a914e9d461d0305a8448841b31fd.tar.xz wireguard-linux-18d26d156c22a914e9d461d0305a8448841b31fd.zip |
wifi: ath12k: add interrupt configuration for mon status ring
The monitor mode design is:
1. Hardware captures packets on the air.
2. Hardware stores the packets into related rings.
3. When the ring buffer reaches the interrupt threshold, it triggers
the interrupt.
4. Reap and process the ring buffer in ath12k_dp_service_srng().
Here the interrupt thresholds are intr_timer_thres_us, low_threshold and
intr_batch_cntr_thres_entries. An interrupt will be triggered once:
1. Number of packets in the ring reaches intr_batch_cntr_thres_entries.
2. Number of packets in the ring reaches low_threshold(by timer).
3. Timer reaches intr_timer_thres_us.
So, add interrupt configuration for the mon status ring, then start
to process ring buffers when the interrupt arrives.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Signed-off-by: Kang Yang <kang.yang@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250421023444.1778-6-kang.yang@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions