The short answer is "no", there is still no proper sysfs interface for WiFi in Linux. [Last checked: Linux 5.10]. But that doesn't mean you're out of luck. The information is exposed to the user through a C API called "nl80211", so all you need is a program which can extract the information you want. I recommend wavemon which has a curses interface which shows information in realtime:
┌─Interface──────────────────────────────────────────────────────────────────────────────────────────────────┐
│wlan0 (IEEE 802.11), phy 0, reg: n/a, SSID: Fifi's HiFi WiFi │
├─Levels─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ │
│link quality: 54% (38/70) │
│========================================================== │
│ │
│ │
│signal level: -72 dBm (0.06 nW) │
│================================= │
│ │
├─Statistics─────────────────────────────────────────────────────────────────────────────────────────────────┤
│RX: 80k (53.26 MiB), drop: 12 (0.0%) │
│TX: 88k (31.45 MiB), retries: 8k (9.7%) │
├─Info───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│mode: Managed, connected to: 74:DA:88:42:CA:FE, time: 27:45m, inactive: 0.0s │
│freq: 5785 MHz, ctr1: 5775 MHz, channel: 157 (width: 80 MHz) │
│rx rate: 234.0 Mbit/s VHT-MCS 5 80MHz VHT-NSS 1, tx rate: 260.0 Mbit/s VHT-MCS 3 80MHz short GI VHT-NSS 2 │
│beacons: 16020, lost: 298, avg sig: -69 dBm, interval: 0.1s, DTIM: 1 │
│power mgt: on, tx-power: 22 dBm (158.49 mW) │
│retry: short limit 7, rts/cts: off, frag: off │
├─Network────────────────────────────────────────────────────────────────────────────────────────────────────┤
│wlan0 (UP RUNNING BROADCAST MULTICAST) │
│mac: 34:C9:3D:CC:DD:EE, qlen: 1000 │
│ip: 192.168.9.167/24 │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
F1 info F2 lhist F3 scan F7 prefs F8 help F9 about F10 quit
That's a lot of data, but if you examine the Info section you'll find what you're looking for:
tx rate: 260.0 Mbit/s VHT-MCS 3 80MHz short GI VHT-NSS 2
That's the wireless connection rate of the MAC layer, which is exactly what /sys/class/net/wlan0/speed¹ ought to show.
¹ Okay, technically, it ought to be speedtx and speedrx since WiFi is asymmetrical.