xieyaxiongfly / Atheros_CSI_tool_OpenWRT_src

GNU General Public License v2.0
114 stars 53 forks source link

Frame after sending data is just 1 #61

Open parthmishra1996 opened 3 years ago

parthmishra1996 commented 3 years ago

Hi,

I am using the tool to get data to be used in some machine learning tasks, for it I need sequential data say CSI information packet by packet. When I send data using the command sudo ./sendData wlan0 b4:ee:b4:b7:08:3c 100 (I do this multiple times) I get a .dat file as an output.

The problem is when I use CSIKit to interpret this data, I get the following information:

Hardware: Atheros 802.11n-compatible
Bandwidth: 40MHz
Antenna Configuration: 2 Rx, 2 Tx
Frame Count: 1
Subcarrier Count: 114
Length: 0.00s
Average Sample Rate: 0.00Hz
CSI Shape: (1, 114, 2, 2)

As you can see the frame count is just 1 whereas it should be more, also in the CSI Shape the first dimension is 1, which I think just represents the frame so there is no sequential information. How do I get the CSI information of each packet, what am I missing?

Please help if you can.

Thanks