[GH-ISSUE #68] [Bug]: Compile Issue on Kernel 7.1 (Huge code change) Fixed #56

Open
opened 2026-10-13 19:33:41 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @cybersnow02 on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/morrownr/8812au-20210820/issues/68

Checklist

  • I am not using this driver from inside a Virtual Machine.
  • I performed all of the installation steps as written.
  • I have read the FAQ and my question is not answered there.

Is Secure Boot enabled?

None

uname

7.1.3+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.1.3-1~bpo13+1 (2026-07-12) x86_64 GNU/Linux

lsusb

N/A

rfkill

N/A

dkms

N/A

iw

N/A

git status

N/A

install-driver.sh

N/A

What happened?

The 8812au driver needs alot of code change to make it work on kernel 7.1. I already made all the changes and I'm able to compile it successfully.

Here are the changes:

The makefile need "CONFIG_BR_EXT = n"
Then, the file "ioctl_cfg80211.c" needs alot of change (see attachment)

EDIT: Fixed. see below

Originally created by @cybersnow02 on GitHub (Jul 27, 2026). Original GitHub issue: https://github.com/morrownr/8812au-20210820/issues/68 ### Checklist - [x] I am not using this driver from inside a Virtual Machine. - [x] I performed all of the [installation steps](/README.md#installation-steps) as written. - [x] I have read the [FAQ](/FAQ.md) and my question is not answered there. ### Is Secure Boot enabled? None ### uname 7.1.3+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.1.3-1~bpo13+1 (2026-07-12) x86_64 GNU/Linux ### lsusb N/A ### rfkill N/A ### dkms ```text N/A ``` ### iw ```text N/A ``` ### git status ```text N/A ``` ### install-driver.sh ```text N/A ``` ### What happened? The 8812au driver needs alot of code change to make it work on kernel 7.1. I already made all the changes and I'm able to compile it successfully. Here are the changes: The makefile need "CONFIG_BR_EXT = n" Then, the file "ioctl_cfg80211.c" needs alot of change (see attachment) EDIT: Fixed. see below
Author
Owner

@cybersnow02 commented on GitHub (Jul 27, 2026):

The "Makefile" needs those changes:
CONFIG_BR_EXT = n
CONFIG_RTW_DEBUG = n

the file "ioctl_cfg80211.c" needs alot of change (see attachment)

ioctl_cfg80211.c

For the latest release for Kernel 7.1, see: https://github.com/cybersnow02/8812au-20210820/releases/tag/8812au-Kernel-7.1

<!-- gh-comment-id:5095261263 --> @cybersnow02 commented on GitHub (Jul 27, 2026): The "Makefile" needs those changes: CONFIG_BR_EXT = n CONFIG_RTW_DEBUG = n the file "ioctl_cfg80211.c" needs alot of change (see attachment) [ioctl_cfg80211.c](https://github.com/user-attachments/files/30428752/ioctl_cfg80211.c) For the latest release for Kernel 7.1, see: https://github.com/cybersnow02/8812au-20210820/releases/tag/8812au-Kernel-7.1
Author
Owner

@giuliobenetti commented on GitHub (Sep 11, 2026):

The "Makefile" needs those changes: CONFIG_BR_EXT = n CONFIG_RTW_DEBUG = n

the file "ioctl_cfg80211.c" needs alot of change (see attachment)

ioctl_cfg80211.c

For the latest release for Kernel 7.1, see: https://github.com/cybersnow02/8812au-20210820/releases/tag/8812au-Kernel-7.1

You've made a big work, why don't you open a PR?

<!-- gh-comment-id:5638613827 --> @giuliobenetti commented on GitHub (Sep 11, 2026): > The "Makefile" needs those changes: CONFIG_BR_EXT = n CONFIG_RTW_DEBUG = n > > the file "ioctl_cfg80211.c" needs alot of change (see attachment) > > [ioctl_cfg80211.c](https://github.com/user-attachments/files/30428752/ioctl_cfg80211.c) > > For the latest release for Kernel 7.1, see: https://github.com/cybersnow02/8812au-20210820/releases/tag/8812au-Kernel-7.1 You've made a big work, why don't you open a PR?
Author
Owner

@cybersnow02 commented on GitHub (Sep 13, 2026):

@giuliobenetti it's up to @morrownr to update his own repo. I think he doesn't want to update it anymore so opening a PR is useless. You can follow my Repo/Fork if you want. I let people know that my Repo exists in case they update their kernel one day and encounter issues (and want to keep the original Realtek driver for good know reasons). thanks.

<!-- gh-comment-id:5654873201 --> @cybersnow02 commented on GitHub (Sep 13, 2026): @giuliobenetti it's up to @morrownr to update his own repo. I think he doesn't want to update it anymore so opening a PR is useless. You can follow my Repo/Fork if you want. I let people know that my Repo exists in case they update their kernel one day and encounter issues (and want to keep the original Realtek driver for good know reasons). thanks.
Author
Owner

@morrownr commented on GitHub (Sep 13, 2026):

@cybersnow02

I am willing to merge PRs that have been well tested. I'd prefer to see at least two people testing. I am unable to put in the time that I used to because of health reasons.

Another reason to consider is that for most people, this driver not required anymore. I helped with the effort to get the in-kernel version of the driver for rtl8812au in the kernel. It is a much better driver so it is not clear to me why anyone would want to install this driver.

<!-- gh-comment-id:5655385255 --> @morrownr commented on GitHub (Sep 13, 2026): @cybersnow02 I am willing to merge PRs that have been well tested. I'd prefer to see at least two people testing. I am unable to put in the time that I used to because of health reasons. Another reason to consider is that for most people, this driver not required anymore. I helped with the effort to get the in-kernel version of the driver for rtl8812au in the kernel. It is a much better driver so it is not clear to me why anyone would want to install this driver.
Sign in to join this conversation.
No labels
bug
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morrownr/8812au-20210820#56
No description provided.