Re: [PATCH wireless-next] wifi: cfg80211: add fw_version device attribute for sysfs

Jeff Johnson <[email protected]>
Newsgroups org.kernel.vger.linux-wireless,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.