freebsd-nq/sys/dev/iwn
Adrian Chadd 0840bbcdf3 Add the bluetooth information structs to the firmware RX statistics message.
It turns out that there's a variant format of the RX statisitcs notification
from the intel firmware.  It's even more whacked - the non-BT variant has
bluetooth fields; apparently some later NICs return even _more_ bluetooth
related fields.

I'll commit the statistics structure changes here - it's a no-op for the
driver.  I'll later teach the driver code to populate a statistics structure
from the received message after reformatting things correctly.

I don't _think_ it's going to fix anything related to sensitivity programming
as the CCK/OFDM (non-11n) fields are in the same place for both formats.
But the HT structure and the general statistics aren't in the same place.

I'll go find some NIC(s) that spit out the other format and when I find one,
I'll go and update the driver to handle things correctly.

Tested:

* Intel 5100 (which returns the legacy, non-BT format)

Obtained from:	Linux iwlwifi
2014-03-01 02:57:22 +00:00
..
if_iwn_chip_cfg.h Fix the Intel 6150 support. 2013-12-28 05:50:53 +00:00
if_iwn_debug.h Reserve a bit for statistics debugging. I'll hopefully use it soon. 2014-02-24 02:13:20 +00:00
if_iwn_devid.h Add support for the Intel Centrino Wireless-N 135 chipset. 2014-01-08 13:59:33 +00:00
if_iwn_ioctl.h Track and expose the latest statistics from the firmware. 2014-02-24 02:37:04 +00:00
if_iwn.c Track and expose the latest statistics from the firmware. 2014-02-24 02:37:04 +00:00
if_iwnreg.h Add the bluetooth information structs to the firmware RX statistics message. 2014-03-01 02:57:22 +00:00
if_iwnvar.h Track and expose the latest statistics from the firmware. 2014-02-24 02:37:04 +00:00