linux/drivers/net/wireless/rtl818x/rtl8180
Andrea Merello 7049327a68 rtl818x_pci: provide dBm signal information for rtl8185
This patch makes the driver report signal information for rtl8185
boards using dBm instead of unspecified unit.
Rtl8180 remains untouched.

I did some tests to confirm the correctness of the measure performed
by the board and it seems reasonably correct.

The test setup has been made by connecting an AP with coax and
RF attenuators to the card antenna port.

In order to get a reference measure I tried with several cards with
different chipset I own. I found that many gave different results, and
I finally selected two cards that gave me consistent results to use
as reference: AR9271 and Prism54-usb (isl3887 with Frisbee radio).

Using this references I compared the RSSI information with my rtl8185
and I repeated tests with three different attenuation values, increasing
attenuation by 10dB each step.
I made only relative measures, making NO assumption about source power.

CCK measures seem very close to my references, OFDM are a little bit
less precise but, considering that these cards are not measuring
instrumentation, IMHO this is still fairly good.

CCK measures (1Mbps beacons)

 ATTENUATOR 1
p54usb:    -58dBm
ath9k_htc: -59dBm
rtl8185:   -59dBm

 ATTENUATOR 2
p54usb:    -67dBm
ath9k_htc: -68dBm
rtl8185:   -70dBm

 ATTENUATOR 3
p54usb:    -78dBm
ath9k_htc: -79dBm
rtl8185:   -79dBm

OFDM measures (54Mbps ping)

 ATTENUATOR 1
p54usb:    -58dBm
ath9k_htc: -57dBm
rtl8185:   -62dBm

 ATTENUATOR 2
p54usb:    -68dBm
rtl8185:   -71dBm

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-06-19 15:49:12 -04:00
..
dev.c rtl818x_pci: provide dBm signal information for rtl8185 2014-06-19 15:49:12 -04:00
grf5101.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
grf5101.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00
Makefile rtl8180: change module name in rtl818x_pci 2014-04-22 15:06:27 -04:00
max2820.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
max2820.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00
rtl8180.h rtl8180: add WMM parameters configuration for rtl8187se 2014-03-27 14:20:09 -04:00
rtl8225.c rtl8180: introduce functions for setting ANAPARAM 2 and 3 params 2014-03-27 14:20:08 -04:00
rtl8225.h
rtl8225se.c rtl8180: add RF code for rtl8225 zebra v4 2014-03-27 14:20:08 -04:00
rtl8225se.h rtl8180: add RF code for rtl8225 zebra v4 2014-03-27 14:20:08 -04:00
sa2400.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
sa2400.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00