open-sdr / openwifi

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

Does openwifi support stand-alone operation? #161

Closed gxhen closed 2 years ago

gxhen commented 2 years ago

Hi Dr Jiao,

Could you please tell me whether Openwifi supports stand-alone operation? That is, I would like to process CSI using the ARM core onboard instead of transmitting them to a PC with an Ethernet cable. Is it theoretically possible and do I need to heavily modify the driver?

Thanks in advance.

JiaoXianjun commented 2 years ago

Of course openwifi can run stand-alone, just like any other wifi rounter (they don't need screen and pc, they run with power supply and ethernet). openwifi is a full linux computer!

If you read the CSI app note carefully: https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/csi.md you will realize that: the CSI information is collected on board by the userspace program side_ch_ctl.c, and then relay to the external PC.

So, if you want to process CSI on board, you need to read that side_ch_ctl.c and modify it according to your needs to make all necessary processing on board. For example, you can put your processing into side_ch_ctl.c, and remove the CSI relay via UDP to PC in that program.

gxhen commented 2 years ago

Very clear instruction and it sounds indeed doable. Thanks very much for this excellent project.