[PATCH 0/2] staging: rtl8192e: Use standard api to calculate frequency <-> channel

From: Philipp Hortmann
Date: Thu Jun 08 2023 - 02:52:18 EST


Use standard api to calculate frequency to channel and channel to
frequency. Usage of cfg80211 is required to merge driver into wireless
subsystem.

---
Tested with rtl8192e (WLL6130-D99)
Transferred this patch over wlan connection of rtl8192e

Philipp Hortmann (2):
staging: rtl8192e: Use standard api to calculate frequency to channel
staging: rtl8192e: Use standard api to calculate channel to frequency

drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 6 ++++--
drivers/staging/rtl8192e/rtllib.h | 2 --
drivers/staging/rtl8192e/rtllib_softmac_wx.c | 22 +++-----------------
3 files changed, 7 insertions(+), 23 deletions(-)

--
2.40.1