[RESPONDED] Framework 13 AMD Linux slow WIFI

This is what my wavemon output looks like

┌─Interface─────────────────────────────────────────────────────────────────────────┐
│wlan0 - wdev 2, phy 0, reg: IE (DFS-ETSI), SSID: redacted                       │
├─Levels────────────────────────────────────────────────────────────────────────────┤
│                                                                                   │
│link quality: 49%  (34/70)                                                         │
│========================================                                           │
│                                                                                   │
│                                                                                   │
│signal level: -76 dBm (0.03 nW)                                                    │
│======================                                                             │
│                                                                                   │
├─Packet Counts─────────────────────────────────────────────────────────────────────┤
│RX: 120k (138.73 MiB), drop: 312 (0.26%)                                           │
│TX: 58k (12.00 MiB), retries: 3k (5.82%)                                           │
├─Info──────────────────────────────────────────────────────────────────────────────┤
│mode: Managed, connected to: redacted, time: 1:16h, inactive: 67ms        │
│freq: 5180 MHz, ctr1: 5210 MHz, channel: 36 (width: 80 MHz), bands: 2              │
│beacons: 42783, avg sig: -77 dBm, interval: 0.1s, DTIM: 1                          │
│rx rate: 27.0 MBit/s VHT-MCS 1 40MHz VHT-NSS 1                                     │
│tx rate: 43.3 MBit/s VHT-MCS 2 short GI VHT-NSS 2                                  │
│tx power: 22 dBm (158.49 mW), power save: off                                      │
│retry short/long: 7/4, rts/cts: off, frag: off                                     │
├─Network───────────────────────────────────────────────────────────────────────────┤
│wlan0 #3 (UP RUNNING BROADCAST MULTICAST)                                          │
│mode: dormant, qdisc: noqueue, qlen: 1000                                          │
│mac: redacted                                                            │
│ip4: redacted, valid: 2d 22h                                                │
│ip6: redacted, valid: 59:27m                      │
└───────────────────────────────────────────────────────────────────────────────────┘

Wavemon does seem better for comparing the impact of changes than random speedtest data.

EDIT: It says “mode: dormant” on wlan0 maybe that’s something to do with it. I tried ip link set wlan0 mode default and didnt notice any improvement (it changed the value on wavemon). Put it down and up with ip link set wlan0 down but it was in dormant mode when I brought it back up again

EDIT 2: Without any further changes it seems fixed? Wlan0 still reports dormant and the width changed from 80MHz to 20MHz

┌─Interface─────────────────────────────────────────────────────────────────────────┐
│wlan0 - wdev 2, phy 0, reg: IE (DFS-ETSI), SSID: redacted                       │
├─Levels────────────────────────────────────────────────────────────────────────────┤
│                                                                                   │
│link quality: 67%  (47/70)                                                         │
│=======================================================                            │
│                                                                                   │
│                                                                                   │
│signal level: -63 dBm (0.50 nW)                                                    │
│==================================                                                 │
│                                                                                   │
├─Packet Counts─────────────────────────────────────────────────────────────────────┤
│RX: 670k (928.46 MiB), drop: 41 (0.01%)                                            │
│TX: 269k (244.31 MiB), retries: 728 (0.27%)                                        │
├─Info──────────────────────────────────────────────────────────────────────────────┤
│mode: Managed, connected to: redacted, time: 4:07m, inactive: 0ms         │
│freq: 2412 MHz, channel: 1 (width: 20 MHz), bands: 2                               │
│beacons: 2632, avg sig: -65 dBm, interval: 0.1s, DTIM: 1                           │
│rx rate: 72.2 MBit/s MCS 7 short GI                                                │
│tx rate: 144.4 MBit/s MCS 15 short GI                                              │
│tx power: 22 dBm (158.49 mW), power save: off                                      │
│retry short/long: 7/4, rts/cts: off, frag: off                                     │
├─Network───────────────────────────────────────────────────────────────────────────┤
│wlan0 #3 (UP RUNNING BROADCAST MULTICAST)                                          │
│mode: dormant, qdisc: noqueue, qlen: 1000                                          │
│mac: redacted                                                             │
│ip4: redacted, valid: 2d 23h                                                │
│ip6: redacted, valid: 59:30m                      │
└───────────────────────────────────────────────────────────────────────────────────┘