Re: [PATCH wireless-next] wifi: cfg80211: add fw_version device attribute for sysfs
From: Rory Little
Date: Thu Jul 30 2026 - 14:35:20 EST
On 7/28/26 10:32 PM, Rory Little wrote:
On 7/28/26 18:34, Jeff Johnson wrote:
On 7/28/2026 4:47 PM, Rory Little wrote:
The firmware version is already exposed via ethtool, but is notCurious what is the value?
accessible without an attached interface to create a netdev. Expose this
info in sysfs to allow users to query it without the use of ethtool.
Here are some that I have seen:
10.4-ct-9984-xtH-011-33ec52c8
____000000-20251118163234
____000000-20251015213023
DEV_000000-20240823172837
DEV_000000-20220929104205
89.7207fc64.0 ty-a0-gf-a0-89.uc
Top one is ath10k with CT firmware, next four are an assortment of Mediatek radios, bottom is Intel.
I just realized that I misinterpreted what you were asking about here. Sorry about that.
The value of an interface to query fw_version for us is to keep track of system info and generate valuable bug reports (we do our own firmware packaging, and certain issues that we encounter can be solved by changing firmware version). This particular commit was motivated by the desire to be able to query it in any system configuration, as we were hitting a case where it needed to be queried while no interfaces were attached to the phy (thereby preventing ethtool use).
- Rory