devices: add renamed Ralink WiFi compatibles - #45
Open
dormancygrace wants to merge 1 commit into
Open
Conversation
OpenWrt renamed six ramips WiFi compatibles from *-wmac to *-wifi when aligning the device trees with Linux 6.18 backports. libiwinfo only recognizes the old names and therefore reports Generic MAC80211 on affected devices. Add the new names while retaining the old entries for compatibility. Link: openwrt/openwrt@6e09394 Signed-off-by: Gleb Pesin <dormancygrace@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenWrt renamed the WiFi compatibles of six ramips SoCs from
*-wmacto*-wifiwhile aligning the device trees with Linux 6.18 backports:openwrt/openwrt@6e09394
The FDT hardware lookup in libiwinfo requires an exact compatible match, but
devices.txtretained only the old names. Affected radios therefore fall back toGeneric MAC80211instead of their Ralink/MediaTek model.Add the new compatible aliases while retaining the old entries for older device trees.
Tested on the OpenWrt v25.12.5 ramips/mt7620 build environment:
git diff --check-wifiand-wmacentry for every affected SoCmake -j12 package/network/utils/iwinfo/compile V=sOn a ZBT WE826, sysfs reports
ralink,rt7620-wifiwhile the kernel detects the RT6352 MAC and RT7620 RF chipset, reproducing the lookup mismatch.