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
99 stars 39 forks source link

64d0 #10

Closed zxy110 closed 5 years ago

zxy110 commented 5 years ago

Hi, I'm confused the setting of argument, could you tell me why channel 100 with a bandwidth of 20 MHz is represented by 64d0? Thanks very much.

Jenny Doe

matthiasseemoo commented 5 years ago

It is the chanspec represented as a hexnumber, see https://github.com/seemoo-lab/nexmon/blob/master/patches/include/channels.h and keep the endianess in mind.

Jenny Doe notifications@github.com schrieb am Di., 17. Juli 2018, 08:11:

Hi, I'm confused the setting of argument, could you tell me why channel 100 with a bandwidth of 20 MHz is represented by 64d0? Thanks very much.

Jenny Doe

— 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/10, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7jYIp1X8dQbsmRTdzwVA82IbIT6Yks5uHYAngaJpZM4VSPR0 .

zxy110 commented 5 years ago

Thanks very much.

But I still confused about the setting of bandwidth . I don't know what's the connection of 20MHz with d0 . Do you know how it works ? Thanks a lot .

matthiasseemoo commented 5 years ago

0xc0 = 5 GHz 0x10 = 20 MHz BW 0xc0 or 0x10 = 0xd0

Jenny Doe notifications@github.com schrieb am Fr., 27. Juli 2018, 10:35:

Thanks very much.

But I still confused about the setting of bandwidth . I don't know what's the connection of 20MHz with d0 . Do you know how it works ? Thanks a lot .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/mobisys2018_nexmon_channel_state_information_extractor/issues/10#issuecomment-408351708, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7gXMEo9dCGSec8r3v4ZnviufW0dGks5uKtDPgaJpZM4VSPR0 .

zhgao2020 commented 5 years ago

According to channels.c, 5GHz = 0xc000 20MHz = 0x1000 0xc000 or 0x1000 = 0xd000 Why is it 64d0 instead of d064?