So I've been struggling with this issue for a while now:
I have a raspberry pi with wifi sensors on it and I need them to get the RSSI (signal strength basically) of the wifi-direct signal transmitted by a different AP.
Since these will be used to get distance measurements (between the pi and the AP), I need to get them with a high frequency within one second (or, ideally, I want an average of the RSSI within 100ms or within a second).
I know I can get RSSI using wpa_supplicant's p2p functions, but the frequency there is around 6-12 measurements/second, with a pretty high variance. Does anyone know of any other tool/way that could help? If wpa_supplicant provides 'average measures' that would be great as well.
NOTE: I do not fully understand the math/science behind how the distance/angle will be computed, as I'm only in charge of getting a head start on implementation. It might be that these values are good enough. I might be missing something conceptually. If so, please let me know :).