morrownr / 88x2bu-20210702

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(solved) 88x2bu and RHEL 9.3

sjtmbg opened this issue · comments

@misha4gps:

@morrownr suggested I contact you about creating a test pull request for a mod for RHEL 9.3.

I added "defined(RHEL92)" in a couple places in ioctl_cfg80211.c that gets it to compile and seems to work. Let me know if you see this and we can discuss details either here or off-line...

@sjtmbg > I added "defined(RHEL92)" in a couple places in ioctl_cfg80211.c

Could you be a bit more specific? I'm hitting this same compiling problem

commented

@aki-k @sjtmbg

I might be able to help:

cd /usr/lib/modules/6.5.0-0.deb12.1-amd64/kernel/drivers/net/wireless/mediatek/mt76
ls -l

What do you see?

I don't know if RHEL or Rocky include the in-kernel drivers but, if they do, that might be the direction you want to go.

@morrownr

@aki-k

@sjtmbg > I added "defined(RHEL92)" in a couple places in ioctl_cfg80211.c

Could you be a bit more specific? I'm hitting this same compiling problem

Sorry, I opened the issue in order to work on getting a patch in place in github. As a quick fix this should work for os_dep/linux/ioctl_cfg80211.c:

468c468
< #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
---
> #if ((LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) || defined(RHEL92))
487c487
< #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
---
> #if ((LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) || defined(RHEL92))

But this might break other RHEL versions so more work needs to be done

I added PR#192 with rhel9.3 support
be so kind to test the PR

commented

@misha4gps

PR has been merged. Big thanks.

@aki-k @sjtmbg

Please test and report. Regards.

@morrownr

@morrownr Thank you all. Now the TP-Link Archer T3U is working in Rocky Linux 9.3.

Kernel 5.14.0-362.8.1.el9_3.x86_64