[PATCH v2 0/8] staging: r8188eu: SetHwReg8188EU() cleanups

Michael Straube
2022-03-29T20:21:57Z

This series removes some cases from the function SetHwReg8188EU()
and moves the functionality to the callers. This is part of the
ongoing effort to get rid of the unwanted hal layer.

Tested on x86_64 with Inter-Tech DMG-02.

v2:
Moved some code into functions.
The series is based on todays staging-testing.

Michael Straube (8):
staging: r8188eu: remove HW_VAR_RESP_SIFS from SetHwReg8188EU()
staging: r8188eu: remove HW_VAR_MLME_DISCONNECT from SetHwReg8188EU()
staging: r8188eu: rename some macros to upper case
staging: r8188eu: remove HW_VAR_ACM_CTRL from SetHwReg8188EU()
staging: r8188eu: remove HW_VAR_RXDMA_AGG_PG_TH from SetHwReg8188EU()
staging: r8188eu: simplify if-else statement
staging: r8188eu: remove HW_VAR_TX_RPT_MAX_MACID from SetHwReg8188EU()
staging: r8188eu: remove HW_VAR_BCN_VALID from SetHwReg8188EU()

drivers/staging/r8188eu/core/rtw_mlme.c | 36 ++++++-----
drivers/staging/r8188eu/core/rtw_mlme_ext.c | 31 +++++++--
drivers/staging/r8188eu/core/rtw_wlan_util.c | 38 +++++++++--
drivers/staging/r8188eu/hal/rtl8188e_cmd.c | 5 +-
drivers/staging/r8188eu/hal/usb_halinit.c | 63 -------------------
drivers/staging/r8188eu/include/hal_intf.h | 5 --
.../staging/r8188eu/include/rtl8188e_spec.h | 10 +--
drivers/staging/r8188eu/include/rtw_mlme.h | 1 +
.../staging/r8188eu/include/rtw_mlme_ext.h | 1 +
9 files changed, 87 insertions(+), 103 deletions(-)

--
2.35.1