[PATCH 0/8] staging: r8188eu: more rf cleanups

From: Martin Kaiser
Date: Sat Feb 05 2022 - 06:38:08 EST


Here's another set with cleanups of the rf configuration code.

The last of the patches is "testing the water". It seems that this driver
uses only RF_PATH_A and we can eventually drop all RF_PATH_B handling. At
the moment, the only way to access RF_PATH_B registers is via private
ioctls. I'd like to restrict them to path A.

As usual, this series was t ested with EdimaxV2 on an arm32 embedded system.

Martin Kaiser (8):
staging: r8188eu: TXPowercount is set but not used
staging: r8188eu: TXPowerTrackingCallbackCnt is set but not used
staging: r8188eu: bTXPowerTrackingInit is set but not used
staging: r8188eu: bTXPowerTracking is set but not used
staging: r8188eu: remove constant rf variable
staging: r8188eu: RfRegChnlVal[1] is set but not used
staging: r8188eu: use a define for the radio path
staging: r8188eu: limit rf register writes to path a

drivers/staging/r8188eu/hal/HalPhyRf_8188e.c | 24 ++++++-------------
drivers/staging/r8188eu/hal/odm.c | 3 ---
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 4 ++--
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 8 +++----
drivers/staging/r8188eu/hal/usb_halinit.c | 3 +--
drivers/staging/r8188eu/include/odm.h | 4 ----
.../staging/r8188eu/include/rtl8188e_hal.h | 2 +-
drivers/staging/r8188eu/os_dep/ioctl_linux.c | 3 +++
8 files changed, 18 insertions(+), 33 deletions(-)

--
2.30.2