diff options
author | Martin Blumenstingl <[email protected]> | 2023-02-05 00:30:00 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-02-13 17:15:46 +0200 |
commit | 7b6e9df91133e13ce7d980fcdb55cc7f26099106 (patch) | |
tree | 69958b2722e8cb41f715aeef312168363f04c75d /tools/perf/scripts/python/check-perf-trace.py | |
parent | c90897960c19f5bad59fcd391901ac1b7787c50b (diff) |
wifi: rtw88: Move enum rtw_tx_queue_type mapping code to tx.{c,h}
This code is not specific to the PCIe bus type but can be re-used by USB
and SDIO bus types. Move it to tx.{c,h} to avoid code-duplication in the
future. While here, add checking of the ac argument in
rtw_tx_ac_to_hwq() so we're not accessing entries beyond the end of the
array.
Signed-off-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions