2018-07-30 01:10:09

by Tom Psyborg

[permalink] [raw]
Subject: ath9k_htc: ANI debug with RX errors output

Hi

Doing some throughput tests I've noticed there are many CCK errors which
mainly occur while receiving data. OFDM errors counted are far less in
numbers than CCK ones, also appearing more often while receiving data. When
transmitting data, the amount of these errors is almost insignificant.

debug output:

ANI: ENABLED
ANI RESET: 82
OFDM LEVEL: 0
CCK LEVEL: 0
SPUR UP: 0
SPUR DOWN: 0
OFDM WS-DET ON: 0
OFDM WS-DET OFF: 0
MRC-CCK ON: 0
MRC-CCK OFF: 0
FIR-STEP UP: 485
FIR-STEP DOWN: 487
INV LISTENTIME: 0
OFDM ERRORS: 83944
CCK ERRORS: 1119852

While receiving data at 16Mbps CCK LEVEL was 0, receiving data at
24Mbps CCK LEVEL was 8! Transmitting data at 24Mbps CCK LEVEL was 0, but
receiving at 16Mbps and transmitting at 8Mbps CCK LEVEL was again 8! Does
that mean the remote AP is creating a lot of CCK noise for some reason? It
does run in g-only mode and OFDM levels stayed at 0 during whole time of
data transfers.

How efficient it would be to patch htc driver so it runs in OFDM mode only?