summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChing-Te Ku <ku920601@realtek.com>2026-07-30 14:02:16 +0800
committerPing-Ke Shih <pkshih@realtek.com>2026-08-02 09:52:50 +0800
commit8847c1b12bdd501a188039d4f4ab53bed519f235 (patch)
tree05cafb5b52394790a8afc0ab1acf8a8798219e66 /tools/perf/scripts/python
parentcf7f33eb04618cb5e34f2397de209db5736acbc6 (diff)
wifi: rtw89: coex: Clear BT link weight when BT is disabled
When a BT device is disabled, _update_bt_link_cnt() is no longer called for that device, so its link_weight[] retains stale values from the last active period. _set_bind_info() then computes a non-zero band score for the disabled device, which can lead to an incorrect tdd_bind.rf_band selection and ultimately wrong coexistence policy. Clear link_weight[] for any disabled BT device at the start of the _set_bind_info() loop so that stale scores are not carried forward. Signed-off-by: Ching-Te Ku <ku920601@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260730060220.55844-4-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions