Gi-z / CSIKit

Python CSI processing and visualisation tools for Atheros, Intel, Nexmon, ESP32, FeitCSI, and PicoScenes (USRP, etc) formats.
https://Gi-z.github.io/CSIKit/
MIT License
211 stars 52 forks source link

packet loss when read .pcap #61

Open kuku000 opened 1 month ago

kuku000 commented 1 month ago

Thx for your powerful toolkit!!! I encountered a problem: The problem is that I collected 425 packets using a Raspberry Pi. When I opened them with Wireshark, the packet count was 425. It was also 425 when I used MATLAB (provided by Nexmon). However, when extracting the packets using csikit, only 300 packets were extracted. Pictures: image image 1 rx ,1 tx ,80MHz image

Matlab result: image

kuku000 commented 1 month ago

image I find the problem happen here, this part is to drop the same seq_no packets ?

I am confused that why need to do it🤔

output: Frame: seq=41568, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41584, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41600, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41616, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41632, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41648, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41664, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41680, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41696, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=1, core=0, spatial_stream=0 Frame: seq=41712, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41728, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41744, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41760, core=0, spatial_stream=0 Frame: seq=41776, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=1, core=0, spatial_stream=0 Frame: seq=41792, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41808, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41824, core=0, spatial_stream=0 Frame: seq=41824, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41840, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41856, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41872, core=0, spatial_stream=0 Frame: seq=41872, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41920, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41936, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41952, core=0, spatial_stream=0 Frame: seq=41952, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=41984, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=42016, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=42032, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=42048, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=42064, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=42080, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=42096, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 Frame: seq=0, core=0, spatial_stream=0 61

the original len is 84.