diff options
| author | Ching-Te Ku <ku920601@realtek.com> | 2026-07-30 14:02:18 +0800 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2026-08-02 09:53:22 +0800 |
| commit | dd7e70e76bf632c04a824e16fed034df74020109 (patch) | |
| tree | ccb82c5ce271345b8c15a4e38138d1b1ae7022ca /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4d9f08115092651fe5d99c1ea27b6600944ba03a (diff) | |
wifi: rtw89: coex: Port _update_bt_ctrl_lps() for BT profile-based LPS control
The old lps_ctrl_scbd logic in _update_bt_scbd() blocked WiFi LPS only
when mode == BTC_WLINK_V0_2G_STA, which created a dead-lock while
WiFi already in LPS suppressed TDD binding so mode was never set to
BTC_WLINK_V0_2G_STA, lps_ctrl_scbd stayed 0, and WiFi remained stuck
in LPS. Port _update_bt_ctrl_lps() from the reference implementation to
check BT profile existence (A2DP, HFP, PAN) for both radios directly,
with out_of_band and freerun guards so LPS is only blocked when WiFi and
Bluetooth actually share a band. Call it from both _update_bt_scbd() and
_update_bt_info() so profile changes reported via either SCBD or BT info
C2H correctly update lps_ctrl_scbd. Also remove the dead
lps_ctrl_scbd_last field.
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-6-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
