diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2024-01-13 01:42:29 +0200 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2024-01-18 11:34:46 +0200 |
| commit | 0635d73d85c1264060a92cbe1c53b7f010b6dd4a (patch) | |
| tree | f54bbdb8b774293dbee11c9559026f58034aaf36 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3832a9c40b356500c5b85a6fdf9577c590fcd637 (diff) | |
wifi: rtlwifi: rtl8192de: Don't read register in _rtl92de_query_rxphystatus
Instead of reading bit 9 of RFPGA0_XA_HSSIPARAMETER2 every time a frame
is received, just use rtlphy->cck_high_power, which is initialised in
_rtl92d_phy_bb_config(). That bit never changes anyway.
With this change _rtl92de_query_rxphystatus() can be shared with the
upcoming USB driver. The USB driver can't read registers in this
function because register reading can sleep.
Compile tested only.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/19a3e023-0eaa-4096-9f78-a2c8e909cb54@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
