This series removes code only needed for 5 GHz because the r8188eu driver is meant to work with chips that are only capable to operate on 2.4 GHz band with 14 channels. This driver has been (quickly) tested with an ASUS USB N10 Nano, however I think it needs some more testing by more experienced users and programmers. Thanks to Fabio Aiuto <fabioaiuto83@xxxxxxxxx> who gave me the inspiration to address this work, since he made a (more extended) removal of 5 GHz code from rtl8723bs: https://lore.kernel.org/linux-staging/cover.1624367071.git.fabioaiuto83@xxxxxxxxx/. Fabio M. De Francesco (3): staging: r8188eu: Remove all 5GHz network types staging: r8188eu: Remove code related to unsupported channel bandwidths staging: r8188eu: Remove no more necessary definitions and code drivers/staging/r8188eu/core/rtw_ap.c | 13 ++-------- drivers/staging/r8188eu/core/rtw_debug.c | 25 +------------------ drivers/staging/r8188eu/core/rtw_ieee80211.c | 19 +++----------- drivers/staging/r8188eu/core/rtw_ioctl_set.c | 4 +-- drivers/staging/r8188eu/core/rtw_mlme.c | 10 -------- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 13 +++------- drivers/staging/r8188eu/core/rtw_p2p.c | 2 +- drivers/staging/r8188eu/core/rtw_wlan_util.c | 15 ++--------- drivers/staging/r8188eu/hal/odm.c | 20 +++------------ drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 3 --- .../staging/r8188eu/include/Hal8188EPhyCfg.h | 4 --- drivers/staging/r8188eu/include/ieee80211.h | 23 ++--------------- drivers/staging/r8188eu/include/odm.h | 8 ------ .../staging/r8188eu/include/rtl8188e_spec.h | 5 ---- .../staging/r8188eu/include/rtw_mlme_ext.h | 1 - drivers/staging/r8188eu/include/rtw_rf.h | 3 --- drivers/staging/r8188eu/include/wifi.h | 2 +- drivers/staging/r8188eu/include/wlan_bssdef.h | 2 +- 18 files changed, 21 insertions(+), 151 deletions(-) -- 2.32.0