How to find Noise or packet loss of wifi signal by iOS app?

I have calculated signal strength of wifi connection using NSHotspot helper class. I need to find Noise of the same signal so that I can calculate SNR(RSSI  dbm - Noise dbm).  Is there any way to do this?

I need to find Noise of the same signal so that I can calculate SNR(RSSI dbm - Noise dbm). Is there any way to do this?

One way to do this is by observing the system collected logs after installing the Wi-Fi Debug profile here. You will end up with Console logs that look similar to:

default wifid 09:21:28.410502-0500 __WiFiLQAMgrLogStats(dlink:Stationary):
Rssi: -xx {-xx -xx} Snr: xx Cca: 16 TxPer: 0.0% (xxxx) BcnPer: 0.0% (0,
xx.x%) RxFrms: xxxx RxRetryFrames: x TxRate: xxxxxx RxRate: xxxxxx FBRate:
xxxxx TxFwFrms: x TxFwFail: x TxReTrans: xxx time: xxx.xsecs 

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

Hi Matt,

Thanks for your reply.

This approach seems useful for debugging purposes. I followed through your suggestion, it may take 10 mins to produce these values and it requires user interaction to press the volume button.

But my current requirement is to determine these values programmatically. Any suggestions/way for this?

But my current requirement is to determine these values programmatically. Any suggestions/way for this?

On iOS there is no public API to access these values, please open an Enhancement Request.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
How to find Noise or packet loss of wifi signal by iOS app?
 
 
Q