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
..
2013-12-05 21:58:02 +00:00
2013-12-06 23:49:16 +00:00
2013-11-23 00:28:18 +00:00
2013-12-04 02:27:52 +00:00
2013-12-05 21:58:02 +00:00
2013-11-29 20:14:26 +00:00
2013-12-02 03:11:25 +00:00
2013-11-11 13:19:55 +00:00
2013-11-28 15:28:51 +00:00
2013-12-05 21:58:02 +00:00
2013-12-05 22:38:53 +00:00