Files
linux/Documentation/ABI/testing
Johnson Tsai 384cc80f30 wifi: rtw89: usb: add serial_number and uuid sysfs attributes for 0x28de:0x2432
Expose the device's Serial Number (SN) and UUID from EFUSE via two
read-only sysfs attributes, `serial_number` and `uuid`, on the ieee80211
phy device under the `rtw89_usb` attribute group.

This hardware identification information is essential for user-space
applications to uniquely identify, track, and manage specific Wi-Fi
adapters. For example, in automated factory provisioning or device
management systems, user-space tools rely on the EFUSE serial number and
UUID to bind configurations to specific physical adapters. Currently,
standard wireless APIs do not expose this low-level hardware
information, making these sysfs nodes the only viable solution for
user space to extract this data.

The attributes are gated behind a new RTW89_QUIRK_HW_INFO_SYSFS quirk,
enabled only for the VID 0x28de / PID 0x2432 device via the
dev_id_quirks field in rtw89_driver_info.

Example usage from user-space:
  $ cat /sys/class/ieee80211/phy0/rtw89_usb/serial_number
  3642000123
  $ cat /sys/class/ieee80211/phy0/rtw89_usb/uuid
  aaec2b7c-0a55-4727-8de0-b30febccbbaa

Cc: Elliot Saba <sabae@valvesoftware.com>
Cc: Charles Lohr <charlesl@valvesoftware.com>
Signed-off-by: Johnson Tsai <wenjie.tsai@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260529075032.16807-3-pkshih@realtek.com
2026-06-03 14:48:22 +08:00
..
2023-08-18 11:28:40 -06:00
2022-07-03 18:08:49 -07:00
2018-02-23 08:17:28 -07:00
2017-10-30 11:46:04 +01:00
2023-08-18 11:28:40 -06:00
2023-08-18 11:28:40 -06:00
2023-08-18 11:28:40 -06:00
2023-08-18 11:28:40 -06:00
2018-03-17 14:20:54 +01:00
2019-06-15 08:12:45 +02:00
2019-06-15 08:12:45 +02:00
2021-12-23 20:23:42 +01:00
2026-03-27 07:35:03 -07:00