[PATCH v2 0/8] staging: rtl8192e: Use standard functions like ieee80211_is_beacon()

From: Philipp Hortmann
Date: Tue Sep 12 2023 - 15:28:04 EST


Remove useless equation in debug output.
Use standard functions like ieee80211_is_beacon().
Optimize code for improved readability.

Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s)
Transferred this patch over wlan connection of rtl8192e.

---
v1->v2: Only patch 4/8 was changed
Take wrongly removed definition of fc back in.


Philipp Hortmann (8):
staging: rtl8192e: Remove useless equation in debug output
staging: rtl8192e: Use standard ieee80211 function in rtllib_rx_mgt()
staging: rtl8192e: Use standard function in
rtllib_process_probe_response()
staging: rtl8192e: Use standard function in
rtllib_rx_check_duplicate()
staging: rtl8192e: Use standard function in softmac_mgmt_xmit()
staging: rtl8192e: Replace rtl92e_disable_irq with rtl92e_irq_disable
staging: rtl8192e: Replace rtl92e_enable_irq with rtl92e_irq_enable
staging: rtl8192e: Remove rtllib_get_payload()

.../staging/rtl8192e/rtl8192e/r8192E_dev.c | 6 +--
.../staging/rtl8192e/rtl8192e/r8192E_dev.h | 2 -
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 18 -------
drivers/staging/rtl8192e/rtllib.h | 24 ---------
drivers/staging/rtl8192e/rtllib_rx.c | 53 ++++++-------------
drivers/staging/rtl8192e/rtllib_softmac.c | 11 +---
6 files changed, 22 insertions(+), 92 deletions(-)

--
2.42.0