seemoo-lab / mobisys2018_nexmon_channel_state_information_extractor

Example project for extracting channel state information of up to 80 MHz wide 802.11ac Wi-Fi transmissions using the BCM4339 Wi-Fi chip of Nexus 5 smartphones.
Other
98 stars 39 forks source link

How could we know the valid bandwidth in channel state information data? #3

Open lubingxian opened 6 years ago

lubingxian commented 6 years ago

Hi, I found that this tool will always collect 256 complex numbers per frame for 80MHz bandwidth, even when the transmitter is sending packets on 20MHz/40MHz bandwidth. Thus only some of the 256 complex numbers are valid. My questions are how to know which part of the 256 complex numbers is valid and how to know the bandwidth of the transmitter.

matthiasseemoo commented 6 years ago

It would be best to check the bandwidth of the received frame in the ucode and only copy the values that are required. Alternatively, you can check the bandwidth somewhere in the d11rxhdr that prepends every received frame. https://github.com/seemoo-lab/mobisys2018_nexmon_channel_state_information_extractor/blob/master/src/csi_extraction.c#L96

In the end, you can also check which subcarriers of the csi have values close to zero or even zero and only consider the block that differs from zero.

On Wed, Apr 25, 2018 at 9:42 AM, Bingxian Lu notifications@github.com wrote:

Hi, I found that this tool will always collect 256 complex numbers per frame for 80MHz bandwidth, even when the transmitter is sending packets on 20MHz/40MHz bandwidth. Thus only some of the 256 complex numbers are valid. My questions are how to know which part of the 256 complex numbers is valid and how to know the bandwidth of the transmitter.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/mobisys2018_nexmon_channel_state_information_extractor/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7rxrAGS9YPLzbsesH2tX1HY7ZrIXks5tsCjNgaJpZM4Ti7ah .

-- Matthias Schulz Secure Mobile Networking Lab - SEEMOO

Email: matthias.schulz@seemoo.tu-darmstadt.de Web: http://www.seemoo.de/mschulz Phone (new): +49 6151 16-25478 Fax: +49 6151 16-25471

Department of Computer Science Center for Advanced Security Research Darmstadt Technische Universität Darmstadt Mornewegstr. 32 (Office 4.2.10, Building S4/14) D-64293 Darmstadt, Germany