diff options
author | Bitterblue Smith <[email protected]> | 2024-09-20 22:27:30 +0300 |
---|---|---|
committer | Ping-Ke Shih <[email protected]> | 2024-09-26 09:26:08 +0800 |
commit | bbb6f9be7f99464d5ab7e2f321fa728d33eeec9a (patch) | |
tree | 0028f6a59db2c57821aa3cbb7f7cbd48d82e09ee /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7bf2f8fe4237ffe260d9cb603500f07ceee36ed8 (diff) |
wifi: rtw88: Parse the RX descriptor with a single function
rtw8703b_query_rx_desc(), rtw8723d_query_rx_desc(),
rtw8821c_query_rx_desc(), rtw8822b_query_rx_desc(), and
rtw8822c_query_rx_desc() are almost identical, so replace them all with
a single function, rtw_rx_query_rx_desc().
Also, access the RX descriptor using a struct with __le32 members and
le32_get_bits().
Tested with RTL8811CU, RTL8811AU, and RTL8812AU.
Signed-off-by: Bitterblue Smith <[email protected]>
Tested-by: Ping-Ke Shih <[email protected]> # RTL8723DE and RTL8822CE
Acked-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions