Skip to contentSkip to conversation

avg-signal is weird in ath9k in 3.3.0

ath9k-devel Ben Greear 2 participants 4 messages Mar 20, 2012 – Mar 21, 2012

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I'm testing out some code to get a stations's avg-signal through ethtool-stats, and both it and /proc/net/wireless show ranges bouncing all over (from around -48 to -110) on an interface running heavy traffic.

Are there any known bugs in 3.3.0 related to this?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 5 lines · Ben Greear

I'm testing out some code to get a stations's avg-signal through ethtool-stats, and both it and /proc/net/wireless show ranges bouncing all over (from around -48 to -110) on an interface running heavy traffic.

Are there any known bugs in 3.3.0 related to this?

Same with iw station dump:

[root at lec2010-ath9k-1 lanforge]# iw dev sta1 station dump Station 00:88:99:88:99:01 (on sta1)

	inactive time:	2 ms
	rx bytes:	3646300587
	rx packets:	10768068
	tx bytes:	3444260988
	tx packets:	10706688
	tx retries:	187471399
	tx failed:	2
	signal:  	-47 dBm
	signal avg:	-64 dBm
	tx bitrate:	130.0 MBit/s MCS 15
[root at lec2010-ath9k-1 lanforge]# iw dev sta1 station dump
Station 00:88:99:88:99:01 (on sta1)
	inactive time:	1 ms
	rx bytes:	3655139651
	rx packets:	10775853
	tx bytes:	3452330988
	tx packets:	10714184
	tx retries:	187604280
	tx failed:	2
	signal:  	16 dBm
	signal avg:	-92 dBm
	tx bitrate:	130.0 MBit/s MCS 15

Thanks,
Ben

Quoted 4 lines

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#2 lore raw
In reply to Ben Greear
Quoted 5 lines · Ben Greear

I'm testing out some code to get a stations's avg-signal through ethtool-stats, and both it and /proc/net/wireless show ranges bouncing all over (from around -48 to -110) on an interface running heavy traffic.

Are there any known bugs in 3.3.0 related to this?

As far as I know, this bug has always been there (RSSI values for A-MPDU subframes are invalid, except for the last subframe).
I've sent fixes for this, which will show up in 3.4

- Felix

author
#3 lore raw
Quoted 9 lines · Felix Fietkau
Quoted 5 lines · Ben Greear

I'm testing out some code to get a stations's avg-signal through ethtool-stats, and both it and /proc/net/wireless show ranges bouncing all over (from around -48 to -110) on an interface running heavy traffic.

Are there any known bugs in 3.3.0 related to this?

As far as I know, this bug has always been there (RSSI values for A-MPDU subframes are invalid, except for the last subframe).
I've sent fixes for this, which will show up in 3.4

I found the two patches and they apply cleanly to 3.3.0, and it does appear to fix the problem.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com