[PATCH 00/21] staging: rtl8723b: remove some code related to other chips

Fabio Aiuto
2021-08-07T09:48:19Z

This patchset remove some code related to other chips.
Code related to MCS index values bigger than 7 and
smaller than 32, unsupported multiple spatial streams,
rf paths, rf types.

Some code cleaning in removal sites is done as well.

Tested-on: Lenovo ideapad MiiX 300-10IBY

Fabio Aiuto (21):
staging: rtl8723bs: remove code related to unsupported MCS index
values
staging: rtl8723bs: remove unneeded loop
staging: rtl8723bs: do some code cleaning in modified function
staging: rtl8723bs: move function to file hal/odm_HWConfig.c
staging: rtl8723bs: remove empty files
staging: rtl8723bs: remove wrapping static function
staging: rtl8723bs: beautify function ODM_PhyStatusQuery()
staging: rtl8723bs: fix right side of condition
staging: rtl8723bs: clean driver from unused RF paths
staging: rtl8723bs: remove unused macros
staging: rtl8723bs: remove unused struct member
staging: rtl8723bs: remove rf type branching (first patch)
staging: rtl8723bs: remove rf type branching (second patch)
staging: rtl8723bs: remove rf type branching (third patch)
staging: rtl8723bs: remove rf type branching (fourth patch)
staging: rtl8723bs: remove unused rtw_rf_config module param
staging: rtl8723bs: remove unused macro in include/hal_data.h
staging: rtl8723bs: remove RF_*TX enum
staging: rtl8723bs: use MAX_RF_PATH_NUM as ceiling to rf path index
staging: rtl8723bs: fix tx power tables size
staging: rtl8723bs: remove unused RF_*T*R enum

drivers/staging/rtl8723bs/Makefile | 1 -
drivers/staging/rtl8723bs/core/rtw_ap.c | 8 +-
drivers/staging/rtl8723bs/core/rtw_debug.c | 18 +-
.../staging/rtl8723bs/core/rtw_ieee80211.c | 73 +--
.../staging/rtl8723bs/core/rtw_ioctl_set.c | 6 +-
drivers/staging/rtl8723bs/core/rtw_mlme.c | 36 +-
.../staging/rtl8723bs/core/rtw_wlan_util.c | 38 +-
.../staging/rtl8723bs/hal/HalHWImg8723B_BB.c | 17 +-
.../staging/rtl8723bs/hal/HalHWImg8723B_RF.c | 86 +---
drivers/staging/rtl8723bs/hal/HalPhyRf.c | 52 +-
.../staging/rtl8723bs/hal/HalPhyRf_8723B.c | 164 +++----
drivers/staging/rtl8723bs/hal/hal_com.c | 165 +------
.../staging/rtl8723bs/hal/hal_com_phycfg.c | 446 +++---------------
drivers/staging/rtl8723bs/hal/odm.c | 52 +-
drivers/staging/rtl8723bs/hal/odm.h | 25 -
.../staging/rtl8723bs/hal/odm_CfoTracking.c | 36 +-
.../staging/rtl8723bs/hal/odm_CfoTracking.h | 2 +-
drivers/staging/rtl8723bs/hal/odm_DIG.c | 3 +-
drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 341 ++++++-------
drivers/staging/rtl8723bs/hal/odm_HWConfig.h | 29 +-
.../staging/rtl8723bs/hal/odm_NoiseMonitor.c | 23 +-
drivers/staging/rtl8723bs/hal/odm_RTL8723B.c | 36 --
drivers/staging/rtl8723bs/hal/odm_RTL8723B.h | 14 -
.../rtl8723bs/hal/odm_RegConfig8723B.c | 7 +-
.../rtl8723bs/hal/odm_RegConfig8723B.h | 11 +-
.../staging/rtl8723bs/hal/odm_RegDefine11N.h | 2 -
drivers/staging/rtl8723bs/hal/odm_precomp.h | 1 -
drivers/staging/rtl8723bs/hal/odm_reg.h | 4 -
drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 10 -
.../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 19 +-
.../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 42 +-
.../staging/rtl8723bs/hal/rtl8723b_rf6052.c | 21 +-
.../staging/rtl8723bs/hal/rtl8723bs_recv.c | 2 +-
drivers/staging/rtl8723bs/hal/sdio_halinit.c | 2 -
.../rtl8723bs/include/Hal8192CPhyReg.h | 4 -
drivers/staging/rtl8723bs/include/HalVerDef.h | 18 -
drivers/staging/rtl8723bs/include/drv_types.h | 1 -
drivers/staging/rtl8723bs/include/hal_com.h | 35 +-
.../rtl8723bs/include/hal_com_phycfg.h | 20 +-
.../staging/rtl8723bs/include/hal_com_reg.h | 19 -
drivers/staging/rtl8723bs/include/hal_data.h | 24 +-
drivers/staging/rtl8723bs/include/hal_pg.h | 8 +-
drivers/staging/rtl8723bs/include/hal_phy.h | 3 +-
drivers/staging/rtl8723bs/include/ieee80211.h | 26 +-
.../staging/rtl8723bs/include/rtl8723b_xmit.h | 8 -
drivers/staging/rtl8723bs/include/rtw_rf.h | 10 -
.../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 23 +-
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 4 -
48 files changed, 501 insertions(+), 1494 deletions(-)
delete mode 100644 drivers/staging/rtl8723bs/hal/odm_RTL8723B.c
delete mode 100644 drivers/staging/rtl8723bs/hal/odm_RTL8723B.h

--
2.20.1