Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radiotap extpresent #306

Closed

Conversation

andreamerello
Copy link

My atheros dongle dongle actually pushes frames with extended present flags. This requires the parser to, at least, skip the extra present flags in order to continue parsing from the right place.

Incidentally this arose another problem: the radiotap header specifications requires each field to be aligned to the start of the packet, and when there are two present flags bitmap, this is even less obvious. In particular the TSFT ended up to be improperly aligned here.

This patch makes the radiotap parser to take care of both there issues, and fixes wrong shift/mask for extended present flag bit.

Since my editor is kind enough to auto-remove trailing spaces, another trivial patch for this shows up also here..

My atheros dongle dongle actually pushes frames with extended present
flags. This requires the parser to, at least, skip the extra present
flags in order to continue parsing from the right place.

Incidentally this arose another problem: the radiotap header specifications
requires each field to be aligned to the start of the packet, and when
there are two present flags bitmap, this is even less obvious. In particular
the TSFT ended up to be improperly aligned here.

This patch makes the radiotap parser to take care of both there issues, and
fixes wrong shift/mask for extended present flag bit.
@coveralls
Copy link

coveralls commented Oct 17, 2016

Coverage Status

Coverage decreased (-0.01%) to 84.903% when pulling 180d24b on andreamerello:radiotap_extpresent into b6dd802 on kbandla:master.

@obormot
Copy link
Collaborator

obormot commented Dec 30, 2020

addressed in #517
closing

@obormot obormot closed this Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants