From: Johannes Berg <johannes@sipsolutions.net>
To: andy@warmcat.com
Cc: linux-wireless@vger.kernel.org, Michael Wu <flamingice@sourmilk.net>
Subject: Re: [PATCH 2/4] mac80211: Add radiotap support for Monitor mode RX
Date: Wed, 21 Mar 2007 19:51:31 +0100 [thread overview]
Message-ID: <1174503091.3944.42.camel@johannes.berg> (raw)
In-Reply-To: <20070320104104.318699229@warmcat.com>
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
> + /* Driver supports radiotap. */
> +#define IEEE80211_HW_RADIOTAP_SUPPORTED (1<<10)
> + if (local->monitors &&
> + local->hw.flags & IEEE80211_HW_RADIOTAP_SUPPORTED) {
> + radiotap_len = ieee80211_get_radiotap_len(skb);
> + skb_pull(skb, radiotap_len);
> + }
I don't think that can work.
1) it needs a lot more documentation on what a driver needs to do for
this (for example that it should only add radiotap headers if a
monitor interface was added)
2) afaik local->monitors is increased even for soft monitor interfaces,
thus this will really fall on its nose when the driver supports
radiotap but not monitor during operation.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2007-03-22 10:04 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 10:39 [PATCH 0/4] Try #5: Radiotap on Monitor Mode interfaces for rx and tx andy
2007-03-20 10:39 ` [PATCH 1/4] mac80211: Coding style cleanups andy
2007-03-21 18:58 ` Johannes Berg
2007-03-29 11:17 ` Andy Green
2007-03-20 10:39 ` [PATCH 2/4] mac80211: Add radiotap support for Monitor mode RX andy
2007-03-21 18:51 ` Johannes Berg [this message]
2007-03-22 23:18 ` Michael Wu
2007-03-23 13:44 ` Johannes Berg
2007-03-20 10:39 ` [PATCH 3/4] mac80211: Monitor mode radiotap injection docs andy
2007-03-21 18:15 ` Johannes Berg
2007-03-29 11:18 ` Andy Green
2007-03-29 11:26 ` Johannes Berg
2007-03-20 10:39 ` [PATCH 4/4] mac80211: Monitor mode radiotap-based packet injection andy
2007-03-21 18:28 ` Johannes Berg
2007-03-29 11:14 ` Andy Green
2007-03-29 11:19 ` Johannes Berg
2007-03-29 11:33 ` Andy Green
2007-03-29 11:48 ` Johannes Berg
2007-03-21 18:10 ` [PATCH 0/4] Try #5: Radiotap on Monitor Mode interfaces for rx and tx Johannes Berg
2007-03-22 22:58 ` Michael Wu
2007-03-23 14:01 ` Johannes Berg
2007-03-23 8:57 ` Andy Green
2007-03-23 13:57 ` Johannes Berg
2007-03-21 18:46 ` Johannes Berg
2007-03-22 23:10 ` Michael Wu
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=1174503091.3944.42.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=andy@warmcat.com \
--cc=flamingice@sourmilk.net \
--cc=linux-wireless@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.