First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

how does wireshark calculate phi and psi angle decode values for beamforming Report

how does wireshark calculate phi and psi angle decode values for the beamforming Report,

updated 2018-03-24 08:33:32 +0000
This post is a wiki. Anyone with karma >750 is welcome to improve it.
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Chances are that whoever coded that feature isn't reading this question, so my best advice would be to get the Wireshark sources and check the code for the part where the angles are calculated. Or the other way would be to look at the comment section at the top of the code telling you who wrote it, so you might be able to make contact directly that way.

Jasper's avatar
24.1k
Jasper
answered 2018-03-25 16:33:42 +0000
edit flag offensive 0 remove flag delete link

Comments

The routine in question is add_ff_vht_compressed_beamforming_report() in epan/dissectors/packet-ieee80211.c. The comments for a tables used in that calculation mention Table 8-53d in the 802.11ac-2013 amendment. That's Table 9-57 in the 802.11-2016 spec (which incorporates the 802.11ac-2013 amendment), so look at section 9.4.1.30 "Compressed Beamforming Report field" in 802.11-2016 to see how a program that processes beamforming reports - whether it's a protocol analyzer like Wireshark or some other type of program - should calculate the angles.

(No, I am not the person who wrote that code, so don't send me e-mail about it. The code doesn't have a comment saying who wrote it, so you'd have to look at the code in the Git repository to figure out who added it.)

Guy Harris's avatar Guy Harris (2018-03-25 18:26:50 +0000) edit

Hi, @Jasper : Thanks for the suggestion, seems to me as the only possible solution.

@Guy Harris : The spec has it, just wanted to reconfirm the same, saw through the code in the GIT, definitely of great help. the function- add_ff_vht_compressed_beamforming_report() points to the decompressed CBF packet,

Thanks, Amit

amitpandit's avatar amitpandit (2018-03-26 04:49:17 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer