[mc1322x] Access to LQI

Clive Stubbings cstl at xentech.co.uk
Thu Jun 10 12:07:50 EDT 2010


OK,

So is there a way to call that?

Can I just do something like..

.global PhyPlmeGetLQI
.type PhyPlmeGetLQI, %function
.thumb_set PhyPlmeGetLQI, 0x0000e04c
.weak PhyPlmeGetLQI

Or do I need to go look at that rom dissassmbly and work out whats happening?

Cheers
Clive


On Thu, 10 Jun 2010, Mariano Alvira wrote:

> 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