open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.68k stars 627 forks source link

capturing CSI for 2 antenas #401

Closed DusanKvasnicak closed 2 months ago

DusanKvasnicak commented 2 months ago

Dear Professor Jiao,

I am currently using your OpeneWifi implantation of wi-fi chip for my Thesis. Topic of my thesis is to use OpenWifi implementation of wi-fi chip and create program that will show distance and movement of devices. I want to use SpotFi algorithm.

My question is: Is there possibility to capture CSI information from 2 antennas ? SpotFi paper: Paper:SpotFi: Decimeter Level Localization Using WiF

Thank you for your assistance.

JiaoXianjun commented 2 months ago

Yes it is possible. Currently the advised way is capturing dual antenna I/Q samples, and calculate dual antenna CSI based on LTF. https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/iq.md https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/iq_2ant.md

DusanKvasnicak commented 2 months ago

Than you for your quick response. I have one more question: I's there a possibility to capture RSSI information form both antennas separately?

JiaoXianjun commented 2 months ago

You can try to calculate dual antenna rssi based on the dual antenna iq sample. (considering you know/set the manual gain of the two ad9361 channels)

DusanKvasnicak commented 2 months ago

Thanks for your quick response and informations