ath12k: driver does not show tx bitrate

Owen Mesh. owen.mesh at gmail.com
Wed Mar 20 08:47:56 PDT 2024


Dear Sirs,

I found a small bug in ath12k driver with wcn7850 adapter.
ath12k driver does not show tx bitrate.

Platform:
11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz

System: Linux 6.8.1-060801-generic #202403151937 SMP PREEMPT_DYNAMIC
Fri Mar 15 19:52:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
(Ubuntu 23.10)

wcn7850 adapter output:
iw dev wlp6s0 link
Connected to d4:da:21:a8:06:7e (on wlp6s0)
    SSID: NETGEAR65
    freq: 5805.0
    RX: 146600 bytes (611 packets)
    TX: 8977 bytes (73 packets)
    signal: 0 dBm
    rx bitrate: 6.0 MBit/s
    bss flags: short-slot-time
    dtim period: 1
    beacon int: 100

iw dev wlp6s0 station dump
Station d4:da:21:a8:06:7e (on wlp6s0)
    inactive time:    445 ms
    rx bytes:    175927
    rx packets:    716
    tx bytes:    9573
    tx packets:    79
    tx retries:    0
    tx failed:    0
    beacon loss:    0
    beacon rx:    238
    rx drop misc:    34
    signal:      0 dBm
    beacon signal avg:    -25 dBm
    tx duration:    0 us
    rx bitrate:    6.0 MBit/s
    rx duration:    0 us
    authorized:    yes
    authenticated:    yes
    associated:    yes
    preamble:    long
    WMM/WME:    yes
    MFP:        no
    TDLS peer:    no
    DTIM period:    1
    beacon interval:100
    short slot time:yes
    connected time:    253 seconds
    associated at [boottime]:    309.866s
    associated at:    1710947541025 ms
    current time:    1710947793618 ms



Intel be200 adapter output on the same system:
iw dev wlp5s0f0 link
Connected to d4:da:21:a8:06:7e (on wlp5s0f0)
    SSID: NETGEAR65
    freq: 5805.0
    RX: 97845 bytes (282 packets)
    TX: 10930 bytes (91 packets)
    signal: -27 dBm
    rx bitrate: 6.0 MBit/s
    tx bitrate: 117.0 MBit/s 40MHz HE-MCS 3 HE-NSS 2 HE-GI 2 HE-DCM 0
    bss flags: short-slot-time
    dtim period: 1
    beacon int: 100

iw dev wlp5s0f0 station dump
Station d4:da:21:a8:06:7e (on wlp5s0f0)
    inactive time:    55 ms
    rx bytes:    1721336
    rx packets:    5459
    tx bytes:    7824741
    tx packets:    18298
    tx retries:    413
    tx failed:    0
    beacon loss:    0
    beacon rx:    0
    rx drop misc:    254
    signal:      -38 [-38, -39] dBm
    signal avg:    -36 dBm
    tx bitrate:    573.5 MBit/s 40MHz HE-MCS 11 HE-NSS 2 HE-GI 0 HE-DCM 0
    tx duration:    0 us
    rx bitrate:    573.5 MBit/s 40MHz HE-MCS 11 HE-NSS 2 HE-GI 0 HE-DCM 0
    rx duration:    0 us
    authorized:    yes
    authenticated:    yes
    associated:    yes
    preamble:    long
    WMM/WME:    yes
    MFP:        no
    TDLS peer:    no
    DTIM period:    1
    beacon interval:100
    short slot time:yes
    connected time:    2040 seconds
    associated at [boottime]:    306.733s
    associated at:    1710947537891 ms
    current time:    1710949577462 ms

Regards



More information about the ath12k mailing list