diff options
author | Zong-Zhe Yang <kevin_yang@realtek.com> | 2025-01-03 15:44:12 +0800 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-01-12 09:28:33 +0800 |
commit | 35642ba31dc4a1816a20191e90156a9e329beb10 (patch) | |
tree | ac2179a681011e5b35b7ad7dc2c1debdd076e0f6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6ab452d458fd060644ce62c604baa2fe444a6822 (diff) |
wifi: rtw89: mcc: consider time limits not divisible by 1024
For each MCC role, time limits, including max_tob_us, max_toa_us, and
mac_dur_us, are calculated if there are NoA attributes. The relation
between these time limits is "max_dur_us = max_tob_us + max_toa_us".
Then, the unit is converted from us to TU. However, originally, each
time limit was divided by 1024 independently. It missed to consider
the cases that max_tob_us or max_toa_us is not divisible by 1024. It
causes the result breaks "max_dur (TU) = max_tob (TU) + max_toa (TU)".
Finally, when MCC calculates pattern parameters based on these kinds
of time limits, it might not perform well.
Fixes: b09df09b55fb ("wifi: rtw89: mcc: initialize start flow")
Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250103074412.124066-1-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions