Re: [PATCH wireless-next] wifi: cfg80211: add fw_version device attribute for sysfs
From: Jeff Johnson
Date: Tue Jul 28 2026 - 21:34:39 EST
On 7/28/2026 4:47 PM, Rory Little wrote:
> The firmware version is already exposed via ethtool, but is not
> 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.
Curious what is the value?
It looks like many drivers, including ath11k and ath12k, do not populate this.
And this attribute is pointless for Wi-Fi 7 drivers supporting MLO with
multiple underlying hardware running different firmware images. I suspect
there are a few wiphy attributes that have this issue.
You'd need to instantiate these attribute on a per-radio basis to properly
handle the new multi-radio wiphy model.
/jeff