From: Zhu Yi <yi.zhu@intel.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
Andy Green <andy@warmcat.com>
Subject: Re: iwlwifi injection bug
Date: Tue, 20 May 2008 10:15:28 +0800 [thread overview]
Message-ID: <1211249729.2532.59.camel@debian.sh.intel.com> (raw)
In-Reply-To: <1210945631.6381.11.camel@johannes.berg>
On Fri, 2008-05-16 at 15:47 +0200, Johannes Berg wrote:
> I don't know why you want to disallow sending frames when in monitor
> mode (especially since reportedly it works), but this is not a good
> way
> to go about it:
>
> static int iwl4965_mac_tx(struct ieee80211_hw *hw, struct sk_buff
> *skb)
> {
> struct iwl_priv *priv = hw->priv;
>
> IWL_DEBUG_MAC80211("enter\n");
>
> if (priv->iw_mode == IEEE80211_IF_TYPE_MNTR) {
> IWL_DEBUG_MAC80211("leave - monitor\n");
> return -1;
> }
>
> You see, this will cause mac80211 to resubmit the frame and most
> likely will totally mess up queue handling and various other things.
The monitor mode the driver is using currently is purely a "sniffer". We
will look into other promiscuous mode supported by the firmware to see
if we can enable that.
Thanks,
-yi
next prev parent reply other threads:[~2008-05-20 2:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 13:47 iwlwifi injection bug Johannes Berg
[not found] ` <69e28c910805160812g1c88d796m6133cb36586cc8e8@mail.gmail.com>
2008-05-16 15:30 ` Johannes Berg
2008-05-20 2:15 ` Zhu Yi [this message]
2008-05-20 9:13 ` Johannes Berg
2008-05-20 9:29 ` Zhu Yi
2008-05-20 11:32 ` Stefanik Gábor
2008-05-20 12:38 ` Johannes Berg
2008-05-20 13:14 ` Stefanik Gábor
2008-05-20 13:41 ` Tomas Winkler
2008-05-20 14:16 ` Stefanik Gábor
2008-05-20 14:24 ` Stefanik Gábor
2008-05-20 14:27 ` Johannes Berg
2008-05-20 14:58 ` Stefanik Gábor
2008-05-20 15:18 ` Johannes Berg
2008-05-20 15:39 ` Stefanik Gábor
2008-05-20 16:04 ` 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=1211249729.2532.59.camel@debian.sh.intel.com \
--to=yi.zhu@intel.com \
--cc=andy@warmcat.com \
--cc=johannes@sipsolutions.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.