Remove unsupported modes a and 5G to shorten code. Change variable names to align with rtlwifi driver as requested in TODO. Tested with rtl8192e (WLL6130-D99) in Modes b, g, n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. Philipp Hortmann (9): staging: rtl8192e: Remove variable stats->freq as it is constant staging: rtl8192e: Remove unsupported modes IEEE_N_5G and IEEE_A staging: rtl8192e: Rename constant IEEE_x to WIRELESS_MODE_x staging: rtl8192e: Remove unused enum led_ctl_mode staging: rtl8192e: Rename rtllib_state to rtl_link_state staging: rtl8192e: Rename state to link_state staging: rtl8192e: Rename RTLLIB_NOLINK to MAC80211_NOLINK staging: rtl8192e: Rename RTLLIB_LINKED to MAC80211_LINKED staging: rtl8192e: Rename RTLLIB_LINKED_SCANNING .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 24 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 41 +++--- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 18 +-- .../staging/rtl8192e/rtl8192e/rtl_ethtool.c | 4 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 4 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 12 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 +- drivers/staging/rtl8192e/rtllib.h | 37 +----- drivers/staging/rtl8192e/rtllib_rx.c | 43 +++--- drivers/staging/rtl8192e/rtllib_softmac.c | 122 +++++++++--------- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 18 +-- drivers/staging/rtl8192e/rtllib_tx.c | 2 +- drivers/staging/rtl8192e/rtllib_wx.c | 4 +- 13 files changed, 146 insertions(+), 191 deletions(-) -- 2.40.1