wifi: rtw89: debug: disable hw_scan for latency-sensitive scenarios

This helps avoid scan-triggered off-channel activity during
latency-sensitive scenarios.

Add RTW89_DM_HW_SCAN to the disabled_dm bitmap via debugfs and
check it in the hw_scan path. When set, the driver rejects hw_scan
requests and returns -EBUSY.

Signed-off-by: Johnson Tsai <wenjie.tsai@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260420034051.17666-4-pkshih@realtek.com
This commit is contained in:
Johnson Tsai 2026-04-20 11:40:38 +08:00 • committed by Ping-Ke Shih
commit 3da737c777
3 changed files with 9 additions and 0 deletions