wifi: Don't touch debug_mask

It was causing throughput issues and wasn't needed
This commit is contained in:
Vicki Pfau 2025-04-08 17:47:26 -07:00
parent 154775b3cc
commit a200d42450

View file

@ -125,17 +125,12 @@ async fn restart_iwd(connection: Connection) -> Result<()> {
async fn stop_tracing() -> Result<()> {
run_script(TRACE_CMD_PATH, &["stop"]).await?;
Ok(fs::write(path("/sys/module/ath11k/parameters/debug_mask"), b"0\n").await?)
Ok(())
}
async fn start_tracing(buffer_size: u32) -> Result<()> {
// Start tracing
let size_str = buffer_size.to_string();
fs::write(
path("/sys/module/ath11k/parameters/debug_mask"),
b"0xffffefff\n",
)
.await?;
run_script(
TRACE_CMD_PATH,
&["start", "-e", "ath11k_wmi_diag", "-b", &size_str],