xieyaxiongfly / Atheros-CSI-Tool-UserSpace-APP

The user-space applications for our Atheros-CSI-Extraction-TOOL
56 stars 62 forks source link

Collect CSI from UDP broadcast #37

Open mzakharocsc opened 7 years ago

mzakharocsc commented 7 years ago

Hello, Is it possible to receive CSI from UDP brodacast using this tool?

We have AP and client receive CSI working using ICMP pings. However, if we have client receive UDP broadcast packet coming from AP, we receive data on client via tcpdump, however no CSI is recorded.

P.S. AP code:

Client code: tcpdump -i wlan0 port 54545 -XX

xieyaxiongfly commented 7 years ago

I think it doesn't work.

From my experience, the Wi-Fi card won't calculate CSI for packets with the destination address not set to itself. Which means the packet you have broadcast is received but CSI is not calculated.

I have implemented a packet injection mechanism for our tool but I only tested on OpenWRT.

All clients (in either client mode or monitor mode) are configured with the same MAC address. The Sender injects packets with that MAC address as destination and all clients will calculate CSI.

lqh929289158 commented 6 years ago

on the website http://pdcc.ntu.edu.sg/wands/Atheros/ You mentioned the Broadcast Mode provided by Kun Qian, but the tutorial link is not available. Would you mind checking it?

jinzhang-unsw commented 5 years ago

The wiki mentions the broadcast mode which associate with AP and change the MAC address. Is it available for Ubuntu version or only for OpenWRT? I try this approach in Ubuntu but cannot record CSI. In details, I change the MAC address and use iwconfig to associate with AP but no CSI is recorded by receiver. Is there any solution? Or the OpenWRT is the only solution currently?