seemoo-lab / nexmon_csi

Channel State Information Extraction on Various Broadcom Wi-Fi Chips
310 stars 121 forks source link

Tx side code for CSI collection #18

Open quantumhub opened 4 years ago

quantumhub commented 4 years ago

Dear all, thank you for your amazing work! It will be very helpful to have Tx side code for CSI collection.

I followed the instruction on first page but then noticed that it is for receiver side only. I have not yet get any CSI. It seems that it will only extract CSI from some very specific packet based on the instruction description (e.g. makecsiparams -c 157/80 -C 1 -N 1 -m 00:11:22:33:44:55,aa:bb:aa:bb:aa:bb -b 0x88), but not general any packet. (I am not sure if this understanding is correct?).

It is very attractive to get the 4x4 80MHz CSI mentioned in the paper, Free Your CSI: A Channel State Information Extraction Platform For Modern Wi-Fi Chipsets. Could you provide a full demo code (including Tx side code) for Ac86u?

Junye97 commented 4 years ago

Hi there,

I am not sure what you meant by the Tx side and Rx side of things as I am also new to this, but I managed to collect some CSI data using a Raspberry Pi 3B+.

To my understanding, you need to remove the -b parameter in the makecsiparams command as it limits CSI to be collected with packets starting with 0x88. In addition, it seems that nexmon_csi has the wifi card running on monitor mode, thus the device might not be able to connect to any AP. I am not sure how to get CSI with MIMO as raspberry pi only has 1 antenna, but I suppose if your device supports MIMO you should be able to have 4x4 CSI.

Cheers

wyhpolyu2020 commented 4 years ago

Hi there,

I am not sure what you meant by the Tx side and Rx side of things as I am also new to this, but I managed to collect some CSI data using a Raspberry Pi 3B+.

To my understanding, you need to remove the -b parameter in the makecsiparams command as it limits CSI to be collected with packets starting with 0x88. In addition, it seems that nexmon_csi has the wifi card running on monitor mode, thus the device might not be able to connect to any AP. I am not sure how to get CSI with MIMO as raspberry pi only has 1 antenna, but I suppose if your device supports MIMO you should be able to have 4x4 CSI.

Cheers

dear, yes you are right. When I turn on the monitor mode, no AP could be accessed. So, how can I collect the csi data? How can I ping the extractor device using another laptop?