linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxim Levitsky <maximlevitsky@gmail.com>
To: "Stefanik Gábor" <netrolller.3d@gmail.com>
Cc: linux-wireless@vger.kernel.org, ipw3945-devel@lists.sourceforge.net
Subject: Re: [BUG] Two bugs in monitor mode, iwl3945
Date: Mon, 23 Jun 2008 16:58:01 +0300	[thread overview]
Message-ID: <485FABE9.9000400@gmail.com> (raw)
In-Reply-To: <69e28c910806230553k6c878126s1f8ee15770bada57@mail.gmail.com>

Stefanik G=E1bor wrote:
> On Mon, Jun 23, 2008 at 11:10 AM, Maxim Levitsky
> <maximlevitsky@gmail.com> wrote:
>> I noticed two bugs:
>>
>> 1) Monitor mode hangs the system randomly, and what is interesting t=
hat this
>> bug disappears if I patch the driver with packet injection patch fro=
m G=E1bor
>> Stefanik.
>> I noticed this bug, after I removed his patch to see if it caused so=
me
>> problems.
>> Always reproducible, usually hangs just after airodump launch.
>=20
> Something tries to transmit on the monitor interface, which is
> impossible without the injection patch. However, the method used for
> preventing TX in monitor mode is incorrect (it just drops the packet
> silently, without notifying mac80211, which, in the absence of an ACK=
,
> tries to retransmit the packet - an obvious infinite loop). This is
> what causes the freeze. (Do you have networkmanager running? That
> often tends to interfere with monitor interfaces.)
I have it running, I will test without it.
>=20
>> 2) If I enable monitor mode regardless of injection patch, the scann=
ing
>> results got garbaged,
>> iwlist scan reports > 100 quality on most APs, or 0% quality on my r=
outer,
>> shows extremely low and hi power levels, like
>> -127dBm or 160 dBm, and those levels change rapidly.
>> This why I removed the injection patch, I suspected it, but this bug=
 appears
>> to be not related to it.
>=20
> Does this also happen if you create an extra managed or AP (AP
> requires a patch to mac80211) interface, or is it specific to monitor
> interfaces?
If I create any interface, managed/ibss/monitor nothing bad happens.
But when I turn the mon0 up (ifconfig mon0 up), this happens.

I can't turn on other interfaces (managed/ibss), ifconfig complains tha=
t interface is busy
I think that it isn't allowed to run two managed interfaces in same tim=
e, don't know why.


Best regards,
	Maxim Levitsky
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-06-23 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23  9:10 [BUG] Two bugs in monitor mode, iwl3945 Maxim Levitsky
2008-06-23 12:53 ` Stefanik Gábor
2008-06-23 13:58   ` Maxim Levitsky [this message]
2008-07-09 16:25 ` Maxim Levitsky
2008-07-09 17:04   ` [ipw3945-devel] " Dan Halperin

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=485FABE9.9000400@gmail.com \
    --to=maximlevitsky@gmail.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netrolller.3d@gmail.com \
    /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).