freebsd-nq/sys/dev/iwn
Adrian Chadd 92d7ab9562 Begin fleshing out some code to handle tracking PLCP error rates
in preparation for the scan based retune logic.

The linux iwlwifi driver does a rescan (onto a non-active channel)
to force an RF retune when the PLCP error rates exceed a certain threshold.

* Add code to track HT PLCP rate errors;
* Separate out the PLCP error count fetch and update so the delta
  can be used when checking for PLCP error rates;
* Implement the PLCP error logic from iwlwifi;
* For now, just print out whenever the error rate exceeds the
  threshold.

The actual scan based retune will take a bit more effort; the scan
command code right now assumes that a scan state is passed in.
This does need to change to be more flexible (both for this and
in preparation for scanning multiple channels at once.)

Tested:

* 5100 (STA mode)
* 2200 (STA mode)
* 2230 (STA mode)
2013-12-07 08:03:10 +00:00
..
if_iwn_chip_cfg.h Add some PLCP thresholds from Linux iwlwifi driver in preparation for 2013-12-07 06:45:09 +00:00
if_iwn_debug.h Add a new debug section. 2013-11-26 08:57:25 +00:00
if_iwn_devid.h Add device ids for the Centrino 2x00 devices. 2013-11-04 05:40:19 +00:00
if_iwn.c Begin fleshing out some code to handle tracking PLCP error rates 2013-12-07 08:03:10 +00:00
if_iwnreg.h Overhaul the iwn(4) scan infrastructure to be slightly more "correct" 2013-12-02 03:59:45 +00:00
if_iwnvar.h Begin fleshing out some code to handle tracking PLCP error rates 2013-12-07 08:03:10 +00:00