-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not read entire length of packets #32
Comments
if i have 1000 frames lets say it doesnt return all the frames captured from asus router e.g at 40 MHz |
CSIKit performs grouping to generate CSI matrices with dimensions of (nRx, nTx, nSub) (Rx=Receiving antennas, Tx=Transmit antennas, Sub=Subcarriers). For instance, if there are 1000 frames in a .pcap file collected from the ASUS RT-AC86U when operating in 4x4 MIMO mode, then each 16 sequential frames will be from a different Tx/Rx pairing. Those sequential frames contain the matrix from each antenna pairing but represent the CSI measurement for the same 802.11 frame. You can confirm this by inspecting the sequence number associated with each frame. Let me know if that matches up and explains your issue. |
Closing this due to inactivity. Feel free to reopen if you wish to continue. 👍 |
Hello! Thank you for your project. It helped me a lot. |
Hi. So the PCAPs you get when using Nexmon contain UDP packets. So when you have a Raspberry Pi with CSI in a PCAP, 600 packets means 600 frames of CSI. This matches the frame count you would observe in the Nexmon MATLAB example. However, when you use a device that has multiple antennas (like the ASUS router), CSIKit and the Nexmon MATLAB example behave differently. Each frame in the Nexmon PCAPs contains a marker to indicate which antenna received it. This means that multiple antennas can receive the same frame. As a result, one frame will show up as several frames in the Nexmon MATLAB example, with the total count being nRx * nTx * nFrames = frameCount. CSIKit automatically assembles this data into matrices, where a single frame will have a Hope this helps, let me know if that clears it up for you. |
Thanks for your reply, I understand the problem. |
Thanks for providing examples of both configurations, this is really helpful. I've got a Nexus 6P sitting here but the battery is absolutely fried. Can you confirm the mapping of Tx/Rx is correct with these .pcap samples? c1n3 should contain data with 1 Tx/2 Rx, and c3n1 should contain data with 2 Tx/1 Rx. And so your issue is with the |
I can make sure the mapping of this data is correct, the data is collected by myself. |
doesnt read entire length of packets of file on broadcom asus router
The text was updated successfully, but these errors were encountered: