[Patch / Quirk Request] rtw89 (RTL8852BE): Permanent hardware rfkill block on MAIBENBEN Medio Series (M16C)

Open
#1,092 0 comments 0 reactions 2 assignees View on GitHub

@ptr1337 is already working on this.

Since Oct 21, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement
Pre-flight checklist
  • I have searched existing issues/PRs and this has not been requested before.
  • I have read the Contributing Guidelines.
Request type
  • New patch / patchset inclusion
  • Kernel config change (enable/disable option)
  • New kernel variant
  • Scheduler tuning / addition
  • Compiler / LTO / PGO optimization
  • Security hardening
  • Driver or hardware enablement
  • Other
Summary

On the MAIBENBEN Medio Series (board: M16C) laptop equipped with a Realtek RTL8852BE Wi-Fi card (10ec:b852, Subsystem AzureWave 1a3b:5470), the rtw89 driver permanently reports a hardware rfkill block upon initialization, making Wi-Fi completely unusable out of the box.

Because of an inverted/unconnected hardware GPIO pin on this motherboard (M16C), rtw89_core immediately triggers hardware rfkill during probe:

dmesg output: rtw89_8852be 0000:01:00.0: rfkill hardware state changed to disable
rfkill list all output: Hard blocked: yes (cannot be unblocked via rfkill unblock or Fn keys).

Forcing rtw89_chip_has_rfkill() in drivers/net/wireless/realtek/rtw89/core.c to return false completely resolves the issue: Wi-Fi and Bluetooth work flawlessly without any side effects.
Hardware & System Information

Kernel: 7.3.0-2-cachyos (also reproducible on 7.2.x and 6.18 LTS)
DMI Information:
    sys_vendor: MAIBENBEN
    product_name: Medio Series
    product_family: Medio Series
    board_vendor: MAIBENBEN
    board_name: M16C
    bios_version: T163PHXP_V1212
PCI Information (lspci -nnk):

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller [10ec:b852]
Subsystem: AzureWave Device [1a3b:5470]
Kernel driver in use: rtw89_8852be
Kernel modules: rtw89_8852be

Proposed Solution / Patch
Could you please add a DMI quirk for MAIBENBEN / M16C (and optionally a disable_rfkill module parameter for other affected OEM laptops) to drivers/net/wireless/realtek/rtw89/core.c?

Here is a minimal patch that implements both the automatic DMI quirk for this laptop and an optional rtw89_core.disable_rfkill=1 module parameter:

--- a/drivers/net/wireless/realtek/rtw89/core.c
+++ b/drivers/net/wireless/realtek/rtw89/core.c
@@ -4,6 +4,7 @@

#include <linux/ip.h>
#include <linux/udp.h>
+#include <linux/dmi.h>

#include "cam.h"
#include "chan.h"
@@ -36,6 +37,26 @@ module_param_named(disable_ps_mode, rtw89_disable_ps_mode, bool, 0644);
MODULE_PARM_DESC(disable_ps_mode, "Y to disable low power mode");

+static bool rtw89_disable_rfkill;
+module_param_named(disable_rfkill, rtw89_disable_rfkill, bool, 0644);
+MODULE_PARM_DESC(disable_rfkill, "Y to disable hardware rfkill polling");
+
+static const struct dmi_system_id rtw89_rfkill_quirk_table[] = {
+	{
+		.ident = "MAIBENBEN Medio Series M16C",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MAIBENBEN"),
+			DMI_MATCH(DMI_BOARD_NAME, "M16C"),
+		},
+	},
+	{}
+};
+
static const struct ieee80211_channel rtw89_channels_2ghz[] = {
  { .band = NL80211_BAND_2GHZ, .center_freq = 2412, .hw_value = 1, },
@@ -7215,6 +7236,9 @@ static void rtw89_core_rfkill_poll(struct ieee80211_hw *hw)

static bool rtw89_chip_has_rfkill(struct rtw89_dev *rtwdev)
{
+	if (rtw89_disable_rfkill || dmi_check_system(rtw89_rfkill_quirk_table))
+		return false;
+
  return !!rtwdev->chip->rfkill_init;
}



### Motivation / use case

resolves the issue with Wi-Fi 

### Patch / upstream reference (if available)

_No response_

### Testing / benchmarks

_No response_

### Additional context

_No response_
Dominant language
Shell
Stars
4.9k
Forks
190
Avg merge
1d 3h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/linux-cachyos

All issues in CachyOS/linux-cachyos

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.