diff --git a/FAQ.md b/FAQ.md index 8867f22..474b1ec 100644 --- a/FAQ.md +++ b/FAQ.md @@ -158,6 +158,15 @@ dtoverlay=disable-wifi ----- +Question: After `sudo apt upgrade`, my 32 Bit Raspberry Pi OS runs on a 64 bit +kernel and now I can't compile an out-of-kernel Realtek driver. + +Answer: See: + +https://forums.raspberrypi.com/viewtopic.php?p=2091532&hilit=Tp+link#p2091532 + +----- + Question: Were compromises made to make this work on EL8 (RHEL, CentOS, Rocky, etc) distributions? @@ -168,7 +177,7 @@ driver contains a significant hack that ignores the current link state of the adapter when transmitting or receiving frames. This matches the behavior of ancient drivers for other chipsets that do work on EL 8.6 (as they do not check link status at all), but is really a kludge to -work around a station accounting issue on these kernels. Only Ad-Hoc and +work around a station accounting issue on these kernels. Only Ad-Hoc and Station mode have been tested. ----- diff --git a/README.md b/README.md index 08873c8..3ad42b3 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ confirm that this is the correct driver for your adapter. ### Compatible Kernels - Kernels: 4.19 - 5.11 (Realtek) -- Kernels: 5.12 - 6.3 (community support) +- Kernels: 5.12 - 6.4 (community support) ### Tested Compilers @@ -77,7 +77,7 @@ be provided via PR or message in Issues. - [Debian](https://www.debian.org/) (kernels 5.10 and 5.15) -- [Fedora](https://getfedora.org) (kernel 6.0) +- [Fedora](https://getfedora.org) Fedora 38 (6.2.13-300) - [Kali Linux](https://www.kali.org/) (kernel 5.10) @@ -95,18 +95,20 @@ be provided via PR or message in Issues. - [Void Linux](https://voidlinux.org/) (kernel 5.18) -- RHEL 8.4 and 8.6 (kernel 4.18.0) +- RHEL 8.4 and 8.6 (kernel 4.18.0), 9.1 ( kernel 5.14.0-162.23.1) -Note: Red Hat Enterprise Linux (RHEL) and distros based on RHEL are not -supported due to the way kernel patches are handled. I will support -knowledgable RHEL developers if they want to merge the required -support and keep it current. I reserve the right to delete this support -if it causes any problems. +- Rocky 9.1 (kernel 5.14.0-162.23.1) -Note: Android is supported in the driver according to Realtek. I will support -knowledgable Android developers if they want to merge and keep current the -required support (most likely just instructions about how to compile and make -a modification or two to the Makefile). +Note: Red Hat Enterprise Linux (RHEL) and distros based on RHEL are +supported by Red Hat devs due to the way kernel patches are handled in +Red Hat. I support knowledgable RHEL developers if they want to merge +the required support and keep it current. I reserve the right to delete +this support without notice if it causes any problems. + +Note: Android is supported in the driver according to Realtek. I will +support knowledgable Android developers if they want to merge and keep +current the required support (most likely just instructions about how to +compile and maybe a modification or two to the Makefile). ### Compatible Devices @@ -124,7 +126,7 @@ a modification or two to the Makefile). * NetGear A6150 * TRENDnet TEW-808UBM * jjPlus WMU6202 miniPCIe - USB -- Numerous adapters that are based on the supported chipsets +- Numerous additional adapters that are based on the supported chipsets Note: If you are looking for information about what adapter to buy, click [here](https://github.com/morrownr/USB-WiFi) and look for Main Menu @@ -149,7 +151,7 @@ Warning: Installing multiple out-of-kernel drivers for the same hardware usually does not end well. The install-driver.sh script has the capability to detect and remove many conflicting drivers but not all. If this driver does not work well after installation and you have previously installed a -driver that you did not remove, it suggested that you run the following +driver that you did not remove, it is suggested that you run the following command in an effort to determine if you need to take action to manually remove conflicting drivers: @@ -159,8 +161,8 @@ sudo dkms status Warning: If you decide to do a distro upgrade, which will likely install a new version of kernel such as 5.15 to 6.1, you need to upgrade this driver -with the newest available before performing the disto upgrade. Use the -following commands in the driver directory: +with the newest available code before performing the disto upgrade. Use +the following commands in the driver directory: ``` git pull diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index 0b9a78c..f5a6b63 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -295,7 +295,7 @@ static void rtw_get_chbw_from_cfg80211_chan_def(struct cfg80211_chan_def *chdef, rtw_warn_on(1); *ch = 0; return; - } + } switch (chdef->width) { case NL80211_CHAN_WIDTH_20_NOHT: @@ -2135,7 +2135,7 @@ static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE) || (MLME_IS_STA(adapter) && !pairwise) #endif - ) { + ) { /* WEP key, TX GTK/IGTK, RX GTK/IGTK(for STA mode) */ if (is_wep_enc(sec->dot118021XGrpPrivacy)) { if (keyid >= WEP_KEYS) @@ -2247,7 +2247,7 @@ static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev } ret = 0; - + exit: RTW_INFO(FUNC_NDEV_FMT GET_KEY_PARAM_FMT_S diff --git a/supported-device-IDs b/supported-device-IDs index 956ca4d..3102d48 100644 --- a/supported-device-IDs +++ b/supported-device-IDs @@ -1,4 +1,4 @@ -USB Vendor and Device ID List for rtl88x2bu chipset based USB WiFi Adapters +USB Vendor and Device ID List for rtl8812bu and rtl8822bu chipset based USB WiFi Adapters To determine your Device ID: