Adrian Chadd 3df7a8ab08 Implement a bit of a hack to store the AR9285/AR9485 RX LNA configuration in
the RX antenna field.

The AR9285/AR9485 use an LNA mixer to determine how to combine the signals
from the two antennas.  This is encoded in the RSSI fields (ctl/ext) for
chain 2.  So, let's use that here.

This maps RX antennas 0->3 to the RX mixer configuration used to
receive a frame.  There's more that can be done but this is good enough
to diagnose if the hardware is doing "odd" things like trying to
receive frames on LNA2 (ie, antenna 2 or "alt" antenna) when there's
only one antenna connected.

Tested:

* AR9285, STA mode
2013-06-05 00:45:19 +00:00
..
2013-05-20 23:52:49 +00:00
2013-05-10 16:41:26 +00:00
2013-04-30 18:29:05 +00:00
2013-04-14 09:55:48 +00:00
2013-05-12 16:43:26 +00:00
2013-05-13 20:03:59 +00:00
2013-04-02 00:57:54 +00:00
2013-05-30 01:22:50 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-06-02 18:10:16 +00:00
2013-02-19 18:22:25 +00:00
2013-04-23 18:30:33 +00:00
2013-04-14 09:55:48 +00:00
2012-11-23 19:20:38 +00:00
2013-04-14 09:55:48 +00:00
2013-05-10 16:41:26 +00:00
2013-04-28 20:55:45 +00:00
2013-03-01 01:42:31 +00:00
2013-05-10 16:41:26 +00:00
2013-05-02 01:36:52 +00:00
2013-02-19 19:25:50 +00:00
2013-04-14 09:55:48 +00:00
2013-06-04 22:32:33 +00:00
2013-05-27 06:24:31 +00:00
2013-05-10 16:41:26 +00:00
2013-02-21 12:40:52 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2013-04-14 09:55:48 +00:00
2013-06-03 22:22:53 +00:00
2012-10-10 08:36:38 +00:00
2013-04-14 09:55:48 +00:00