From: Roberto Riggio <roberto.riggio-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org>
To: Johannes Berg <johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>
Cc: Bill Stafford <bill.stafford-BUHhN+a2lJ4@public.gmane.org>,
radiotap-qavaossjCcEdnm+yROfE0A@public.gmane.org
Subject: Re: Sample parser for radiotap header
Date: Wed, 02 Mar 2011 09:42:46 +0100 [thread overview]
Message-ID: <4D6E0306.1020307@create-net.org> (raw)
In-Reply-To: <1299054063.4076.2.camel-8upI4CBIZJIJvtFkdXX2HixXY32XiHfO@public.gmane.org>
Il 02/03/2011 09:21, Johannes Berg ha scritto:
> You must be doing something wrong then, it is definitely parsing such
> radiotap headers, hopefully correctly. There are examples in the check/
> directory for it, e.g. 00.bin:
> 00000000 00 00 20 00 01 00 00 a0 01 00 00 00 00 00 00 00
> 00000010 11 22 33 44 55 66 77 88 aa bb cc dd ee ff 00 11
>
> is a radiotap header with two TSFT fields. I think you most likely
> forgot to reset the namespace.
Could you elaborate on this? What I'm doing is basically the following:
int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len,
NULL);
the in the while loop i use:
ret = ieee80211_radiotap_iterator_next(&iterator);
and check the value of: iterator.this_arg_index
What do you mean by resetting the namespace?
> johannes
--
--------------------------------------------------------
Roberto Riggio, Ph.D.
CREATE-NET
Network& Security Solutions for Pervasive Computing Systems (iNSPIRE)
Senior Researcher
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: roberto.riggio-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org
Tel: (+39) 0461 408400 - interno/extension 708
Fax: (+39) 0461 421157
www.create-net.org/~rriggio
--------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited according to
the Italian Law 196/2003 of the Legislature. If you received this in
error, please contact the sender and delete the material from any
computer.
Le informazioni contenute in questo messaggio di posta elettronica e nei
file allegati sono da considerarsi strettamente riservate. Il loro
utilizzo e' consentito esclusivamente al destinatario del messaggio, per
le finalita' indicate nel messaggio stesso. Qualora riceveste questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla cancellazione del
messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo,
od utilizzarlo per finalita' diverse, costituisce comportamento
contrario ai principi dettati dal D. Lgs. 196/2003.
next prev parent reply other threads:[~2011-03-02 8:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 9:05 Sample parser for radiotap header Roberto Riggio
[not found] ` <4D64CDBF.8010100-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org>
2011-02-23 9:24 ` Johannes Berg
2011-02-24 6:16 ` Bill Stafford
[not found] ` <408dc500-c062-ede0-c040-d21a120a386c-BUHhN+a2lJ4@public.gmane.org>
2011-02-25 18:36 ` Roberto Riggio
[not found] ` <4D67F6A1.6060301-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org>
2011-03-02 8:21 ` Johannes Berg
[not found] ` <1299054063.4076.2.camel-8upI4CBIZJIJvtFkdXX2HixXY32XiHfO@public.gmane.org>
2011-03-02 8:42 ` Roberto Riggio [this message]
[not found] ` <4D6E0306.1020307-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org>
2011-03-02 8:45 ` Johannes Berg
[not found] ` <4D6E050E.3030807@create-net.org>
[not found] ` <4D6E050E.3030807-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org>
2011-03-02 8:53 ` Johannes Berg
[not found] ` <1299056027.4076.7.camel-8upI4CBIZJIJvtFkdXX2HixXY32XiHfO@public.gmane.org>
2011-03-02 9:01 ` Roberto Riggio
[not found] ` <4D6E0758.3050809-2TmCWn7/4sHOQU1ULcgDhA@public.gmane.org>
2011-03-02 9:03 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D6E0306.1020307@create-net.org \
--to=roberto.riggio-2tmcwn7/4shoqu1ulcgdha@public.gmane.org \
--cc=bill.stafford-BUHhN+a2lJ4@public.gmane.org \
--cc=johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org \
--cc=radiotap-qavaossjCcEdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).