summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChia-Yuan Li <leo.li@realtek.com>2026-04-20 11:40:44 +0800
committerPing-Ke Shih <pkshih@realtek.com>2026-04-29 12:50:50 +0800
commit63586e841cf32ed7f86ed2c31c0386fc838c4290 (patch)
treef16b49f6d3b7b05036c827cd426079312ef1cc4d /tools/perf/scripts/python
parentae3d327515f2f46e2ca403f4a93494ef2050c764 (diff)
wifi: rtw89: offload DMAC and CMAC init IO to firmware
During the initialization of DMAC and CMAC, the driver performs a large number of consecutive register writes. Sending these I/O requests individually over the host interface introduces significant latency and delays the device bring-up process. Optimize the initialization flow by wrapping the register write sequences in mac.c and mac_be.c with rtw89_io_pack() and rtw89_io_unpack(). This batches the operations and offloads them to the firmware via H2C commands, which significantly accelerates the overall initialization time. (8852C USB2.0 AMD B450 1379 ms -> 1273 ms) Signed-off-by: Chia-Yuan Li <leo.li@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260420034051.17666-10-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions