[mc1322x] Access to LQI
Mariano Alvira
mar at devl.org
Thu Jun 10 07:39:57 EDT 2010
On Thu, Jun 10, 2010 at 11:44:11AM +0100, Clive Stubbings wrote:
> Hi,
>
> I'm looking to get access to the Rx Link Quality Information. The
> Freescale code seems to have a function MLMELinkQuality() that claims to
> return
>
> DAGC_RSSI = Cal_factor_dB
> - (LNA_min_gain_dB + lna_state*(LNA_max_gain_dB-LNA_min_gain_dB))
> + (IFA_max_gain_dB - 3*ifa_state)
> + rx_dagc_gain_state
>
> That seems quite convoluted, but if it provides an indication of link
> quality/signal strength that will do me fine..
>
> However, all that does is call PhyPlmeGetLQI(). Needless to say
> PhyPlmeGetLQI() seems to be in the MC1322x.a and I've not found any
> documentation on how to access that information.
>
> Has anyone looked at this, or can anyone give me any pointers on how to
> track it down?
It looks like it's in MACPHY.a and it's a ROM call:
0000e04c g F *ABS* 00000000 PhyPlmeGetLQI
-Mar.
More information about the mc1322x
mailing list