Forums - RSSI returned by Qca4020

2 posts / 0 new
Last post
RSSI returned by Qca4020
flexeos
Join Date: 7 Feb 19
Posts: 12
Posted: Wed, 2019-09-11 01:26

Hi

In my application (station  only) to evaluate goodness of connection to AP I would like to monitor RSSI

At this purpouse I use this qapi

qapi_WLAN_Get_Param(DEVICE_ID,
__QAPI_WLAN_PARAM_GROUP_WIRELESS,
__QAPI_WLAN_PARAM_GROUP_WIRELESS_RSSI, &rssi, &rssiLen)

And I noticed that returned value is typically comprised from 5 to 50dBm

How can transcode this to a value more adherent to reality (tipically from -20 to -90 dBm)

 

Thanks

  • Up0
  • Down0
raja_pedada
Profile picture
Join Date: 18 Jun 18
Location: San Jose
Posts: 167
Posted: Wed, 2019-09-11 10:40

You need to add -96 to the reported RSSI to achieve transcoded RSSI in dBm.

Example:
RSSI reading=25 ->  25-96 = -71 dBm 
RSSI reading=64  ->  64-96 = -32 dBm  

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.