Page MenuHomeVyOS Platform

WiFi: Frequency band configuration for Mediatek MT7916AN-based cards
Closed, ResolvedPublicBUG

Description

Motivation:

Cards based on the Mediatek MT7916AN chipset such as AsiaRF's AW7916-NPD and AW7916-AED must be explicitly configured to use either the 6GHz band or the 5GHz band by setting the param enable_6ghz in the module mt7915e. The card may otherwise not work.

Bug:

This setting is not being done in VyOS, despite advertising the card would work out of the box (see T6320). A few months after T6320 was merged, the parameter enable_6ghz was introduced into the module mt7915e (see here) and newer firmware was announced to cease to work unless the parameter was configured. The card may need a full system reboot in order to correctly reload its firmware with the correct settings.

Workaround:

Manually add a file /etc/modprobe.d/mt7915e.conf with the parameter configuration for either 5GHz or 6GHz operation:

# 6GHz
options mt7915e enable_6ghz=1
# 5GHz
#options mt7915e enable_6ghz=0

Details

Version
VyOS 1.5-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)
Forum thread
https://code.opensuse.org/kernel/kernel-source/c/8921f3aa71a145d3d100eeb1f4063798f9344b85?branch=8920233eec9594da2bc2419150f1fcc8fb34459f

Event Timeline

The AsiaRF AW7916-AED is sold by Protectli as WiFi-6e option for their VP2430 and VP2440 router platforms.

PR https://github.com/vyos/vyos-1x/pull/5135

Extended tests with the real hardware showed that when unloading and reloading the mt7915e module, the physical device would change (phy0 --> phy2 and phy1 --> phy3). These increments would happen on every commit on wireless settings. This behavior conflicts with the physical-device settings in the wireless config which would tie a wireless interface to a physical radio.

Therefore, the PR is being reworked.

Viacheslav triaged this task as Normal priority.Apr 22 2026, 2:32 PM
c-po assigned this task to alainlamar.