diff options
author | adrian <adrian@FreeBSD.org> | 2013-06-05 00:45:19 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-06-05 00:45:19 +0000 |
commit | ebc6d094af73f47212d1cc4d4335747e7499d55d (patch) | |
tree | b375823d4f13eb76f1dbbd81b5aed6d62fac2474 /contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | f482ea2896a0bdf2e13b3f91f41daa618b6a8b39 (diff) | |
download | FreeBSD-src-ebc6d094af73f47212d1cc4d4335747e7499d55d.zip FreeBSD-src-ebc6d094af73f47212d1cc4d4335747e7499d55d.tar.gz |
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
Diffstat (limited to 'contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions