kernel 6.4 checked and working
This commit is contained in:
parent
f0a2c9c740
commit
dd3974b69b
11
FAQ.md
11
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,
|
Question: Were compromises made to make this work on EL8 (RHEL, CentOS,
|
||||||
Rocky, etc) distributions?
|
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
|
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
|
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
|
(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.
|
Station mode have been tested.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
34
README.md
34
README.md
@ -60,7 +60,7 @@ confirm that this is the correct driver for your adapter.
|
|||||||
### Compatible Kernels
|
### Compatible Kernels
|
||||||
|
|
||||||
- Kernels: 4.19 - 5.11 (Realtek)
|
- Kernels: 4.19 - 5.11 (Realtek)
|
||||||
- Kernels: 5.12 - 6.3 (community support)
|
- Kernels: 5.12 - 6.4 (community support)
|
||||||
|
|
||||||
### Tested Compilers
|
### 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)
|
- [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)
|
- [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)
|
- [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
|
- Rocky 9.1 (kernel 5.14.0-162.23.1)
|
||||||
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.
|
|
||||||
|
|
||||||
Note: Android is supported in the driver according to Realtek. I will support
|
Note: Red Hat Enterprise Linux (RHEL) and distros based on RHEL are
|
||||||
knowledgable Android developers if they want to merge and keep current the
|
supported by Red Hat devs due to the way kernel patches are handled in
|
||||||
required support (most likely just instructions about how to compile and make
|
Red Hat. I support knowledgable RHEL developers if they want to merge
|
||||||
a modification or two to the Makefile).
|
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
|
### Compatible Devices
|
||||||
|
|
||||||
@ -124,7 +126,7 @@ a modification or two to the Makefile).
|
|||||||
* NetGear A6150
|
* NetGear A6150
|
||||||
* TRENDnet TEW-808UBM
|
* TRENDnet TEW-808UBM
|
||||||
* jjPlus WMU6202 miniPCIe - USB
|
* 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,
|
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
|
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
|
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
|
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
|
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
|
command in an effort to determine if you need to take action to manually
|
||||||
remove conflicting drivers:
|
remove conflicting drivers:
|
||||||
|
|
||||||
@ -159,8 +161,8 @@ sudo dkms status
|
|||||||
|
|
||||||
Warning: If you decide to do a distro upgrade, which will likely install a
|
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
|
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
|
with the newest available code before performing the disto upgrade. Use
|
||||||
following commands in the driver directory:
|
the following commands in the driver directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
git pull
|
git pull
|
||||||
|
@ -295,7 +295,7 @@ static void rtw_get_chbw_from_cfg80211_chan_def(struct cfg80211_chan_def *chdef,
|
|||||||
rtw_warn_on(1);
|
rtw_warn_on(1);
|
||||||
*ch = 0;
|
*ch = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (chdef->width) {
|
switch (chdef->width) {
|
||||||
case NL80211_CHAN_WIDTH_20_NOHT:
|
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)
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE)
|
||||||
|| (MLME_IS_STA(adapter) && !pairwise)
|
|| (MLME_IS_STA(adapter) && !pairwise)
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
/* WEP key, TX GTK/IGTK, RX GTK/IGTK(for STA mode) */
|
/* WEP key, TX GTK/IGTK, RX GTK/IGTK(for STA mode) */
|
||||||
if (is_wep_enc(sec->dot118021XGrpPrivacy)) {
|
if (is_wep_enc(sec->dot118021XGrpPrivacy)) {
|
||||||
if (keyid >= WEP_KEYS)
|
if (keyid >= WEP_KEYS)
|
||||||
@ -2247,7 +2247,7 @@ static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
RTW_INFO(FUNC_NDEV_FMT
|
RTW_INFO(FUNC_NDEV_FMT
|
||||||
GET_KEY_PARAM_FMT_S
|
GET_KEY_PARAM_FMT_S
|
||||||
|
@ -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:
|
To determine your Device ID:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user