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-11-08 13:23:26 +00:00
2013-08-26 17:38:36 +00:00
2013-09-04 18:42:05 +00:00
2013-10-29 06:37:27 +00:00
2013-10-29 11:17:49 +00:00
2013-10-29 11:17:49 +00:00
2013-12-05 22:38:53 +00:00
2013-08-28 14:49:36 +00:00
2013-10-28 23:34:05 +00:00
2013-10-29 11:17:49 +00:00
2013-10-28 23:34:05 +00:00
2013-07-07 19:47:22 +00:00
2013-12-04 09:48:52 +00:00
2013-11-06 19:18:39 +00:00
2013-05-10 16:41:26 +00:00
2013-09-05 23:14:27 +00:00
2013-10-29 11:17:49 +00:00
2013-06-17 20:11:04 +00:00
2013-11-01 21:21:14 +00:00
2013-10-29 11:17:49 +00:00
2013-08-03 21:24:52 +00:00
2013-08-19 05:48:42 +00:00
2013-11-27 08:39:48 +00:00
2013-05-10 16:41:26 +00:00
2013-12-06 23:12:21 +00:00
2013-10-29 11:17:49 +00:00
2013-06-17 20:11:04 +00:00
2013-07-27 20:47:01 +00:00