radiotap / radiotap-library Goto Github PK
View Code? Open in Web Editor NEWradiotap parser C library
License: ISC License
radiotap parser C library
License: ISC License
The Parser is lacking fields which were only recently added to the spec, like tlv and eht.
Hi All,
I am planning to create a ieee 802.11 packet RadioTap parsing code/library. Decoding each and every field.
Meanwhile, before asking [did my homework] of going through source code and found the following.
[1] Compared to Wireshark library, RadioTap header files are NOT updated in radiotap-library.
[2] Also in the function "print_radiotap_namespace" in parse.c, is it User expected to fill in all the details and process the fields further?
[3] What other alternatives do I have in processing radiotap header [write own code using radiotap files as reference] or is there any other library/source code which can help me
Thanks
Hi, I have a question about the meaning of the "accuracy" field in the Radiotap header. It's not clearly explained on the webpage.
For instance, in the timestamp field, the unit is "usec" and the "accuracy" is "22", what's the meaning of such a value 22?
In addition, is there any way to set the accuracy as a nanosecond? E.g. modifying the driver?
On https://github.com/radiotap/radiotap-library/blob/master/radiotap.c#L222, there should be a second 'n' in 'endianess'.
Credit goes to @HairyFotr for finding the typo.
Am i doing something wrong ? : see below
case IEEE80211_RADIOTAP_CHANNEL:
printf("\tchannel frequency: %d\n", (u_int16_t)*iter->this_arg);
break;
I am getting :
channel frequency: 128
radiotap.c: In function ‘ieee80211_radiotap_iterator_init’:
radiotap.c:167:27: warning: taking address of packed member of ‘struct ieee80211_radiotap_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
167 | iterator->_next_bitmap = &radiotap_header->it_present;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
this code is included in openwifi its give me above error
radiotap.c: In function ‘ieee80211_radiotap_iterator_init’:
radiotap.c:167:27: warning: taking address of packed member of ‘struct ieee80211_radiotap_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
167 | iterator->_next_bitmap = &radiotap_header->it_present;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello,
I cannot find any sources online on how to calculate the mcs_index given the IEEE80211_RADIOTAP_MCS
param.
To clarify my issue:
If I want to calculate the bandwidth for example, radiotap.h neatly defines IEEE80211_RADIOTAP_MCS_BW_MASK
So I can just use bandwidth= param & IEEE80211_RADIOTAP_MCS_BW_MASK;
However, there is no such field for the mcs index.
Aka EEE80211_RADIOTAP_MCS_MCS_MASK
What would I have to use for XXX
in this sense
mcs_index= param & XXX;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.