linux_old1/drivers/net/wireless/rtl818x/rtl8180
andrea.merello 8084bb0369 rtl818x_pci: add RSSI information for rtl8187SE
This patch makes the driver to report signal strength information
to mac80211 for rtl8187se boards.

It differs from my previous RFT patch:
http://marc.info/?l=linux-wireless&m=140155388332534&w=2
because:
- I have now a working rtl8187se card, so I could serve my RFT by myself. :)
- CCK measurement code has changed a bit, but it does basically the same things.
- OFDM measurement method is changed because the older method reported incorrect
  measures, at least for signals stronger than -40dBm).

CCK measurement seems quite good. OFDM seems less accurate, but this is the
same as the "reference" staging driver dose. I wanted not to change things just
to make measures of _one_ (my) card a bit more close to what _I_ (in my setup)
expected..

IMHO results are still good enough to justify reporting signal in dBm rather than in
"unspecified" units, so this is what this patch actually does.

Results of my tests with a working rtl8187se card connected with coaxes and
various RF attenuators to my AP are:

Input (approx) | CCK meas | OFDM meas
--------------------------------------
      -30dBm   |  -32dBm  |  -31dBm
      -40dBm   |  -40dBm  |  -41dBm
      -50dBm   |  -50dBm  |  -55dBm
      -60dBm   |  -59dBm  |  -63dBm
      -70dBm   |  -69dBm  |  -73dBm
      -80dBm   |  -79dBm  |  -83dBm

Also some real-field tests has been done (no coax, packets in the air) for the CCK
measure method, and they resulted in reasonable values.

Thanks-to: Bernhard Schiffner <bernhard@schiffner-limbach.de> [ for real-field tests]
Signed-off-by: andrea.merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-09-26 17:06:51 -04:00
..
Makefile rtl8180: change module name in rtl818x_pci 2014-04-22 15:06:27 -04:00
dev.c rtl818x_pci: add RSSI information for rtl8187SE 2014-09-26 17:06:51 -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
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 rtl818x_pci: handle broken PIO mapping 2014-07-01 14:26:27 -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